You don't say if you are currently using iCloud Photos. If you are, then all the pictures in your Library are already at iCloud.com-- you should go there and check.
Photos has to be running with the Library in order for it to synchronize your Library with iCloud, so if it doesn't keep going long enough, then your only hope is to connect another drive to the Mac and drag the Photos Library to the new drive, as you've said.
When you open the newly moved Library in Photos, you may need to designate it as your System Library at Photos' Settings>General.
Beware: Using a Photos Library from an external drive on a mobile device like a MacAir, plugging and unplugging the drive while Photos does its background work, might cause problems-- the Mac may not want you to disconnect for some time. If you use iCloud Photos, there may be syncing issues. You might need to actually shut down the Mac before unplugging. I don't know that we've seen database corruption from this, but I'd be careful…