Tape on PBS incomplete runs not a single restore point is usable

Feb 4, 2024
74
6
8
Hello, since some days and the last upgrade to the latest version of PBS (3.3.4) we run into troubles with backup to tape. Tape writes until 99,1 % and then runs out of space and just fails. So in the content folder you see the tapes then marked as incomplete and none of the written backups can be used:

1743675339844.png
is this by design?
 
hi, just so you know, we'll look into this, but just to clarify:

the logs looked like you canceled the task while it was waiting for the 'MITTWOCH' tape (because of the 'abort requested - aborting task' line)
Was that by accident?

Also which media set is missing a tape, the new one or the old one?
 
The Tape which was full Got the Missing Status.
What exactly do you mean with this?

a 'tape' cannot really be missing (it can be on/off-site) but a media-set can be incomplete (when not all tapes exist that are necessary)

can you post the output of 'proxmox-tape media list' ?
 
ok so i think this is not entirely unexpected:

you have an old media-set (f3def08e-....) that had 2 tapes in it: FEBRUAR2025 and a second one (my guess would be that it was the 'MITTWOCH' tape)
this media set is 'expired' so PBS can choose those tapes for new media-sets

when you ran your backup (from your task log above) it chose the MITTWOCH tape and put it in the new media-set while removing it from the old one.
Since the old media-set is now incomplete (the first tape was used for something else) it shows as such

there might be some improvements we can do when exactly we remove/move the tapes between media sets so that it does not happen already when it's allocated, but
when writing on it really starts

though with the information i have this is a bit speculative (i'd need the full task logs of both the old media-set backups + the new one)
 
Also (writing in a seperate message for visibility):

I think you have slightly misconfigured your media pools and backup schedules. It seems that you want to have seperate media-pools for monday/tuesday/etc. but all are in the same pool (LTO8). this means that when a backup takes up more than one tape, it will automatically choose any other tape that is available (e.g. expired)
to better reflect your backup strategy, you should create a pool for each weekday/month/etc, so that the tapes can't be chosen for different days, see also:
https://pbs.proxmox.com/docs/tape-backup.html#weekday-scheme