BackupPC-users

Re: [BackupPC-users] exclude ignores hidden folders

2013-06-14 10:59:58
Subject: Re: [BackupPC-users] exclude ignores hidden folders
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 14 Jun 2013 10:57:56 -0400
On 6/14/2013 4:23 AM, StompDagger1 AT yahoo DOT 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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>