Re: -x option inoperative with bind mounts

2005-05-19 Thread Wayne Davison
On Thu, May 19, 2005 at 07:59:25AM +0200, Louis-David Mitterrand wrote: If the need to exclude all mounts has come to the point of writing such a script, maybe a new option should be added to rsync? -X ? (like a big serious X :-) As mentioned in the script, the newest rsync supports

-x option inoperative with bind mounts

2005-05-18 Thread Louis-David Mitterrand
Hello, I have this mount defined in /etc/fstab: /backup/current/usr/local/share/premier /var/www/g5/trunk/Naxos none bind,ro When I backup /var with rsync using (among other) the -x option (one filesystem) then the whole contents of /backup/current/usr/local/share/premier are also backed up as

Re: -x option inoperative with bind mounts

2005-05-18 Thread Paul Slootman
On Wed 18 May 2005, Louis-David Mitterrand wrote: I have this mount defined in /etc/fstab: /backup/current/usr/local/share/premier /var/www/g5/trunk/Naxos none bind,ro When I backup /var with rsync using (among other) the -x option (one filesystem) then the whole contents of

Re: -x option inoperative with bind mounts

2005-05-18 Thread Louis-David Mitterrand
On Wed, May 18, 2005 at 07:27:30PM +0200, Paul Slootman wrote: On Wed 18 May 2005, Louis-David Mitterrand wrote: I have this mount defined in /etc/fstab: /backup/current/usr/local/share/premier /var/www/g5/trunk/Naxos none bind,ro When I backup /var with rsync using (among other)

Re: -x option inoperative with bind mounts

2005-05-18 Thread Wayne Davison
On Wed, May 18, 2005 at 07:33:21PM +0200, Louis-David Mitterrand wrote: Thanks for the clear explanation. I'll use excludes. Look in the support directory for the script mnt-excl for one way to exclude mounts (and read the comments for a second way):

Re: -x option inoperative with bind mounts

2005-05-18 Thread Louis-David Mitterrand
On Wed, May 18, 2005 at 04:43:27PM -0700, Wayne Davison wrote: On Wed, May 18, 2005 at 07:33:21PM +0200, Louis-David Mitterrand wrote: Thanks for the clear explanation. I'll use excludes. Look in the support directory for the script mnt-excl for one way to exclude mounts (and read the