Hey guys,
I am currently evaluating a solution how to export our backup partly. Just for
your comprehension I will briefly explain you what happens current, how and why
:) ...
Everyday Bacula backups up our servers into the "normal" filestorage pool.
Every Saturday (except the first one) bacula dumps our VM's into the
filestorage
pool as well.
Every first saturday of a month backup safe jobs into 2 pools which looks in
details als follows:
Jobs A-K -> Vmware-Image-Export-Pool
Job K (very big) -> Server-Export-Pool
What we want now is to know which tapes we have to move out of our Tandberg.
For the second case (Job K it works perfectly ok, I got a Ticket where I can
see directly to which tapes the job has been written). But the vmware machines
are around 30 machines which are backed up. And of course I do not want to
have from every job which runs a message, I want to have something like a
collection where I just see which volumes these jobs used. Futhermore as a
small extra I would appreciate that IF one of these jobs failes I got a
message like "all jobs are ok EXCEPT ****** please check and restart"
That would me quite helpfull. I wrote a small script which gives the admin
also a small overview. It is not very big and it uses bacules %v variable for
the volume identification:
cat /usr/local/bin/bacula_report.sh
#!/bin/bash
volume_bacula=$(echo $1 | sed 's/|/ /g')
header="Folgende Volumes bitte aus der TANDBERG T40 entnehmen"
volume_info=$(for i in $volume_bacula
do echo "============================================ Volume
Name:" $i "============================================"
echo "Datum `date`"
echo "Inhalt des Volumes:"
echo 'query
14
'$i'' | bconsole | grep ^\|
echo ""
done)
printf "%s\n%s\n" "$header" "$volume_info" | a2ps --font-size=5 --center-
title="Bacula Export Sicherung `date +%B`"
unset a
Thank for you commitment and your help. Have a nice christmas and a happy new
year :) ..
Regards
Torsten
--
Torsten Maus torsten.maus AT dass-it DOT de
dass IT GmbH Phone: +49.221.3565666-98
http://www.dass-IT.de Fax: +49.221.3565666-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|