add backup disk in other proxmox

dhhos

New Member
May 20, 2024
1
0
1
how can i add my backup disk that has iso images in another proxmox, cause when i put this disk, normally proxmox ask for delete the disk content and inicialize GPT, but i need restore the iso, what are the steps to perform this task and mount the volume.
 
Hi,

May you post the output of the `lsblk` command after you add the ISO disk into Proxmox VE?
 
There are a couple of ways of doing this. Is this a USB disk?

' dmesg |tail ' after plugging it into a running system should give you the short device name e.g. /dev/sdb - otherwise
' ls -lrt /dev/disk/by-id ' and look for the new entries based on date/time.

Then to verify the disk size, ' fdisk -l /dev/sdb ' # make sure to substitute proper short drive letter

mkdir -pv /mnt/tmp

If your ISOs are on e.g. /dev/sdb1:

mount /dev/sdb1 /mnt/tmp -oro # mount drive on /mnt/tmp, read-only

At this point I recommend you install Midnight Commander for convenience.

apt-get update; apt install -y mc

If you are copying ISOs to the default destination,

cd /var/lib/vz/template/iso/

At this point you can either cp the ISOs from /mnt/tmp at the commandline in the usual way, or

fire up ' mc ', hit Tab to go to the 2nd pane, issue ' cd /mnt/tmp ' and hit F5 key to copy the ISOs from pane2 to pane1.

Otherwise, you could mount the disk on another PC and transfer the ISOs over the network using e.g. WinSCP, but then you'd have to add a non-root user and mess around with chown/chmod permissions unless you know the secret of using tar + netcat
 
Last edited: