Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

rsync followup - what did I run?



On 09/27/2009 10:41 PM, Scott Ehrlich wrote:
> Many people have wondered what my rsync syntax was -
>
> [as root]: rsync -av /path/to/source me at remote-host:/path/to/dest
>
>
> I'll be adjusting it to adapt to perform incrementals, probably with --=
update.
>
> So, just need to learn why some of the .dotfiles, and other unknown
> files (unless I ran a diff) didn't successfully copy over.
>
>  =20
I've been running rsync for years and have never seen it fail to copy
files. I generally pull files from the remote host.
I am using rsync at home and on the WD MyBook device at work with an
rsync command.
This is the command rsnapshot uses at home. Work is nearly identical
except that I have more exclusions.
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
      --exclude=3Dcache --exclude=3DCache --exclude lock \
      /usr/local /.snapshots/hourly.0/localhost/

I checked in my home directories on the backup sets and all the
dot-files appear to be present. My former backup script used
/usr/bin/rsync -auz --delete --delete-excluded \
      --exclude=3D[Cc]ache --exclude lock \
      /home /media/USB255/backup

The above were executed from either root or sudo. The only time I can
recall not transferring files was when backing up my wife's Windows
system and some files would not transfer because of permission issues.


--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org