[Discuss] How do you backup "/" with rsync?
John Blomfield
jabfield at shaw.ca
Sat Nov 10 16:45:07 PST 2007
Alan W. Irwin wrote:
>
> rsync -a --delete --exclude=/external_backup --exclude=/dev \
> / /external_backup
>
> However, when I tried that command and several other variations using the
> --dry-run option it always errored out. Thus, I assume I have not
> excluded
> /external_backup (the mount point for the external drive) and /dev
> with the
> correct syntax above. Could somebody help?
>
I think the syntax you need is
rsync -a --delete --exclude=external_backup/***
John Blomfield
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and
> Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state
> implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting
> software
> package (plplot.org); the libLASi project (unifont.org/lasi); the
> Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
>
More information about the Discuss
mailing list