SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Nightly task configuration
Author Message
Post Nightly task configuration 
Hello,

I am running BackupPC and it works great. I have only one question; is
it possible to configure when the nightly will be started? I know the
name suggests that it should be started at night, but in my
configuration all backups start at 23:00 and will take several hours.
The nightly jobs slows it down a lot.

I have killed the nightly job several times and restarted it manually
after the backups are made and then everything (backups+nightly) is
finished much earlier.

If there is no configuration option, is it possible to somehow disable
the nightly, so I can start it from cron?

Best regards,
Dick Tump.

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Nightly task configuration 
On 12/13 07:22 , Dick Tump (Shock Media) wrote:
I am running BackupPC and it works great. I have only one question; is
it possible to configure when the nightly will be started?

Yep. Laid out in config.pl.
Here's one of mine, where I have it set to run the 'nightly' job at 3pm.
I suggest that this would in fact be a better default than the current
default of 1am; since backup jobs will more commonly run at 1am than in the
afternoon. (If there are still backup jobs running in the morning, we
want them to be running on a lightly loaded server so they complete
quickly).

# The first entry of $Conf{WakeupSchedule} is when BackupPC_nightly is run.
# You might want to re-arrange the entries in $Conf{WakeupSchedule}
# (they don't have to be ascending) so that the first entry is when
# you want BackupPC_nightly to run (eg: when you don't expect a lot
# of regular backups to run).
#
$Conf{WakeupSchedule} = [15..24,1..14];


--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Nightly task configuration 
"Dick Tump (Shock Media)" <dick < at > shockmedia.nl> wrote on 12/13/2011 01:22:49 PM:

I am running BackupPC and it works great. I have only one question; is
it possible to configure when the nightly will be started?

The first entry in your WakeupSchedule determines this. So, for example, mine is something like:

"10, 1, 2, 3, 4, 5...

Tim Massey
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!

[url=Arial]http://www.OutOfTheBoxSolutions.com[/url]
[url=Arial]tmassey < at > obscorp.com[/url] 22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796

Post Nightly task configuration 
On 13.12.2011 19:55, Timothy J Massey wrote:
"Dick Tump (Shock Media)" wrote on 12/13/2011 01:22:49 PM:

I am running BackupPC and it works great. I have only one
question; is
it possible to configure when the nightly will be started?

The first entry in your WakeupSchedule determines this. So, for
example, mine is something like:

"10, 1, 2, 3, 4, 5...

Thanks. I found that option in the configuration and I have already
tried it, but sometimes it will still start backups at 10 then. I would
like to see the nightly job running exclusively, so without any backup
tasks running.

I have done some more thinking about this and I have possibly fixed
this with a blackout period at the time of the first entry in the
WakeupSchedule, combined with Blackout Good Count of zero. I'm not sure
if it will work, but I'll probably know in a day Smile I don't use the
blackout period for other things, so for me this might be a fix.

Best regards,
Dick Tump.

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Nightly task configuration 
On 12/13 11:28 , Dick Tump (Shock Media) wrote:
Thanks. I found that option in the configuration and I have already
tried it, but sometimes it will still start backups at 10 then. I would
like to see the nightly job running exclusively, so without any backup
tasks running.

The default blackout in config.pl should look like this:

$Conf{BlackoutPeriods} = [
{
hourBegin => 7.0,
hourEnd => 19.5,
weekDays => [1, 2, 3, 4, 5],
},
];


This should keep jobs from starting any later than 6am. (unless you start
them by hand or with a cron job). So if you do your BackupPC_nightly run at
15:00, all but the longest-running jobs should have finished.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB