Re: [BackupPC-users] exclude ignores hidden folders
On 6/14/2013 4:23 AM, stompdagg...@yahoo.com wrote: > Hello, > > I'm trying to backup my /home folder but exclude the vm folder used by > VB, but for some reason when ever I run backup, the folder's content > is always backed up. > > what am I doing wrong? here is the host's config: > > $Conf{RsyncShareName} = [ > '/home', > '/root' > ]; Ok, so you have two shares, '/home' and '/root'. > $Conf{BackupFilesExclude} = { > '/home/virt_admin' => [ > 'Machines' > ], This will do absolutely nothing, since there is no share named '/home/virt_admin' > '/home/*' => [ > '.VirtualBox/Machines', > 'Downloads' > ] > }; This one should work to exclude files/folders with these names under the '/home' share. You should add another one here for 'virt_admin/Machines' to replace the non-functional exclusion above. -- Bowie -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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/
[BackupPC-users] exclude ignores hidden folders
Hello, I'm trying to backup my /home folder but exclude the vm folder used by VB, but for some reason when ever I run backup, the folder's content is always backed up. what am I doing wrong? here is the host's config: $Conf{RsyncShareName} = [ '/home', '/root' ]; $Conf{BackupFilesExclude} = { '/home/virt_admin' => [ 'Machines' ], '/home/*' => [ '.VirtualBox/Machines', 'Downloads' ] }; $Conf{XferMethod} = 'rsync'; $Conf{BlackoutPeriods} = [ { 'hourEnd' => 6, 'weekDays' => [ 0, 1, 2, 3, 4, 5, 6 ], 'hourBegin' => 23 } ]; $Conf{FullAgeMax} = 84; $Conf{FullKeepCnt} = [ 12 ]; $Conf{IncrAgeMax} = 84; $Conf{IncrKeepCnt} = 4; $Conf{IncrLevels} = [ 1, 2, 3, 4 ]; $Conf{IncrPeriod} = '3.97'; $Conf{BackupsDisable} = 2; Thanks. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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/