BackupPC-users

[BackupPC-users] Append share to RsyncShareName?

2011-10-03 07:35:26
Subject: [BackupPC-users] Append share to RsyncShareName?
From: Keith Edmunds <kae AT midnighthax DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 3 Oct 2011 12:01:22 +0100
Hello world

We have a number of default shares defined in config.pl; for example:

$Conf{RsyncShareName} = ['/etc', '/root', '/var/backups'];

We always want to backup those shares on every system; however, on some
systems we might want to backup additional shares. Currently, we put a
line in the clientname.pl file; for example:

$Conf{RsyncShareName} = ['/etc', '/root', '/var/backups', '/home'];

What we would like to do in the per-client configuration file is append any
additional shares to the default as specified in config.pl, so pseudo code
for the second example above would be:

        $Conf{RsyncShareName} += ['/home'];

Is there a way of doing that?

Thanks,
Keith
-- 
"You can have everything in life you want if you help enough other people
get what they want" - Zig Ziglar. 

Who did you help today?

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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>