Export vm's to reinstall proxmox on same hardware

DHY

Member
May 24, 2020
2
0
21
25
I have a proxmox PVE running and want to back it up and install it on the same hardware but with a clean proxmox installation. I am planning on whipping everything of the current hardware. But I don’t want to lose my VM’s. The backup option on my VM’s doesn’t work because it can’t find the disks. But I should have a backup of them somewhere. I have been searching the internet for answers but couldn’t find them and didn’t understand the commands they were doing. I can access my PVE with SSH and GUI.
current version: Virtual Environment 6.4-13
planned version: 7.0-1
 
Hi DHY,
have a look at this thread:
https://forum.proxmox.com/threads/simple-backup-method-to-usb-drive.21294/

for example:

1:
First you have to mount some usb disk
2:
backup your VM(s), for example:
Bash:
vzdump 8206 --mode stop --compress lzo --dumpdir /var/lib/usbmount/sicherung/8200_zammad
(the number 8200 on the second position is the VMID, the dumpdir is for this example the usb mount point)
3:
after the new install; restore for example :
Bash:
qmrestore -storage r5pool-zfs /var/lib/usbmount/sicherung/8200_zammad/vzdump-qemu-8200-xxx.vma.lzo 8888
(the path for the restore vma.lzo file is for this example the usb mount point in the new install ... )

The Documentations:
https://pve.proxmox.com/pve-docs/vzdump.1.html
https://pve.proxmox.com/pve-docs/
"qmrestore":
https://pve.proxmox.com/pve-docs/chapter-vzdump.html#vzdump_restore


regards, maxprox
 
Last edited:
  • Like
Reactions: DHY
Hi DHY,
have a look at this thread:
https://forum.proxmox.com/threads/simple-backup-method-to-usb-drive.21294/

for example:

1:
First you have to mount some usb disk
2:
backup your VM(s), for example:
Bash:
vzdump 8206 --mode stop --compress lzo --dumpdir /var/lib/usbmount/sicherung/8200_zammad
(the number 8200 on the second position is the VMID, the dumpdir is for this example the usb mount point)
3:
after the new install; restore for example :
Bash:
qmrestore -storage r5pool-zfs /var/lib/usbmount/sicherung/8200_zammad/vzdump-qemu-8200-xxx.vma.lzo 8888
(the path for the restore vma.lzo file is for this example the usb mount point in the new install ... )

The Documentations:
https://pve.proxmox.com/pve-docs/vzdump.1.html
https://pve.proxmox.com/pve-docs/
"qmrestore":
https://pve.proxmox.com/pve-docs/chapter-vzdump.html#vzdump_restore


regards, maxprox

Thank you it works
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!