The main config is always used but you can define in the per pc config
file some parameters that overload (I don't if you say this way in
english, I'm french :/) the same parameters of the main config.pl file.
For exemple, with your per pc config, all the main variables will be
used except these ones which will be read from the per pc configuration
file:

$Conf{TarShareName}
$Conf{XferMethod}
$Conf{TarClientCmd}
$Conf{TarFullArgs}
$Conf{TarFullArgs}
$Conf{CompressLevel}
$Conf{TarIncrArgs}
$Conf{TarClientRestoreCmd}




On Fri, 04 Aug 2006 09:09:55 -0400
Rob Morin <[EMAIL PROTECTED]> wrote:

> How can i tell if it used the config.pl in te pc folder or the main
> one?
> 
> It seemed to have work ok last night but not sure if it used the new 
> config or the main one? the new config uses this for backing up the 
> localhost
> 
> ##### start of the per pc config #####
> 
> $Conf{TarShareName} = ['/'];
> 
> $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/var/log', 
> '/mnt/usb', '/data/var/log', '/data/var/spool', '/data/BACKUP'];
> 
> $Conf{XferMethod} = 'tar';
> 
> $Conf{TarClientCmd} = '/usr/bin/sudo'
>                     . ' $tarPath -c -v -f - -C $shareName'
>                     . ' --totals';
> 
> $Conf{TarFullArgs} = '$fileList';
> 
> $Conf{CompressLevel} = 3;
> 
> $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
> 
> $Conf{TarClientRestoreCmd} = '/usr/bin/sudo'
>                    . ' $tarPath -x -p --numeric-owner --same-owner'
>                    . ' -v -f - -C $shareName+';
> 
> ##### end of the per pc config #####
> 
> Thanks..
> 
> Rob Morin
> Dido InterNet Inc.
> Montreal, Canada
> Http://www.dido.ca
> 514-990-4444
> 
> 
> 
> Les Mikesell wrote:
> > On Thu, 2006-08-03 at 14:00 -0400, Rob Morin wrote:
> >   
> >> Ahh i see ok so if i force an incremental for all machines at, say 
> >> midnight or 11pm they will always backup at that time then? ok
> >> cool... 
> >
> > The next one won't start until about 24 hours has elapsed since
> > the last run - then some other things could defer it.
> >
> >   
> >> Another quick question, rather than do the rsync thing over ssh,
> >> i want to use a conf file someone on the list provided me to be
> >> placed in the pc's name dir... IE pc/localhost,   now do i name
> >> the file config.pl or the name of the directory/pc IE localhost.pl
> >> as i forst named it localhost.pl and it still used ssh rather than
> >> tar 
> >
> > Naming it config.pl in the pc/hostname directory will work.  This
> > file only
> > needs to contain the settings that differ from the global config.pl
> > file.
> >
> >   
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your opinions on IT & business topics through brief surveys --
> and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ BackupPC-users
> mailing list [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
> 


-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 82 05
Mail: [EMAIL PROTECTED]
Web : http://www.firewall-services.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to