As far as I can tell, I have the same problem. We're identical up to the
first 5 steps. I haven't done any of the last ones (incidentally, why
have Prune AND Purge oldest volume? You'd only need Purge if you want to
be that severe, and Purge isn't really safe anyway).
I really don't know how to nail this one down any closer for
troubleshooting.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630
Fabio Mengue wrote:
Hi,
I have a similar problem. I have 10 tapes, the Pool retention period
is 2 months (8 weeks), I run a full backup each week. I have to
manualy prune the next volume (sometimes execute the command more than
once in a row) to get VolStatus = Purged. Otherwise bacula tries to
create a new Volume on the Pool.
The Pool config:
Pool {
Name = Fita
Pool Type = Backup
LabelFormat = "Fita"
Volume Use Duration = 3 days
Volume Retention = 2 month
Maximum Volumes = 10
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Accept Any Volume = no # write on any volume in the pool
Recycle Oldest Volume = yes
Purge Oldest Volume = yes
}
Following the Recycle Algorithm:
# Search the Pool for a Volume with VolStatus=Append -> I have no Volume
in that condition at job run time
# Search the Pool for a Volume with VolStatus=Recycle -> Same as above
# Try recycling any purged Volumes. -> Same as above
# Prune volumes applying Volume retention period (Volumes with VolStatus
Full, Used, or Append are pruned) -> This is what I want
# Search the Pool for a Volume with VolStatus=Purged -> After doing the
previous operation, it should stop here, because it would find a
purged volume. But...
# Attempt to create a new Volume if automatic labeling enabled -> This
is what it does. And on bacula-sd, I have LabelMedia = No, but still...
# If a Pool named "Scratch" exists, search for a Volume and if found
move it to the current Pool for the Job and use it -> No Pool named
"Scratch"
# Prune the oldest Volume if RecycleOldestVolume=yes -> OK, I have this
configured.
# Purge the oldest Volume if PurgeOldestVolume=yes -> Same as above.
# Give up and ask operator. -> It asks only the tape that it creates.
I don't know what is going on. Every week I have to call bconsole,
prune the next volume (sometimes more than once) and then VolStatus =
Purged.
Is there any test I can do to help find what is wrong ?
Thanks,
Fabio.
Harondel J. Sibble wrote:
On 29 Nov 2005 at 21:54, [EMAIL PROTECTED] wrote:
Basically, if I start with a new set of volumes, with a retention period of 6
days, all is good until the 2nd week, then the tapes fill up and are not
automatically recycled. Then I end up having to manually PURGE the volumes so
that backups work properly. Basically, we can consistently fit 26-27gb on a
tape. Normal daily backup is about 23gb.
If I do a manual purge, only then does the messages command show the volume
being recycled
29-Nov 22:08 fileserver-dir: Start Backup JobId 33, Job=BackupCatalog.2005-11-
29_21.35.00
29-Nov 22:08 fileserver-sd: BackupCatalog.2005-11-29_21.35.00 Warning:
Director wanted Volume "Friday4".
Current Volume "Tuesday" not acceptable because:
1998 Volume "Tuesday" status is Full, but should be Append, Purged or
Recycle.
29-Nov 22:08 fileserver-sd: Please mount Volume "Friday4" on Storage Device
"DDS-4" (/dev/nst0) for Job BackupCatalog.2005-11-29_21.35.00
> I did a purge of the current tape in here. <
29-Nov 22:10 fileserver-dir: Recycled current volume "Tuesday"
29-Nov 22:10 fileserver-sd: Recycled volume "Tuesday" on device "DDS-4"
(/dev/nst0), all previous data lost.
--
Fábio Mengue - Núcleo de Informática - Hospital das Clínicas - Unicamp
fabiao at hc dot unicamp dot br fabio at unicamp dot br
Larguei a bebida. O ruim é que não lembro onde.
------------------------------------------------------- This SF.net
email is sponsored by: Splunk Inc. Do you grep through log files for
problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________ Bacula-users mailing
list Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users