On my PVE I had 2 backup storage locations defined, pbs1 and pbs-offsite1 (which is a remote that syncs from pbs1). The reason for this configurations is for the case where the primary backup server was unavailable, or if backups had been deleted from it, they could still be restored from the offsite.
Backups were working fine on all nodes, until I migrated one VM from one node to another, and it's backups started failing with "error: backup owner check failed (root@pam!iti_backup != root@pam)". I tried a manual backup and it also failed. Then I realized pbs-offsite1 was being picked as the default backup location from both the manual backup and backup view drop downs. And for this migrated VM apparently it was also the one being used. After I did one manual backup on that VM to the right location, then the backup job fixed itself; do they defualt to the last backup location for each VM? I guess the only reason it was working fine is because I added the offsite location AFTER the main was already configured and working.
So this begs the question, is there a way to designate a default storage location when you have multiple defined (by the way I have also encounter a similar issue when having multiple VM storage locations and when you try to create a new VM the GUI defaults to the wrong one)? Funny enough, when I asked ChatGPT, it told me to add a line to the storage.cfg with "priority: 10" and "priority: 5" for the backup locations.
Backups were working fine on all nodes, until I migrated one VM from one node to another, and it's backups started failing with "error: backup owner check failed (root@pam!iti_backup != root@pam)". I tried a manual backup and it also failed. Then I realized pbs-offsite1 was being picked as the default backup location from both the manual backup and backup view drop downs. And for this migrated VM apparently it was also the one being used. After I did one manual backup on that VM to the right location, then the backup job fixed itself; do they defualt to the last backup location for each VM? I guess the only reason it was working fine is because I added the offsite location AFTER the main was already configured and working.
So this begs the question, is there a way to designate a default storage location when you have multiple defined (by the way I have also encounter a similar issue when having multiple VM storage locations and when you try to create a new VM the GUI defaults to the wrong one)? Funny enough, when I asked ChatGPT, it told me to add a line to the storage.cfg with "priority: 10" and "priority: 5" for the backup locations.