Re: [BackupPC-users] Exclude files issue...
Thanks for the bit of info, i did not know that i will modify and let you know if it works out ok, if so i can keep an extra day or 2 of incrementals! :) Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Les Stott wrote: > Rob Morin wrote: > >> So i have this in a conf file for a certain server, so in this case in >> the file stewy.pl i have >> >> $Conf{RsyncShareName} = >> ['/etc','/var/www/virtual','/var/cache/bind','/var/mail/virtual']; >> >> $Conf{BackupFilesExclude} = ['/var/www/virtual/*/logs', >> '/var/www/virtual/*/backups']; >> >> However it keeps backing the log dirs in /var/www/virtual/domain.com/ >> >> What am i doing wrong? >> >> >> > Excludes are relative to your share names...thus your excludes should > like like this.. > > $Conf{BackupFilesExclude} = ['/*/logs', '/*/backups']; > > You may also want to be specific with excludes per share like below > > $Conf{BackupFilesExclude} = { > > '/var/www/virtual' => ['/*/logs', '/*/backups'], > }; > > That way the exclude only happens for the share you want. > > Regards, > > Les > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/backuppc-users > http://backuppc.sourceforge.net/ > > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Exclude files issue...
Rob Morin wrote: > So i have this in a conf file for a certain server, so in this case in > the file stewy.pl i have > > $Conf{RsyncShareName} = > ['/etc','/var/www/virtual','/var/cache/bind','/var/mail/virtual']; > > $Conf{BackupFilesExclude} = ['/var/www/virtual/*/logs', > '/var/www/virtual/*/backups']; > > However it keeps backing the log dirs in /var/www/virtual/domain.com/ > > What am i doing wrong? > > Excludes are relative to your share names...thus your excludes should like like this.. $Conf{BackupFilesExclude} = ['/*/logs', '/*/backups']; You may also want to be specific with excludes per share like below $Conf{BackupFilesExclude} = { '/var/www/virtual' => ['/*/logs', '/*/backups'], }; That way the exclude only happens for the share you want. Regards, Les - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Exclude files issue...
So i have this in a conf file for a certain server, so in this case in the file stewy.pl i have $Conf{RsyncShareName} = ['/etc','/var/www/virtual','/var/cache/bind','/var/mail/virtual']; $Conf{BackupFilesExclude} = ['/var/www/virtual/*/logs', '/var/www/virtual/*/backups']; However it keeps backing the log dirs in /var/www/virtual/domain.com/ What am i doing wrong? :( Thanks... -- Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/