Exporting snapshots and backups

KenHorse

Member
Mar 18, 2022
65
0
11
70
As the subject says - is there a way to export to other computer running Proxmox?
 
Last edited:
Depends on your storage and backup tool.

You could for example backup the VMs/LXCs using Vzdump to the Zvdump Storage on server A. Then copy over the backup files, using the program of your choice, to the Vzdump storage on server B and restore the VMs/LXCs there.

If you are using ZFS as your storage you can use ZFS replication (see here for example) to copy datasets/zvols between pools or even hosts and this will also include snapshots.
 
I'm using the backup tool from within a VM, which creates a .gz file in /var/lib/vz/dump.

So in its basic form, I could simply move the created /var/lib/vz/dump/<.gz file>, move it to a different physical server and then restore it and have a copy of that VM on the new server?
 
I'm using the backup tool from within a VM, which creates a .gz file in /var/lib/vz/dump.
I guess you mean from the VM page of the PVE webUI?
So in its basic form, I could simply move the created /var/lib/vz/dump/<.gz file>, move it to a different physical server and then restore it and have a copy of that VM on the new server?
Jup. Just make sure to copy the vzdump backup files to the vzdump storage on the other server so PVE can find the backups.
 
  • Like
Reactions: KenHorse
Thanks so much for your responses!

One last question if I may. Is there any way to share the same USB port (with a USB > serial converter) between 2 VMs or am I SOL?
 
In general multiple VMs can't share the same hardware. As soon as you passthrough a device to a VM neither the host nor any other guest might use it at the same time. So I guess that won't work. Maybe it will work when only one of those VMs is running at a time.
 
  • Like
Reactions: KenHorse