On Monday 04 August 2008 11:09, Johannes Wiedersich wrote: > On 2008-08-01 22:09, Shachar Or wrote: > > On Friday 01 August 2008 10:15, Johannes Wiedersich wrote: > >> rsync -ax / [EMAIL PROTECTED]:/backup/dir/ > > > > Does the -x option mean that it will not read mounts like /dev, /proc and > > such? > > Please, read man rsync:
Of course I read it... > [snip] > -x, --one-file-system > This tells rsync to avoid crossing a filesystem boundary > when recursing. This does not limit the user’s ability to > specify items to copy from multiple filesystems, just > rsync’s recursion through the hierarchy of each directory that > the user specified, and also the analogous recursion on > the receiving side during deletion. Also keep in mind that > rsync treats a “bind” mount to the same device as being > on the same filesystem. > > If this option is repeated, rsync omits all mount-point > directories from the copy. Otherwise, it includes an empty > directory at each mount-point it encounters (using > the attributes of the mounted directory because those of the > underlying mount-point directory are inaccessible). > > If rsync has been told to collapse symlinks (via > --copy-links or --copy-unsafe-links), a symlink to a directory on > another device is treated like a mount-point. Symlinks > to non-directories are unaffected by this option. > > > Johannes -- Shachar Or | שחר אור http://ox.freeallweb.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]