Am 19.06.24 um 09:46 schrieb Radosław Korzeniewski:

Then you should put all your new tapes in the Scratch pool during labeling, so Bacula can take one to the selected pool when required. Finally you should configure the "Recycle" pool parameter pointing to the Scratch pool, so all your unused tapes will return to it, closing the cycle.

When carefully configured it will automatically rotate all your tapes, which is good for them.

The rule of thumb for the tape backups in Bacula is to use as few pools as possible. Especially for catalog backup which is technically redundant (unneeded, see below) and you save it for time saving only during recovery. If you have a single tape drive then you are limited to a single pool usage at any given time, and all your jobs which require another pool will wait. When your backup window is tight then you want to avoid this. I personally create tape pools based on required retention, i.e. Tape1W or Tape1M and join all the pools with similar retention time.


I think I have to start over with pools.

my approach with pools daily, weekly, monthly doesn't work so far

I see various issues, maybe related to defective tapes also.

Volumes that are in mode "Append" are loaded and not written to as in:


25-Jun 12:52 samba-sd JobId 2840: 3304 Issuing autochanger "load Volume CMR945L6, Slot 6, Drive 0" command. 25-Jun 12:52 samba-sd JobId 2840: 3305 Autochanger "load Volume CMR945L6, Slot 6, Drive 0", status is OK. 25-Jun 12:53 samba-sd JobId 2840: Volume "CMR945L6" previously written, moving to end of data.
25-Jun 12:53 samba-sd JobId 2840: Warning: For Volume "CMR945L6":
The number of files mismatch! Volume=350 Catalog=349
Correcting Catalog
25-Jun 12:53 samba-sd JobId 2840: [SI0202] End of Volume "CMR945L6" at 350:1 on device "HP-Ultrium" (/dev/nst0). Write of 262144 bytes got -1.
25-Jun 12:53 samba-sd JobId 2840: Re-read of last block succeeded.
25-Jun 12:53 samba-sd JobId 2840: End of medium on Volume "CMR945L6" Bytes=1,310,721 Blocks=1 at 25-Jun-2024 12:53. 25-Jun 12:53 samba-sd JobId 2840: 3307 Issuing autochanger "unload Volume CMR945L6, Slot 6, Drive 0" command. 25-Jun 12:54 samba-sd JobId 2840: 3304 Issuing autochanger "load Volume CMR915L6, Slot 5, Drive 0" command.


I "Purge" them, mark them as "Append" ... doesn't work.

I don't get a "weekly" run to write to 4 tapes in a row without my intervention. Bad.

---

Yes, I should show my config.

I assume dropping the configfiles to my nextcloud isn't appreciated as then the mailing list archives won't contain all information ...

my director conf is 863 lines long, I assume I should pick out the relevant parts. Will try to.





_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to