proxmox-backup/www/tape/window
Dominik Csapak 73bd988c42 ui: tape: fix restore datastore mapping parameter construction
We recently took into account the selected datastore when restoring
from tape, but the snapshot grids value may not only be a single
datastore, it can also be a list of snapshots, datastores or 'all'.

Handle these cases and extract the source datastore correctly.

This fixes tape restoration when not a whole datastore is selected.

Reported in the forum:
https://forum.proxmox.com/threads/restore-from-lto-parameter-verification-errors-store.128445

Fixes: df881ed0 ("ui: tape: fix restoring a single datastore")
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-06-06 13:12:43 +02:00
..
ChangerEdit.js ui: tape: add Edit Windows 2021-01-28 15:07:29 +01:00
DriveEdit.js ui: rename 'Changer Slot' to 'Drive Number' 2021-02-27 09:51:13 +01:00
EncryptionEdit.js ui: tape: add EncryptionPanel to add/remove encryption keys 2021-02-04 17:35:46 +01:00
Erase.js ui: tape: rename erase to format 2021-04-14 12:25:53 +02:00
LabelMedia.js ui: tape: prevent mislabeling tapes in changers 2023-04-24 10:02:20 +02:00
PoolEdit.js ui: tape/pool: set onlineHelp for edit/add window 2021-03-28 13:29:02 +02:00
TapeBackup.js ui: tape/Backup: add namespace and recursion field for manual backup 2022-05-13 14:09:53 +02:00
TapeBackupJob.js ui: tape/BackupJobEdit: add onlineHelp 2022-05-13 14:09:53 +02:00
TapeRestore.js ui: tape: fix restore datastore mapping parameter construction 2023-06-06 13:12:43 +02:00