Skip to content

Commit

Permalink
proxmox: use restore storage for reset as well
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 12, 2024
1 parent 7870ed7 commit 9152512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/proxmox/install-scrypted-proxmox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ then
fi

pct stop $VMID 2>&1 > /dev/null
pct restore $VMID $SCRYPTED_TAR_ZST $@ $RESTORE_STORAGE
pct restore $VMID $SCRYPTED_TAR_ZST $RESTORE_STORAGE $@

if [ "$?" != "0" ]
then
Expand Down Expand Up @@ -249,7 +249,7 @@ then

VMID=$RESTORE_VMID
echo "Restoring with reset image..."
pct restore --force 1 $VMID *.tar $@
pct restore --force 1 $VMID *.tar $RESTORE_STORAGE $@

echo "Restoring volumes..."
move_volume $SCRYPTED_BACKUP_VMID $VMID mp0 hide-warning
Expand Down

0 comments on commit 9152512

Please sign in to comment.