I cannot figure out where I am going wrong with my excluded files syntax! rsync backups up those folders I'm trying to exclude. rsync -av --exclude-from=/etc/rsync_excluded.conf --delete root@polaris::polhome /pol_home_bkup cat /etc/rsync_excluded.conf - /home/agokhale - /home/anand - /home/asalazar etc. These are all top level folders with the same names. On the rsync server rsyncd.conf: [snip] [polhome] path = /home I'm stumped! -- Rahul
On Wed 10 Jun 2009, Rahul Nabar wrote:> I cannot figure out where I am going wrong with my excluded files > syntax! rsync backups up those folders I'm trying to exclude. > > rsync -av --exclude-from=/etc/rsync_excluded.conf --delete > root@polaris::polhome /pol_home_bkup > > > cat /etc/rsync_excluded.conf > - /home/agokhale > - /home/anand > - /home/asalazar > etc. > > These are all top level folders with the same names. > > On the rsync server rsyncd.conf: > [snip] > [polhome] > path = /homeThe excludes are always relative to the transfer root. Hence remove the /home part (leaving /agokhale, /anand, etc) Paul
On Wed, Jun 10, 2009 at 10:56 AM, Paul Slootman<paul+rsync@wurtel.net> wrote:> > The excludes are always relative to the transfer root. Hence remove the > /home part (leaving /agokhale, /anand, etc)Ah! Thanks Paul! Makes sense now. -- Rahul
Maybe Matching Threads
- Getting rsync to store timing information in its logs
- rsync mirror solution: how to prevent accidental mirror deletion
- rsync exclude files based on filesize
- which server to make client and which the server for rsync.
- rsync --daemon. Can I open more than one instances?