sorry, it seems it wasn`t my day yesterday - i accidentally (i really wonder why!) interpreted /tmp/test1 and /tmp/backup_test as params for --exclude-if-present and wondered about - but these aren`t just related to --exclude-if-present and being the ordinary src and dst dir params - so all is fine and i`m feeling like an idiot now... :(
seems i`m getting old..... :) > -----Ursprüngliche Nachricht----- > Von: Jeff Strunk <[EMAIL PROTECTED]> > Gesendet: 18.03.07 04:49:31 > An: [EMAIL PROTECTED] > CC: [EMAIL PROTECTED], [email protected] > Betreff: Re: [rdiff-backup-users] PATCH: Exclude if present > .NOBACKUP is a regular file that users can put into directories that they > don't need to get backed up. You could also tell users to rena,e their > directories a specific way, but that could cause some trouble with how they > work. > > Thanks, > Jeff > > On Saturday 17 March 2007 5:02 am, [EMAIL PROTECTED] wrote: > > why should we need to specify the directories as additional params? > > > > wouldn`t it be enough to put that .NOBACKUP into specific dirs, tell > > rdiff-backup to watch out for those - and that`s it? > > > > this looks quite similar for something i always used with EMC/Legato > > Networker (.nsr directive) > > > > regards > > roland > > > > > -----Ursprüngliche Nachricht----- > > > Von: Jeff Strunk <[EMAIL PROTECTED]> > > > Gesendet: 17.03.07 01:43:25 > > > An: [EMAIL PROTECTED] > > > CC: [email protected] > > > Betreff: Re: [rdiff-backup-users] PATCH: Exclude if present > > > > > > > > > I just checked to make sure, but your example only excludes files > > > named .NOBACKUP . --exclude-if-present excludes the entire directory. > > > > > > Example: > > > $ ls -a test1 > > > . .. file1 test2 test4 > > > $ ls -a test1/test2 > > > . .. file1 .NOBACKUP test3 > > > $ /tmp/bin/rdiff-backup --exclude /**/.NOBACKUP /tmp/test1 > > > /tmp/backup_test $ ls -a backup_test > > > . .. file1 rdiff-backup-data test2 test4 > > > $ ls -a backup_test/test2/ > > > . .. file1 test3 > > > $ /tmp/bin/rdiff-backup --exclude-if-present .NOBACKUP /tmp/test1 > > > /tmp/backup_test2 $ ls -a backup_test2 > > > . .. file1 rdiff-backup-data test4 > > > > > > -Jeff > > > > > > On Friday 16 March 2007 6:20 pm, [EMAIL PROTECTED] wrote: > > > > How similar to this is rdiff-backup --exclude /**/.NOBACKUP ? > > > > > > > > -Eric > > > > > > > > On Thu, 15 Mar 2007, dean gaudet wrote: > > > > > excellent, i've wanted this feature... i'll apply it next time i'm > > > > > running through patches. any chance you could do a 1.1.x port as > > > > > well? > > > > > > > > > > thanks > > > > > -dean > > > > > > > > > > On Thu, 15 Mar 2007, Jeff Strunk wrote: > > > > >> I have a small contribution to make in the form of a simple > > > > >> selection function. > > > > >> > > > > >> My company has found that we needed a way for users to say that > > > > >> particular directories shouldn't get backed up. The attached patch > > > > >> adds the --exclude-if-present option. It has been tested with 1.0.4 > > > > >> and 1.0.5. > > > > >> > > > > >> I documented it on the wiki at > > > > >> http://wiki.rdiff-backup.org/wiki/index.php/ExcludeIfPresent . > > > > >> > > > > >> Thanks, > > > > >> Jeff Strunk > > > > >> IT Administrator > > > > >> Enthought, Inc. > > > > > > > > > > _______________________________________________ > > > > > rdiff-backup-users mailing list at [email protected] > > > > > http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users > > > > > Wiki URL: > > > > > http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki > > > > > > _______________________________________________ > > > rdiff-backup-users mailing list at [email protected] > > > http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users > > > Wiki URL: > > > http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki > > > > _______________________________________________________________________ > > Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos. > > Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222 > _______________________________________________________________________ Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos. Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222 _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
