rsync vs. tar

From: George Young (gee_arr_why_at_ll.mit.edu)
Date: 01/30/04


Date: Fri, 30 Jan 2004 14:43:36 -0500


[SuSE x86 Linux 8.2, 2.4.24 kernel]
I've just recently tried using rsync for mirroring a few files
(/var/spool/cron/tabs/*) from one machine to another. I'm curious
about what people use tar for versus rsync. Rsync seems to
have a lot of similar functionality. What kinds of things would
you use rsync in preference to tar, and vice versa?

-- 
George Young
gee arr why@ll.mit.edu
[three letter username]


Relevant Pages

  • Re: Question about Backing up with tar
    ... I suggest rsync instead of tar. ... Rsync has a highly efficient algorithm that copies only changed data, ...
    (Fedora)
  • Re: Changing /var size, or location
    ... Other ways to do the transfer would be 'tar' or 'rsync'. ... you can verify the tarball against the original ... and then verify destination against the tarball. ...
    (linux.redhat)
  • Re: How to copy a Fedora-4 system? Again!
    ... You will have to exclude some directories, eg /proc, if you do this; ... I didn't try tar on this occasion. ... I used rsync simply because it is easier to exclude directories with this, ...
    (Fedora)
  • Re: backup sync
    ... houghi writes: ... Care should be taken to avoid using tar on /dev and other special ... wants to have all files on both disks. ... rsync has the huge advantage that it only sends changes in the file over ...
    (alt.os.linux.suse)
  • Re: What backup method(s) do you use?
    ... An in-house Perl script that uses rsync over ssh along with hardlinking to ... of data net. ... allows tar, smb, or rsync to be used for the transfers, compresses ... web interface for browsing backups and doing restores. ...
    (Fedora)