"Nick Barton" writes:
> Sorry if this question has already been answered, I think it is an easy
> fix but I am just not finding it anywhere. I need to be able to backup
> multiple host machines from one backuppc computer on different schedules
> through out the week, I think a total of 15 servers. Samba is my
> transfer method, how do I configure my config.pl file to do this for
> multiple hosts, and have a different schedule for each machine, say 3
> machines on Monday, 3 on Tuesday and so on. I tried creating separate
> config files and putting them in the folder for each machine under my
> /pc directory but it seems to call just the config.pl from the /conf
> directory when starting a backup.
BackupPC doesn't provide an easy way to force full backups
on particular days of the week. But that's because there
is already a good way to do it.
Using BackupPC_serverMesg you can manually start a full (by emulating
what the CGI interface does). Look on the list for how to do this.
So you can use cron with BackupPC_serverMesg to run a full once per
week when you want. You should increase $Conf{FullPeriod} a little
(eg: >10 days) so the automatic backups don't try to start at the
same time. If you keep $Conf{IncrPeriod} the same (eg: daily) it
will continue to automatically run the incrementals each day.
To avoid a race between a cron full and the automatic incrementals,
simply chose an hour/minute in cron several minutes before the regular
BackupPC wakeup. That way the cron full will already be running when
BackupPC checks what to do.
Craig
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/