proxmox-backup/www/tape/window
Dominik Csapak df881ed0fc ui: tape: fix restoring a single datastore
if the user selected a single datastore to restore from tape on a
media-set that includes more than one, the ui suggests (and is
intended to) that only that datastore will be restored on the selected
target.

The logic to construct the store mapping parameter did not consider that
case, and simply gave the target as default store, which meant all
datastores were restored onto the target.

To fix that, we have to get the source datastore from the field, and
construct the correct parameter ("source=target").

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-05-17 11:28:23 +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 restoring a single datastore 2023-05-17 11:28:23 +02:00