[pbs-devel] applied: [PATCH proxmox-backup 2/2] ui: tape: fix restoring a single datastore

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 17 11:31:02 CEST 2023


Am 25/04/2023 um 15:59 schrieb Dominik Csapak:
> 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 at proxmox.com>
> ---
>  www/tape/window/TapeRestore.js | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pbs-devel mailing list