Bacula-users

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

2010-01-05 08:20:55
Subject: Re: [Bacula-users] Using the same tape for a daily full backup, overwriting
From: Anton Albajes-Eizagirre <anton.albajes AT starlab DOT es>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 05 Jan 2010 13:13:44 +0100
Thanks John and the others for the reply,

On Mon, 2010-01-04 at 13:06 -0500, John Drescher wrote:
> > 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.

Yes, of course. This is only a testing scenario.

The real scenario will have two tapes for weekly full backup and two
other tapes for monthly full backups. The idea is cycle the weekly tapes
between them and the monthly tapes also between them. I would combine it
with a daily incremental that would go to disk.

The matter is that the full backup is around 200GB, and the tapes i'm
using (LT02) are that size aprox. I want each full backup to start from
the beginning of the tape (and, thus, erase the previous one on the
tape).

I set the test pool (on test tape added to it) as:

# pool for tests
Pool {
  Name = pooltest
  Pool Type = Backup
  AutoPrune = yes
  Recycle = yes
  Volume retention = 1 minute
#  Use Volume Once = yes
#  Volume Retention = 365 days
#  Maximum Volume Jobs = 1   
}

The problem is that after the first full backup, when i try to use the
same tape to run a second one over it, bacula tries to move the tape to
the end of the data and start writing from it, instead of starting from
the beginning of the tape.

How do I tell bacula to discard all the content of the tape and start
writing from the beginning? Without manually purging the volume, i mean.

Thanks,

ant


-- 

Anton Albajes-Eizagirre
Researcher

Edifici de l'Observatori Fabra, Muntanya del Tibidabo
C. de l’Observatori Fabra s/n - 08035 – Barcelona - Spain
tel. +34 93 254 03 64, +34 93 254 03 66, antonae(Skype)
mob. +34 670 02 14 19
fax. +34 93 212 64 45
e-mail. anton.albajes AT starlab DOT es
PGP public key: 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x676FFE1C363C2AF0
___________________________________________________________
STARLAB, Living Science http://starlab.es

This e-mail and the attached files contain confidential information and
are of exclusive use for the addressee. The disclosure, copy and
distribution of the present message and its attachments are prohibited.
If you are not the intended recipient and you receive this
communication, we inform you that it is forbidden by law to read copy or
use it. Please notify us at info AT starlab DOT es and proceed immediately to
delete it.

Este correo electrónico y los archivos adjuntos al mismo [en su caso]
contienen información confidencial y de uso exclusivo para su
destinatario o destinatarios. Queda prohibida la divulgación, copia o
distribución de la información contenida en el mismo y, en su caso, de
la información contenida en los archivos que pueda llevar adjuntos. Si
usted recibe este correo por error, no siendo el destinatario del mismo,
le indicamos que por ley no le está permitido la lectura, copia y uso
del mismo. Se ruega lo notifique lo antes posible a la dirección
info AT starlab DOT es y proceda a borrar el mensaje inmediatamente después.

Attachment: signature.asc
Description: This is a digitally signed message part

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