10:30am, Jake Solid wrote:
> Hello,
>
> I currently have backup PC running and backing up 7 different Linux servers.
> Inside the config.pl I have the directive $Conf{BackupFilesExclude} to
> exclude a list of folders and subfolders. In the list I have the Backup PC
> to exclude the /var/log/spooler* for all the servers. The problem is that I
> need to back the content of /var/log/spooler on 1 of the 7 Linux servers.
> How can I accomplish this using the same config.pl ?
>
> Thanks in advanced,
>
Well, you might write some Perl code that uses the $host variable to do a
substitution (although I haven't tested that myself). And as Craig Barratt
has mentioned, if you change your configs through the CGI interface, custom
Perl in your config file won't survive.
Otherwise, you'll need to create a config.pl for just that host, and put the
appropriate config(s) in there.
Paul
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/