On Thursday 20 April 2006 03:59, jamsda wrote:
> Ok,
>
> my config.pl/hosts (after install) were placed in the
> conf/ dir.  The pc/target_host-x/ directories have all
> the data I backed up in it. I didn't realize I could
> copy the config.pl from the conf/ dir to each
> pc/target_hostx/ directories and specify the options
> for each host. Thanks, I'll try that.
>
>
> Jim

No, No!

Leave the config.pl file in conf where it is. This specifies the defaults 
for the various parameters. In the pc/hostname directories put config.pl 
files with contents which override the defaults in the main config.pl 
files in conf.


Here is an example of a pc/config.pl file

#    Full backup every week
$Conf{FullPeriod} = 6.97;

#    Keep 4 backups @ 1 week,   Weeks:   0 1 2 3
$Conf{FullKeepCnt} = [4];

#    Incremental backup daily and keep 6
$Conf{IncrPeriod} = 0.97;
$Conf{IncrKeepCnt} = 6;

#    Don't use partial backups
$Conf{PartialAgeMax} = -1;

#   Don't do backups between 3am and Midnight
#   Servers should be backed up overnight
$Conf{BlackoutGoodCnt}      = 0;
$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutPeriods} = [
    {
        hourBegin =>  3.0,
        hourEnd   => 24.0,
        weekDays  => [0, 1, 2, 3, 4, 5, 6],
    },
];
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = ['/etc', '/home', '/root', '/usr/local'];

$Conf{CompressLevel} = 0;

Hope this helps,

Tony
>
> --- jamsda <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I've got backuppc running successfully tunnelling
> > ssh
> > with rsync; seem's to be an awsome application.
> >
> > My question is if I have multiple hosts with various
> > different mount points, how do I specify them in
> > config.pl and hosts file? For example,
> > "target_host1"
> > gets [/data, /home, /etc] backed up, and
> > "target_host2" gets [/usr/local, /opt] backed up.
> >
> > How do you specify this when there's only one
> > instance
> > of $Conf{RsyncShareName} = [/data, /home, /etc];?
> >
> > How would I do ie:
> > $Conf{RsyncShareName} = [/data, /home, /etc];
> > (target_host1)
> >
> > and:
> > $Conf{RsyncShareName} = [/usr/local /opt];
> > (target_host2)
> >
> > Is this possible?
> >
> > Thanks,
> > Jim
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security? Get stuff done quickly with pre-integrated technology to make
> your job easier Download IBM WebSphere Application Server v.1.0.1 based
> on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164
>2 _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-- 


Tony Molloy.

Dept. of Comp. Sci.
University of Limerick


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to