The Wednesday 2004-03-17 at 17:20 +0200, Hylton Conacher (ZR1HPC) wrote:
as root # cd /home # tar cSpf - . | (cd /home2 ; tar xvSpf - )
This will give you the same permissions and directory structure within /home2 as exists in /home. You get the idea. Tnx David for the info on that, however, there is one thing I have learnt over the years with backups and that is to never put them into a compressed file, an archive file as to get back at that data you then need to decompress and invariably have the same disk space you had on the original master drive.
No I only do a copy of the files and the directories. That way if I need a specific document before I get the master HDD up, I can get to it without having extra hassle.
Think again. The above command line does not create a tar archive. Notice there is a pipe, with a tar command on one side of it, and another at the other side... I will not explain the details. -- Cheers, Carlos Robinson