Skip to content

Snap Resore Proxmox

Pure Storage steps

  1. Find the corret snap to restore
  2. Copy the snap into a Volume (give the volume a name ending in _temp)
  3. Add volume to the required host
  4. Find and copy the serial of the new volume

Host shell steps

Access the shell for the Host that the snap is required to be mounted on (Where the restore is needed)

  1. Rescan iscsi
    iscsiadm -m node --rescan
    
  2. rescan multipath
    multipath -r
    
  3. List the multipath with the serial of the volume
    multipath -ll | grep -i coppied_volume_serial
    
  4. Run the code below with a new name and the mpath seen in thr step above
    vgimportclone --basevgname new_name /dev/mapper/mpath_above
    
  5. Show the current active volumes by running:
    vgs
    
  6. Activate the volume using:
    vgchange -ay VertexINC142454
    

Proxmox frontend steps

  1. Go to Datacenter -> Storage -> Add -> LVM

  2. Select the new Volume and give it a name and assign it to the host where the volume has been attatched (DO NOT CHECK THE SHARED OPTION)

  3. Snap is now available on proxmox to be mounted.

If you wan to attatch a VM disk from the snap to an existing/running VM, the command is as follws:

qm set 102 --scsi0 storage_name:vm-102-disk-0,discard=on,ssd=1

Warning

Make certain to add the correct VMID and storage number