[sclug] Bacula

Scott Rixon Scott at Green-Flag.com
Mon Dec 29 22:09:41 UTC 2008


Thanks for that.. I will have a play...

Maybe you can help? I have an LTO-1 HP Ultrium 215 drive. For some
reason it's only backing up about 50gb and then asking for a new tape..
Any ideas? They should be 100gb native and 200gb compressed.

Thanks..

Scott

On Wed, 2008-12-24 at 21:46 +0000, Dominic Storey wrote:
> I use bacula all the time ... once you get your head around the
> concept it's great .. it's worth restructuring your bacula-dir.conf to
> break out the jobs, schedules, filelists and pools ..
> 
> Here's a little helper script I use for handling my tapes...
> 
> >>>>>>>>>>>>>>>
> 
> #!/bin/sh
> 
> case "$1" in
> mount)
> if [ "$2" != "now" ]; then
>     echo "Sleeping for 2 minutes..."
>      sleep 120
> fi
> sudo bconsole -c /etc/bacula/bconsole.conf <<END1
> mount DLT
> quit
> END1
> ;;
> eject|umount|unmount)
> sudo bconsole -c /etc/bacula/bconsole.conf <<END2
> unmount DLT
> quit
> END2
> sudo mt -f /dev/st0 eject
> ;;
> status|next|schedule)
> echo "Scheduled Backups:"
> echo "=================="
> echo "status dir" | sudo bconsole -c /etc/bacula/bconsole.conf | grep
> "Backup "
> ;;
> jobs)
> echo "status dir" | sudo bconsole -c /etc/bacula/bconsole.conf
> ;;
> messages)
> echo "messages" | sudo bconsole -c /etc/bacula/bconsole.conf
> ;;
> *)
> echo "dlt [messages|mount|unmount|status|jobs|next|schedule]"
> ;;
> esac
> 
> <<<<<<<<<<<<<
> 
> regards Dom Storey
> 
> 2008/12/24 Scott Rixon <Scott at green-flag.com>
>         Hi all...
>         
>         A while back someone mentioned Bacula as a tape backup util. I
>         made a
>         note and filed it in the 'to do when I have a while' pile.
>         
>         Well I've had some time off work so I did battle with it on
>         Ubuntu
>         today. Backing up to tape has been a nemesis for me, I spend
>         my days
>         using and supporting BackupExec on Windows and also figured
>         that it
>         can't be this tough. Using Tar direct to tape is too basic and
>         Amanda
>         blew my mind so much I couldn't get it working..
>         
>         Bacula is an odd beast. Not quite sure I like the fact the
>         backup sets
>         are in the config files? But it's working and I have a little
>         tool in
>         the Gnome tray that tells me it's running :) (If the tape
>         noise wasn't a
>         give away)
>         
>         Also setup a software mirror of 2 1TB drives this week.. It's
>         all happy
>         days :)
>         
>         Scott
>         
> 




More information about the Sclug mailing list