> -----Original Message----- > From: Bowie Bailey [mailto:bowie_bai...@buc.com] > Sent: den 7 april 2017 15:17 > To: backuppc-users@lists.sourceforge.net > Subject: Re: [BackupPC-users] Excluding folders from backup > > >> If you set RsyncShareName to /home/sorin you need to define a key > >> /home/sorin for BackupFilesExclude and add /Videos and /ownCloud to this > >> key > >> > >> It should look like this in your config file: > >> $Conf{RsyncShareName} = [ > >> '/home/sorin' > >> ]; > >> $Conf{BackupFilesExclude} = { > >> '/home/sorin' => [ > >> '/Videos', > >> '/ownCloud' > >> ] > >> }; > > > > This is how my config file looks like: > > > > $Conf{BackupFilesExclude} = { > > '/home/sorin/ownCloud' => [], > > '/home/sorin/Videos' => [] > > }; > > $Conf{RsyncShareName} = [ > > '/home/sorin', > > ]; > > > > > > Doh! Now I get it! Thank you! > > You first have to add a "root" and then the folders you want excluded. > > Seeing it now, it's rather obvious. > > AND the "root" must either match one of your share names or * to match > all of your shares.
It makes sense, now. Thanks! -- //Sorin
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/