On Thursday 20 September 2007, Samuel Krieg wrote:
> Example: I would like to add "/home/excludeme" in
> $Conf{BackupFilesExclude} for the machine client1.
>
> The relevant line in config.pl looks like this one:
> $Conf{BackupFilesExclude} = [ '/proc', '/dev', '/lost+found' };
^................................^
Take care that you match braces correctly!
> What should I write in client1.pl to append this folder to existent
> folders ? (In other words: how do I push an item in an array?)
If I understand what you want correctly, you should just add the following
line in client1.pl:
$Conf{BackupFilesExclude} = [ '/proc', '/dev', '/lost+found', '/home/excludeme'
];
In other words, you don't "add" items to the default in a client config;
you override (replace) the default config with items in the client config.
Cheers,
FJP
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/