Hello,
On 13.10.2005 17:45, Christian Reiss wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Howdy again,
Pruning et all is working, only thing not yet working is the
re-scheduling of items. For example, i have this:
Job {
Name = "Backup_PDA"
client = pda-fd
type = backup
messages = Standard
storage = StoragePDA
pool = PoolPDA
Level = Incremental
FileSet = "BSD"
Schedule = "Non-Permanent"
Write Bootstrap = "/var/db/bacula/pda.bsr"
Priority = 10
Rerun Failed Levels = yes
Reschedule On Error = yes
Reschedule Interval = 15m
Oh, you already noticed... (I didn't, in fact...)
Reschedule Times = 70
Maximum Concurrent Jobs = 10
Run Before Job = "/usr/local/bin/bacula-ping.sh %c"
}
The ping is just that: pings the host, returns 0 if it is up.
Now, with all the re-scheduling stuff in there I assumed that
bacula would re-hammer the client evers 15 minutes up to 70
times for a retry, but no luck. Bacula does one try only, and
fails.
Also, If I remove all the job retention et all, so NO timeouts
anywhere BUT in the pool-directives (Volume Retention = 60 days)
am I right to assume that volumes get recycled (yes, recylce et all
is on) and corresponding jobs are deleted? So, Backups 60 days in the
past will get deleted, and space will get freed (once recycled)?
I'm not even sure that works (no retention times). I always imagined
they were required...
Anyway, part one of your assumption is true, i.e. volumes are recycled.
Note that volumes are not recycled after 60 days, but, when Bacula
searches for usable volumes, it prunes the ones beyond their retention
periods. Important is "when Bacula...".
Part two is not right - Bacula doesn't delete backups and free space. It
only removes the corresponding file and job records from the catalog and
marks the volumes as reusable. Files are not truncated or deleted.
That's because Bacula uses file volumes like tapes, and noone sane would
want to load lots of tapes only to allow automatic recycling... I mean,
I've got about 10 times as many tapes as autochanger slots, plus 40+
tapes for a single drive... no, thanks.
if ($previous_statement) {
If there is a backup job, full, 70 days ago, and then only incrementals
until like.. 10 days ago, will all not-full jobs get pruned as well
and their corresponding volumes, too? (one job per volume)
}
Uh. Difficult situation. Make sure that doesn't happen to you, because
you will not be able to easily restore... (This is an issue Kern wants
to address in a later version). Worse, still - imagine your full volume
was recycled, the next full backup starts, overwriting that same volume,
and then your backup fails because the client disk dies. No fun.
In other words - let full and partly backups go to different pools with
different retention times. Much easier than manually managing the volmes.
Ideas?
Erm, what was the question? Ah, disk based volume deletion... no, only
overwriting. And, even if the catalog doesn't know about the volume
contents, you can still access it. See bls, bscan and bextract.
Arno
- -Christian.
- --
,----------------------------------------------------------------------
| Christian Reiss
|
| [EMAIL PROTECTED] /"\ ASCII Ribbon
| PGP-Key ID: 02FF71B2 \ / Campaign
| Public Key: http://demonlord.de/pgp.txt X against HTML
| Jabber: [EMAIL PROTECTED] / \ in eMails
|
| "Don't give up. Lose interest."
`----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDToELGLayMgL/cbIRAt3/AJ9WQWPh8JCPGDJ47CZdYIwIGlNH4ACghuNA
Tku+eabcJIiKfsQ6k/2+P5s=
=0IgU
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users