Re: excludes

2004-03-01 Thread tim
I have tweaked the excludes file after tests comparing the original with the backup. This excludes file is specifically targeted for older rsync versions as noted. rgds, tim. # whole system rsync excludes # rsync version 2.5.4 protocol version 26, linux 2.2.x, 2.4.x # includes before excludes #

Re: excludes

2004-02-05 Thread tim
jw schultz wrote: On Wed, Feb 04, 2004 at 04:33:20PM -0800, tim wrote: >>... files, and caches. The problem is getting rsync to include the directory name but exclude its contents, a condition not clearly covered in rsync(1), EXCLUDE PATTERNS. That isn't difficult nor do i find it to be poorly e

Re: excludes

2004-02-04 Thread Wayne Davison
On Wed, Feb 04, 2004 at 04:33:20PM -0800, tim wrote: > - **/tmp/** Keep in mind that a leading "**/" will work as expected in 2.6.0 and beyond, but in earlier versions it would not match /tmp/**. If you need to be compatible with older versions, add an extra pattern: - **/tmp/* - /tmp/* ..wayne

Re: excludes

2004-02-04 Thread jw schultz
On Wed, Feb 04, 2004 at 04:33:20PM -0800, tim wrote: > > > Kevin Moschallski wrote: > >Hi i tried to use rsync to backup my remote server.I want to exclude > >folder like /var /proc ... .I use --exlude-from=/etc/rsync/excludes > >the file looks like this: > > > >- */var/* > >- */proc/* > > > >etc

Re: excludes

2004-02-04 Thread tim
Kevin Moschallski wrote: Hi i tried to use rsync to backup my remote server.I want to exclude folder like /var /proc ... .I use --exlude-from=/etc/rsync/excludes the file looks like this: - */var/* - */proc/* etc. My problem is that i run vservers on this machine and i don't want that the folder

RE: Excludes not working

2002-03-22 Thread Brashers, Bart -- MFG, Inc.
> > I've tried all possible combinations > > of leading and trailing slashes, stars, etc, found in the man page: > > > > /mnt/pc/machine/D/Music > > /mnt/pc/machine/D/Music/ > > /mnt/pc/machine/D/Music/* > > /mnt/pc/machine/D/Music/** > > mnt/pc/machine/D/Music > > mnt/pc/machine/D/Music/

Re: Excludes not working

2002-03-21 Thread Dave Dykstra
On Tue, Mar 19, 2002 at 10:51:18AM -0700, Brashers, Bart -- MFG, Inc. wrote: > I'm a relative newbie to rsync, I use it to backup (mirror) a bunch of > Windows boxes. I mount them using samba (to avoid having to install the > cygwin version on each box) then run (using rsync 2.5.2 run from cront

Re: Excludes not working

2002-03-19 Thread Mike Rubel
Bart Brashers wrote: > ... I mount them using samba (to avoid having to install the > cygwin version on each box) then run (using rsync 2.5.2 run from crontab) > > rsync -vuaz --delete-excluded --exclude-from=/root/bin/rsync.exclude \ >--modify-window=2 /mnt/pc/machine/share /backup/machine

Re: Excludes in /etc/rsyncd.conf

2001-11-01 Thread tim . conway
o call me Tim?" Scott Russell <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/01/2001 06:18 AM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:Re: Excludes in /etc/rsyncd.conf Classification: On Wed, Oct 31,

Re: Excludes in /etc/rsyncd.conf

2001-11-01 Thread Scott Russell
On Wed, Oct 31, 2001 at 01:38:15PM -0800, Jason Helfman wrote: > Thought that you are able to add a simple > > - > + > > with paths or file names at the bottom of a file and run an rsync and > those are then recognized inclusions or exclusions from the > synchronization You can do this but keep