Bacula-users

Re: [Bacula-users] Using the same tape for a daily full backup, overwriting

2010-01-04 13:09:16
Subject: Re: [Bacula-users] Using the same tape for a daily full backup, overwriting
From: John Drescher <drescherjm AT gmail DOT com>
To: Anton Albajes-Eizagirre <anton.albajes AT starlab DOT es>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 4 Jan 2010 13:06:54 -0500
> I'm trying to set a backup system where i'd use a single tape to store a
> full backup on a single job.
>
I would never recommend such a policy because while you are backing up
the data each day you have no valid previous backup.

>
> The first backup goes fine, and also the restore. The problem comes
> while trying to run again the full backup job with the same tape on the
> drive. Even if the tape is rewinded, bacula returns me an error saying
> that there's no volume:
>
> 04-Jan 17:18 adhara-sd JobId 61: Job
> testbackupjob.2010-01-04_17.18.47.06 waiting. Cannot find any appendable
> volumes.
> Please use the "label"  command to create a new Volume for:
>    Storage:      "DellPowervault110T" (/dev/nst0)
>    Pool:         pooltest
>    Media type:   LT02
>
> My pool looks like:
>
> # pool for tests
> Pool {
>  Name = pooltest
>  Pool Type = Backup
>  AutoPrune = no
>  Recycle = yes
>  Use Volume Once = yes
> #  Volume Retention = 365 days
>  Maximum Volume Jobs = 1
>
> }
>
> Should i set volume retention to lower than a day? Can i set it to 0, so
> i can run the same backup over the same tape one right after the other?
> (just for testing)
>

I would set volume retention to 1 minute. Then make sure you use the
update volume command in bconsole to make the change to any current
labeled volumes.

John

------------------------------------------------------------------------------
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