Tom Buskey <t...@buskey.name> writes: > On Mon, Oct 18, 2010 at 8:28 PM, Bruce Labitt > <bruce.lab...@myfairpoint.net>wrote: > > > > I'm looking to use rsync on a cron job to do some > > 'backup'. I've read man rsync and a few 'tutorials'. It > > looks not too hard - this worries me. :) > > > > Anyone have a good/favorite tutorial on rsync that talks > > about how to do this over ssh and avoids common pitfalls? > > (like unmounted nfs...) lmgtfy, would not be too helpful. > > Done that, checked out a few of them, looking for something > > relatively understandable... > > Try it manually 1st. Put it into a script that you call in cron. > > You can setup ssh keys so you don't have passwords. > > Usually it's rsync -av source dest:dest-dir > > If you delete files on the source and want them deleted on the dest, use > --delete
And don't forget --dry-run to see what you're going to do before you do it, and --one-file-system to skip over (active) mountpoints. -- "Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))." _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/