[GRLUG] rsync help

Adam Tauno Williams awilliam at whitemice.org
Mon Feb 28 05:35:33 EST 2011


On Mon, 2011-02-28 at 00:51 -0500, Adam M. Erickson wrote; 
> On Sun, Feb 27, 2011 at 4:30 PM, John-Thomas Richards
> <jtr at jrichards.org> wrote:
>         I use:
>         rsync -avzpl -e ssh --delete /home/dir_to_backup/ /new/d 
> -a is the switch for archive mode it is the same as -rlptgoD according
> to the manual
> shouldn't you be able to shorten yours to
> # rsync -avz -e ssh --delete /home/dir_to_backup/ /new/dir
> and get the same results?

+1

The -a / --archive is probably the only option you want [possibly
besides -v / --verbose].  If you are on a local network or using a
locally connected device the -z / --compress option will probably only
make things slower; or if you are using a modern version of SSH for the
underlying transport [ modern SSH supports compression on its own, so
avoid doing the pointless double squeeze ].


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list