Hello,
one question to all the list users: Do you also get the impression that
this is a FAQ? In which case someone could probably write a short
chapter for the manual? (Perhaps even I could... I'll see if I find the
time soon).
Hendrik Weimer wrote:
Hello,
I have started using Bacula a few weeks ago and I must say that it is
really impressive.
Yes.
At the moment, I'm trying to implement a rather simple setup. I want
to do a daily backup on a single computer using a tape drive. The
backup strategy is simple: always overwrite the currently inserted
tape.
This is not something that bacula is good at.
The design goals of bacula were, in fact, quite the opposite. A simpler
way to achive that is to use tar or dd or dump, depending on your needs.
Apart from this, I strongly recommend against such a backup scheme - in
my opinion, it doesn't give you what you want from a backup, which
should be that you can restore your data even in case of an emergency.
An emergency, though, can also destroy some of your backup media, or
require you to go back to the data before a data loss, manipulation, or
even a user error.
That said, there are some considerations if you really want to use
bacula for this.
Unfortunately I have some difficulties when trying to implement this
strategy:
1. The storage daemon asks for a specific tape, even though "Accept
any Volume" is enabled.
| 24-Jun 02:00 datenserver-sd: Please mount Volume "Vol-0004" on
| Storage Device "Tape" for Job Client1.2005-06-24_02.00.00
You need to make sure the tapes are usable, i.e. appendable or pruned.
2. When I insert a new tape, Bacula does not label it automatically.
A volume once labeled will usually not need to be relabeled.
3. When I insert a tape with an existing backup on it, Bacula tries to
append data to it, no matter how short the retention period is.
Remember that bacula only prunes when it actually needs space - so, for
example, set a maximum number of jobs per volume.
You could also use a run before job script that prunes or purges the
volumes.
Could you help me to find out what I'm doing wrong here? I'm sending
you the relevant parts my configuration.
Hopefully the above helps you.
Arno
Hendrik
--- Director
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 12h # Always overwrite volume
Accept Any Volume = yes # write on any volume in the pool
Recycle Current Volume = yes
Label Format = "Vol-"
}
--- Storage daemon
Device {
Name = Tape
Description = "Bandlaufwerk"
Media Type = DDS-3
Archive Device = /dev/st0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
Label media = yes;
}
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users