On 2/29/2012 12:39 PM, Les Mikesell wrote:
> On Wed, Feb 29, 2012 at 8:53 AM, upen <upendra.gandhi AT gmail DOT com> wrote:
>> Hello,
>>
>> I have a backuppc doing ssh/tar type of backup for a system. This
>> backup does /export/home directory on the remote backuppc client. I
>> would like to avoid some directories(recursively) which are
>> immediately under /export/home, for example /export/home/abc ,
>> /export/home/xyz,..etc
>>
>>
>> Configuration of the client for avoiding directories is as below. Do
>> you think it is correct way to keep those directories from backing up
>> or their path needs to be tweaked?
>>
>> $Conf{BackupFilesExclude} = {
>> '/xyz' => [
>> ''
>> ],
>>
>> '/abc' => [
>> ''
>> ]
>> };
>>
>> Please help. Thank you.
> The left side of those entries should be the sharename or '*' for all
> shares (from the web form this is the 'key'.
Assuming '/export/home' is your sharename, it should look like this:
$Conf{BackupFilesExclude} = {
'/export/home' => [
'/xyz'
],
'/export/home' => [
'/abc'
]
};
This sets the exclusion specifically for the '/export/home' share. If
you want it to apply to all shares, or if you only have one share and
want to cut down on typing, you can use '*' instead of the sharename.
--
Bowie
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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/
|