Hello everyone!
If bacula doesn't find an appendable volume for a sheduled job (as
described below), it will ask for one. Manually purging a tape from the
according pool is possible but bacula does not seem to notice that there
in fact is an appendable volume available now as long as the job is
still waiting. However cancelling and re-running that job will make
bacula flawlessly use the specific tape that was manually purged before.
Is there something fundamental I am missing? Maybe some sort of command
that makes bacula rescan the volume database vor appendable volumes?
Is anyone else experiencing a similar behaviour?
Thanks for any hint!
Nils Blanck-Wehde schrieb:
> Dear list,
>
> due to some additional "on-demand" backups, bacula ran out of appendable
> tape volumes in my autochanger.
> How do I manually make bacula overwrite a specific tape?
> I tried to set one volumes (CNV768) retention period to zero (update
> volume) and then marked the volume "purged". Bacula still doesn't want
> to use the tape. Or at least I don't know how to make bacula recognise
> my changes.
> Could someone please give me a quick instruction how to manually recycle
> (this might not be the technically correct term) i.e. "re-use" tapes
> that would normally be unacceptable to bacula because of their
> volume-retention-period?
>
> Many thanks in advance,
>
> Nils
>
> Here are some definitions (hope it helps, please ask if you need
> additional information):
>
> Pool {
> Name = "Weekly_Full_Backup_to_DLT"
> Pool Type = Backup
> Maximum Volume Jobs = 1
> Volume Retention = 7 weeks
> Recycle = yes
> AutoPrune = yes
> Cleaning Prefix = "CNV760"
> }
>
> *list volumes pool=Weekly_Full_Backup_to_DLT
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles
> | VolRetention | Recycle | Slot | InChanger | MediaType |
> LastWritten |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | 11 | CNV762 | Used | 1 | 34,671,587,328 | 35
> | 4,233,600 | 1 | 2 | 1 | DLT-VS1 | 2008-08-09
> 02:09:10 |
> | 12 | CNV763 | Used | 1 | 35,272,452,096 | 36
> | 4,233,600 | 1 | 3 | 1 | DLT-VS1 | 2008-08-17
> 17:56:31 |
> | 13 | CNV764 | Used | 1 | 36,074,013,696 | 37
> | 4,233,600 | 1 | 4 | 1 | DLT-VS1 | 2008-08-23
> 00:38:25 |
> | 14 | CNV765 | Used | 1 | 37,091,884,032 | 38
> | 4,233,600 | 1 | 5 | 0 | DLT-VS1 | 2008-08-30
> 00:40:16 |
> | 15 | CNV766 | Used | 1 | 38,143,623,168 | 39
> | 4,233,600 | 1 | 6 | 0 | DLT-VS1 | 2008-09-06
> 00:42:22 |
> | 16 | CNV767 | Used | 1 | 39,072,789,504 | 40
> | 4,233,600 | 1 | 7 | 0 | DLT-VS1 | 2008-09-13
> 00:44:01 |
> | 17 | CNV768 | Purged | 1 | 34,454,310,912 | 35
> | 0 | 1 | 8 | 1 | DLT-VS1 | 2008-08-08
> 10:03:46 |
> | 18 | CNV760 | Cleaning | 1 | 0 | 0
> | 4,233,600 | 1 | 16 | 1 | | 0000-00-00
> 00:00:00 |
> | 163 | CNV761 | Used | 1 | 129,024 | 1
> | 4,233,600 | 1 | 1 | 1 | DLT-VS1 | 2008-08-08
> 23:34:29 |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> *
>
> *status dir
> company_bacula-dir Version: 2.4.2 (26 July 2008) i686-pc-linux-gnu redhat
> Daemon started 07-Aug-08 18:46, 232 Jobs run since started.
> Heap: heap=3,743,744 smbytes=94,022 max_bytes=1,901,452 bufs=481
> max_bufs=496
>
> Scheduled Jobs:
> Level Type Pri Scheduled Name Volume
> ===================================================================================
> Full Backup 10 21-Sep-08 19:00 nightly-self-backup
> *unknown*
> Full Backup 10 21-Sep-08 21:00 Daily Exchange Backup
> *unknown*
> Full Backup 10 21-Sep-08 21:00 Daily Lexware Backup
> *unknown*
> Full Backup 10 21-Sep-08 22:00 Daily Fileserver Backup
> *unknown*
> Full Backup 11 21-Sep-08 23:10 BackupCatalog *unknown*
> ====
>
> Running Jobs:
> JobId Level Name Status
> ======================================================================
> 448 Full Fileserver_Lexware_Exchange_to_Tape.2008-09-19_23.30.08
> is waiting for an appendable Volume
> 449 Differe nightly-self-backup.2008-09-20_20.00.09 is waiting execution
> 450 Full Daily_Exchange_Backup.2008-09-20_21.00.10 is waiting
> execution
> 451 Full Daily_Lexware_Backup.2008-09-20_21.00.11 is waiting execution
> 452 Increme Daily_Fileserver_Backup.2008-09-20_22.00.13 is waiting
> execution
> 453 Full BackupCatalog.2008-09-20_23.10.14 is waiting execution
> ====
>
> Terminated Jobs:
> JobId Level Files Bytes Status Finished Name
> ====================================================================
> 438 Diff 112 298.7 M OK 18-Sep-08 20:01
> nightly-self-backup
> 439 Full 27 2.153 G OK 18-Sep-08 21:40
> Daily_Exchange_Backup
> 440 Full 1 112.9 M OK 18-Sep-08 21:45
> Daily_Lexware_Backup
> 441 Incr 65 203.7 M OK 18-Sep-08 22:01
> Daily_Fileserver_Backup
> 442 Full 1 188.7 M OK 18-Sep-08 23:11 BackupCatalog
> 443 Diff 119 299.1 M OK 19-Sep-08 20:01
> nightly-self-backup
> 444 Full 27 2.107 G OK 19-Sep-08 21:41
> Daily_Exchange_Backup
> 445 Full 1 113.0 M OK 19-Sep-08 21:46
> Daily_Lexware_Backup
> 446 Incr 43 203.2 M OK 19-Sep-08 22:01
> Daily_Fileserver_Backup
> 447 Full 1 188.7 M OK 19-Sep-08 23:11 BackupCatalog
>
> ====
> *
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|