Linked by Eugenia Loli on Sat 8th Jul 2006 04:54 UTC
General Unix Copying a live file system can be risky, especially if there are open files. You should also be careful to ensure that you don't accidentally overwrite a partition, or existing files, with the files you are trying to copy. With some careful thought, you can effectively migrate files reliably to take advantage of more space, even on a live system.
Thread beginning with comment 141366
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: The Correct Answer Was...
by g2devi on Sun 9th Jul 2006 00:14 UTC in reply to "The Correct Answer Was..."
g2devi
Member since:
2005-07-09

Another alternative is rsync. It handles hard links and special files and allows you do do incremental backups so you don't have to copy files you've already copied (saving a great deal of time and cpu cycles) and provides an error log of all files that it couldn't copy properly because they were being written to at the time of the copy. I use it on my own system to maintain a mirror system so I can boot off it if ever my main system goes south (it's rare but has happened in the last 5 years). It works without a hitch.
:
http://www.mikerubel.org/computers/rsync_snapshots/

Reply Parent Score: 1