[rsync] include-from with different source points

2009-06-29 Thread GravyFace
Trying to automate backup of the following local mounts/directories to a usb drive (/mnt/usbbackup); here's what's in my include file: + /home/gravyface/www/* + /mnt/datadisk1/music/* + /mnt/datadisk2/projects/* If I run the following, nothing happens, so I checked the man and I'm not specifying

Re: [rsync] include-from with different source points

2009-06-29 Thread Paul Slootman
On Mon 29 Jun 2009, GravyFace wrote: > > I then tried the following, thinking "/" would be a common denominator > in the paths in my include list: > sudo rsync --progress -avz --include-from=/home/gravyface/backup.list > / /mnt/usbbackup/localbackup/ > > ...which then starts backing up the root p

Re: [rsync] include-from with different source points

2009-06-29 Thread GravyFace
On Mon, Jun 29, 2009 at 9:56 AM, Paul Slootman wrote: > The point you need to see is that everything is included by default, so > specifying only include rules won't change anything. You also need to > exclude the rest. The FILTER RULES section explains it pretty well, > although you may need to g

Re: [rsync] include-from with different source points

2009-06-30 Thread Wayne Davison
On Mon, Jun 29, 2009 at 09:43:02AM -0400, GravyFace wrote: > sudo rsync --progress -avz --include-from=/home/gravyface/backup.list > / /mnt/usbbackup/localbackup/ If you drop the '*'s from the lines in the file and switch to using --files-from, that should do what you were expecting. You still ne