Craig,
There seems to be a recurring question/desire to be able to launch
backups at a specified time.

Rather than using cron, would it make sense to define a hash keyed by
the host that would allow one to specify a desire time or time range
for backups -- sort of like the inverse of blackouts but settable by
host.

Also, I would make this more of a "soft" preference in that if a
backup can't be accomplished at the given preferred time, then a
backup would be attempted outside of the preferred period.

There are many valid reasons why one might want given hosts to be
backed up preferentially at specific times...

Craig Barratt via BackupPC-users wrote at about 09:34:00 -0700 on Monday, 
October 12, 2020:
 > Here are two ways:
 > 
 >    - manually start a backup at the preferred time, then subsequent backups
 >    will occur after that; however, 3am doesn't make this a convenient option
 >    - in the web interface, assuming no backup is running, select
 >    stop/dequeue backup and enter the number of hours until a bit before 3am.
 >    That will delay the next backup until then.
 > 
 > If you want a truly fixed time for full backups, you could use cron to run
 > BackupPC_serverMesg to start a full backup, and set $Conf{FullPeriod} to
 > more than 7 so that the automatically scheduled full never happens.
 > 
 > Craig
 > 
 > On Mon, Oct 12, 2020 at 9:26 AM PGNet Dev <pgnet....@gmail.com> wrote:
 > 
 > > i'm running BackupPC 4.4.0 on linux.
 > >
 > > local instance config includes
 > >
 > >         $Conf{FullPeriod}              = 6.97;
 > >         $Conf{IncrPeriod}              = 0.97;
 > >         $Conf{WakeupSchedule} = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
 > > 15, 16, 17, 18, 19, 20, 21, 22, 23, 1, 2];
 > >         $Conf{FillCycle}               = 1;
 > >         $Conf{FullKeepCnt}            = [2, 0, 1, 0, 1];
 > >         $Conf{IncrKeepCnt}            = 6;
 > >         $Conf{FullKeepCntMin}         = 1;
 > >         $Conf{FullAgeMax}             = 90;
 > >         $Conf{IncrKeepCntMin}         = 1;
 > >         $Conf{IncrAgeMax}             = 30;
 > >         $Conf{RestoreInfoKeepCnt}     = 10;
 > >         $Conf{ArchiveInfoKeepCnt}     = 10;
 > >         $Conf{BlackoutBadPingLimit}   = 3;
 > >         $Conf{BlackoutGoodCnt}        = -1;
 > >         $Conf{BlackoutPeriods}        = [];
 > >         $Conf{BackupZeroFilesIsFatal} = 0;
 > >
 > > backups -- full & incremental -- are exec'ing as intended.
 > >
 > > at exactly 300pm every day.
 > >
 > > I'd like to shift that exec time to 300 *am*.
 > >
 > > What's the cleanest way to define/shift preferred exec time for all
 > > future/subsequent backups?
 > >
 > >
 > >
 > >
 > > _______________________________________________
 > > BackupPC-users mailing list
 > > BackupPC-users@lists.sourceforge.net
 > > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > > Wiki:    https://github.com/backuppc/backuppc/wiki
 > > Project: https://backuppc.github.io/backuppc/
 > >
 > _______________________________________________
 > BackupPC-users mailing list
 > BackupPC-users@lists.sourceforge.net
 > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:    https://github.com/backuppc/backuppc/wiki
 > Project: https://backuppc.github.io/backuppc/


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to