Re: [BackupPC-users] exclude ignores hidden folders

2013-06-17 Thread Bowie Bailey
On 6/15/2013 4:26 AM, stompdagg...@yahoo.com wrote:
 Hello Bowie,

 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'
 I see, strangely enough I remember that this actually worked and the content 
 of Machines wasn't updated.
 none the less I'll do this, thanks.
 '/home/*' = [
   '.VirtualBox/Machines',
   'Downloads'
 ]
 };
 This one should work to exclude files/folders with these names under the
 '/home' share.
 thing is, it doesn't seems to do that, I still backup this folder's content.

Actually, I take that back.  I must not have noticed the * at the end.  
That one won't work either because there is not a share named '/home/*'.

The first part of the exclude must either be a share name or '*' if it 
is to apply to all shares.  So in your case, only the following will work:

'/root'
'/home'
'*'

Anything else will be ignored.  So replace both of your current excludes 
with this and it should work better:

$Conf{BackupFilesExclude} = {
  '/home' = [
  '.VirtualBox/Machines',
  'Downloads',
  '/virt_admin/Machines',
],
};

-- 
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/


Re: [BackupPC-users] exclude ignores hidden folders

2013-06-17 Thread stompdagg...@yahoo.com
On 6/15/2013 4:26 AM, stompdagg...@yahoo.com wrote:
 Hello Bowie,

 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'
 I see, strangely enough I remember that this actually worked and the 
 content of Machines wasn't updated.
 none the less I'll do this, thanks.
    '/home/*' = [
  '.VirtualBox/Machines',
  'Downloads'
    ]
 };
 This one should work to exclude files/folders with these names under the
 '/home' share.
 thing is, it doesn't seems to do that, I still backup this folder's content.

Actually, I take that back.  I must not have noticed the * at the end. 
That one won't work either because there is not a share named '/home/*'.

The first part of the exclude must either be a share name or '*' if it
is to apply to all shares.  So in your case, only the following will work:

'/root'
'/home'
'*'

Anything else will be ignored.  So replace both of your current excludes
with this and it should work better:

$Conf{BackupFilesExclude} = {
  '/home' = [
  '.VirtualBox/Machines',
  'Downloads',
  '/virt_admin/Machines',
    ],
};

I was able to make it work with the following config:
$Conf{RsyncShareName} = [
  '/home',
  '/root'
];
$Conf{BackupFilesExclude} = {
  '/home' = [
    '*/.VirtualBox/Machines',
    '*/Downloads',
    'virt_admin/Machines'
  ]
};

thanks for all the help

--
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/


Re: [BackupPC-users] exclude ignores hidden folders

2013-06-17 Thread Bowie Bailey
On 6/17/2013 2:30 PM, stompdagg...@yahoo.com wrote:

 I was able to make it work with the following config:
 $Conf{RsyncShareName} = [
'/home',
'/root'
 ];
 $Conf{BackupFilesExclude} = {
'/home' = [
  '*/.VirtualBox/Machines',
  '*/Downloads',
  'virt_admin/Machines'
]
 };

 thanks for all the help

I don't think the '*/' is required, but the syntax for the exclusions 
tends to be picky and depends on the transfer method, so if it's 
working, you should probably just leave it alone.  :)

-- 
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/


Re: [BackupPC-users] exclude ignores hidden folders

2013-06-15 Thread stompdagg...@yahoo.com
Hello Bowie,

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'
I see, strangely enough I remember that this actually worked and the content 
of Machines wasn't updated.
none the less I'll do this, thanks.

   '/home/*' = [
 '.VirtualBox/Machines',
 'Downloads'
   ]
 };

This one should work to exclude files/folders with these names under the
'/home' share.
thing is, it doesn't seems to do that, I still backup this folder's content.

You should add another one here for 'virt_admin/Machines' to replace the
non-functional exclusion above.

I'll try what you have suggested to see maybe it will work, will update later 
on, thanks.

ok, I'm half way into the backup and I see that the content of 
.VirtualBox/Machines is backed up so something I'm doing wrong, see:

NCC-5001-D ncc-5001-d_home # find new/f%2fhome/fuser/f.VirtualBox/fMachines
new/f%2fhome/fuser/f.VirtualBox/fMachines
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fLogs
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fLogs/fVBox.log
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fLogs/fVBox.log.2
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fLogs/fVBox.log.1
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fLogs/attrib
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fLogs/fVBox.log.3
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fSnapshots
new/f%2fhome/fuser/f.VirtualBox/fMachines/fWindows/fWindows-flat.vmdk

any hints?

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/


[BackupPC-users] exclude ignores hidden folders

2013-06-14 Thread stompdagg...@yahoo.com
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/


Re: [BackupPC-users] exclude ignores hidden folders

2013-06-14 Thread Bowie Bailey
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/