[SOLVED] restore from backup - mount a directory from a usb from another host

Thechaser

New Member
Mar 28, 2024
19
8
3
A vm that has given me some problems did not seems to be backed up on my smb share.
I have it however backed up on my usb.

device name: '/dev/sdc1'
from another host that is now reinstalled
it contains the backups

how do I attach the storage to proxmox?
any guide or steps to that?

I found some topic's on the forum, but not how to do it.

Thank you
 
found it - worked:

Mounting an ext4 USB Drive + Adding It to Proxmox GUI
Step 1 — Create the mount folder
mkdir -p /mnt/pve/extUSB
Step 2 — Get the UUID
blkid /dev/sdc1
Example output:
UUID="1234abcd-5678-90ef-1234-abcdef987654"
Step 3 — Add the entry to /etc/fstab
nano /etc/fstab
Add this line (replace the UUID with your own):
UUID=1234abcd-5678-90ef-1234-abcdef987654 /mnt/pve/extUSB ext4 defaults 0 2
Step 4 — Reload systemd
systemctl daemon-reload
Step 5 — Test the fstab mount
mount -a
If no errors appear, everything is correct.
Step 6 — Verify the mount
df -h | grep extUSB
Step 7 — Add the drive as storage in the Proxmox GUI
Datacenter ® Storage ® Add ® Directory
Settings:
ID: extUSB
Directory: /mnt/pve/extUSB
Content: select what the drive will store (e.g., VZDump backup file, ISO image, Disk image, ...)
Nodes: select the node the USB is attached to
Click Add.