On Mon, Jun 17, 2013 at 9:31 AM, masoodmx
<backuppc-forum AT backupcentral DOT com> wrote:
> Could anyone please tell me, how can I configure backuppc to set a specific
> period of time for a host to do backup? i.e I want to have a plan to make
> backup for a host only between 18:00 and 20:00
>
Look for the Blackout related variables on
http://backuppc.sourceforge.net/faq/BackupPC.html for the full
details, but basically you would just go to the web page for that
host, 'Edit Config' (the upper one in the per-host section) and and
under 'Schedule' set the BlackoutPeriods to:
hourBegin 20
hourEnd 18
weekdays 0, 1, 2, 3, 4, 5, 6
That is, you tell backuppc when _not_ to back up the target. Also
note that the blackout schedule doesn't take effect until
BlackoutGoodCnt days have elapsed with backuppc able to ping the
target outside of the blackout time. When practical, I usually start
the first backup of a new target manually at an appropriate time and
let the approximately 24-hour schedule take care of it until
BlackoutGoodCnt would take effect.
And one other thing - you can only control when the backup starts. It
will run until the backup completes, even if that goes beyond your
time window.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|