Recommended rsync tutorials?
Tom Buskey
tom at buskey.name
Tue Oct 19 08:57:05 EDT 2010
On Mon, Oct 18, 2010 at 8:28 PM, Bruce Labitt
<bruce.labitt at 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...
>
> -Bruce
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20101019/478861aa/attachment.html
More information about the gnhlug-discuss
mailing list