Become A System Rescue Guru With Linux, Part 2
we learned how to rescue a failing hard drive by copying files to a second local hard drive. You can also copy files over the network, which is useful for nearly any problem, whether it's software or hardware. You need a second PC running sshd
. Suppose the second PC is named filestore
. Boot SystemRescueCD on the sick computer, then use the scp
command to copy your important files:
% scp -pr /home alrac@filestore:rescuedfiles/
preserves modification times, access times, and modes. This only makes sense on Linux filesystems. -r
, or copy all the contents of a directory.