Re: Copying one's home directory to an external hard disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robin Laing wrote:
> 
> I will vote against tar.
> 
> I used it for a backup some time ago and just this past weekend, I had
> to recover 4 files.  Due to the size of the tar file, it took ages.  I
> am talking hours.
> 
> With the cost of drives today, I would just use cp -a.  I have not used
> rsync so I cannot comment on that.
> 
For copying things like your home directory to another drive, tar
works fairly well - you do not save it to a file. Instead you pipe
the output of one tar command to a second one.

tar cvf - --directory=<source> . | tar xvf - --directory=<destination>

But other methods also work. I like using rsync myself.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux