import VE backup on external USB to new PVE

stingray7-5

New Member
Mar 13, 2024
6
0
1
Hey all,

sorry bothering you.
I am really stuck with this issue. I have read multiple entries about that, but still I am not able to continue.

I have a PVE#1 with multiple VMs.
I have mounted a USBdrive, formated and choose directory mode.
I was able to access that drive for the backup and that was also successful.

Shuting down the PVE#1 and removed the USBdrive.
connected that on PVE#2 and started up.

In the Datacenter-menu under "Resource Mappings" I was also able to add the USBdrive to the pve2.

But, how do I get this device/directory/backup to be available in the GUI to restore the VMs to this PVE#2?
I am able to see that disk unter "PVE2, Disks" (overview) where all the local disks are presented, incl. the USBdrive with xfs.
But it is not presented unter "PVE2, Disks, Directory".
without that I am not able to restore the data using the gui.

I highly appreciate your assistance.

Best regards,
stingray
 
But, how do I get this device/directory/backup to be available in the GUI to restore the VMs to this PVE#2?
I am able to see that disk unter "PVE2, Disks" (overview) where all the local disks are presented, incl. the USBdrive with xfs.
But it is not presented unter "PVE2, Disks, Directory".
without that I am not able to restore the data using the gui.
You can't do that using the GUI. Like most advanced stuff with PVE, you will have to do that via CLI. Create a mountpoint using mkdir /mnt/someMountpoint, then use the mount -t xfs /dev/disk/by-id/yourdisk-partX /mnt/someMountpoint command to mount it temporarily or edit your fstab if you want it to automount each boot. Once it is mounted you could add a new Directory storage at Datacenter -> Storage -> Add -> Directory, point it to that mountpoint and then do a pvesm set YourStorageID --is_mountpoint /mnt/someMountpoint
 
Last edited:
  • Like
Reactions: takeokun
You can't do that using the GUI. Like most advanced stuff with PVE, you will have to do that via CLI. Create a mountpoint using mkdir /mnt/someMountpoint, then use the mount -t xfs /dev/disk/by-id/yourdisk-partX /mnt/someMountpoint command to mount it temporarily or edit your fstab if you want it to automount each boot. Once it is mounted you could add a new Directory storage at Datacenter -> Storage -> Add -> Directory, point it to that mountpoint and then do a pvesm set YourStorageID --is_mountpoint /mnt/someMountpoint
Thank you @Dunuin :

I than don't get that option to add USB resources in the GUI, if you are not able to mount them into ProxmoxVE...
 

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!