Copy all local filesystems, but ignore NFS mounts?

2005-08-02 Thread Dan Stromberg
What's the easiest way, with rsync, to back up all local filesystems to another host, ignoring anything on an NFS volume. For example, is there a way of giving a list of mount points but still have --one-file-system work? Thanks! -- To unsubscribe or change options: https://lists.samba.org/ma

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Keith Warno
* <[EMAIL PROTECTED]> [02/08/2005 2008EDT]: > > What's the easiest way, with rsync, to back up all local filesystems to > another host, ignoring anything on an NFS volume. > > For example, is there a way of giving a list of mount points but still > have --one-file-system work? I don't think this

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Dan Stromberg
On Wed, 03 Aug 2005 14:15:36 -0400, Keith Warno wrote: > * <[EMAIL PROTECTED]> [02/08/2005 2008EDT]: >> >> What's the easiest way, with rsync, to back up all local filesystems to >> another host, ignoring anything on an NFS volume. >> >> For example, is there a way of giving a list of mount poin

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Keith Warno
* <[EMAIL PROTECTED]> [03/08/2005 1531EDT]: > On Wed, 03 Aug 2005 14:15:36 -0400, Keith Warno wrote: > > > * <[EMAIL PROTECTED]> [02/08/2005 2008EDT]: > >> > >> What's the easiest way, with rsync, to back up all local filesystems to > >> another host, ignoring anything on an NFS volume. > >> > >

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Dan Stromberg
On Wed, 03 Aug 2005 16:30:28 -0400, Keith Warno wrote: > * <[EMAIL PROTECTED]> [03/08/2005 1531EDT]: >> On Wed, 03 Aug 2005 14:15:36 -0400, Keith Warno wrote: >> >> > * <[EMAIL PROTECTED]> [02/08/2005 2008EDT]: >> >> >> >> What's the easiest way, with rsync, to back up all local filesystems to >

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Wayne Davison
On Wed, Aug 03, 2005 at 03:27:13PM -0700, Dan Stromberg wrote: > skipping directory /. You didn't specify -r, so it's skipping all directories. See also -a. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~e

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Dan Stromberg
On Wed, 03 Aug 2005 15:53:06 -0700, Wayne Davison wrote: > On Wed, Aug 03, 2005 at 03:27:13PM -0700, Dan Stromberg wrote: >> skipping directory /. > > You didn't specify -r, so it's skipping all directories. See also -a. Doh! I know better than that. Dumb mistake. Thanks for the clear, patie

Re: Copy all local filesystems, but ignore NFS mounts?

2005-08-03 Thread Wayne Davison
On Wed, Aug 03, 2005 at 03:27:13PM -0700, Dan Stromberg wrote: > rsync --one-file-system --rsh=ssh / /var/ /var/run/ /tmp/ > /export/home/ /spare/ /opt/ [...] Also, don't forget --relative (-R), or all the conents of those dirs will end up mixed together in the same destination dir. ..wayne.. --