As an aside, after you have finished this immediate backup problem, ... you should look into "LVM" (Logical Volume Management). With that, you can add disks (or SSDs) to increase available space without having to move stuff from an old disk to a new (larger) disk.
IIRC from a previous post you made trying to find your Calibre library size breakdown, you're somewhat new at Linux - at least regarding the command line and scripting/programming. What you are probably thinking regarding adding disk space is something like this: You have a 1Gb disk, it's almost full, so you buy a new 2Gb disk. Then you copy the original 1Gb from the old disk to the new disk and thus have an additional 1Gb available on the new disk. The old disk - you'll do something else with after having moved to the new bigger disk.
With LVM, you would created a "logical volume" with your original disk. It would have been 1Gb in size - the size of your original disk. When you started to run low on space, you would have bought a new 2G disk. And you use that to "extend" your original 1Gb logical volume into a 3Gb logical volume (the 1Gb disk plus the 2Gb disk). To the operating system, it just looks like a 3Gb disk - the OS doesn't care that it's really two disks added together. And you can just keep adding more and more disks as time goes on, extending your logical volume. By extending the logical volume in this manner you don't have to move/copy existing data from an old disk to a new disk, the space just "magically" gets bigger. And if you later find that you've added more disks than you really need, you can shrink a logical volume too, and free up a disk that was previously assigned to it - now you have a disk that you can use elsewhere. These "disks" that you are managing can be a mixture of hard disks, SSDs, external disks, flash drives ... whatever Normally you wouldn't want to put a flash drive in there, but you could. Nor would you want to mix SSDs and HDDs, since the speed of the SSD would be drug down to HDD speed - kind of a waste of the main SSD benefit (speed).
If you run into a situation where you need "temporary space", you can use an external disk to temporarily increase your logical volume size. When you're done, you can shrink that logical volume back down and free up your external disk again. It takes hardly any time to increase the size of a logical volume. However, shrinking one and reclaiming a disk that's no longer needed takes a while longer.
Anyway, LVM is something to learn and keep in the back of your mind as you Linux experience grows. It's a very handy way to manage storage in your computer. Just Google "LVM Tutorial" to get started.
|