Recommended rsync tutorials?

bruce.labitt at autoliv.com bruce.labitt at autoliv.com
Tue Oct 19 15:39:22 EDT 2010


gnhlug-discuss-bounces at mail.gnhlug.org wrote on 10/19/2010 10:17:56 AM:

> Tom Buskey <tom at buskey.name> writes:
> > 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...
> > 
> > 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 at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Thanks for the tip on --dry-run.  I don't understand --one-file-system, 
what does that do?

Bruce

******************************
Neither the footer nor anything else in this E-mail is intended to or constitutes an <br>electronic signature and/or legally binding agreement in the absence of an <br>express statement or Autoliv policy and/or procedure to the contrary.<br>This E-mail and any attachments hereto are Autoliv property and may contain legally <br>privileged, confidential and/or proprietary information.<br>The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way <br>disseminating any material contained within this E-mail without prior written <br>permission from the author. If you receive this E-mail in error, please <br>immediately notify the author and delete this E-mail.  Autoliv disclaims all <br>responsibility and liability for the consequences of any person who fails to <br>abide by the terms herein. <br>
******************************



More information about the gnhlug-discuss mailing list