Bacula-users

[Bacula-users] Vacation schedule (again)

2011-04-19 11:15:09
Subject: [Bacula-users] Vacation schedule (again)
From: Tor Willy Austerslått <twa AT sesamdata DOT no>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 19 Apr 2011 17:12:05 +0200
Hello all. We've started using a homegrown solution (an attempt at one, anyway) 
for handling vacations, holidays and other situations where there are no 
operators present to change the tape(s). The reason we need it is of course 
that we use a daily tape rotation with offsite tape storage and must be present 
in order to have everything flow nicely. It's more or less just a different 
take on what's already been hinted at in various places.

It basically checks whether today is a holiday/vacation or not and attempts to 
stop the director if it is (and no jobs are in progress or are queued). We also 
replace the Webacula front page with a static HTML page and mails a 
notification to our support mail queue. It's a script which runs in crontab 
every 12 hrs (at 06.00 and 18.00). We always start our backups at 19.00.

If it's currently not a vacation date, the script attempts to start the 
director again.

Should I post the script here to get some constructive critique, or does it 
belong somewhere else?

-- 
Tor Willy Austerslått



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Vacation schedule (again), Tor Willy Austerslått <=