how would i mount an old disk from a non booting system to move backups over that are stored locally?
This will only work ifmount /dev/sdb3/ /mnt/OldDisk/
/dev/sdb3
contains a file system (note also that there should not be any trailing slashes for the device name). Please post the output of lsblk -o +FSTYPE
.vgscan
and vgchange -ay <vg>
are the commands you need to find and activate the logical volume group (note that you need all disks which were part of the VG), while lvs
allows you to list the logical volumes once the volume group is active, which you then can mount via mount /dev/<vg>/<lv> <mountpoint>
.You have got a LVM and since both volume groups are namedroot@proxmox:~# vgscan
WARNING: VG name pve is used by VGs JNI9qI-D6pe-2ghd-HvF7-vHTB-ruRc-Zb696W and U7owc2-dij9-94XG-RcfL-8cDz-YO9t-E0nbf1.
Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
Found volume group "pve" using metadata type lvm2
Found volume group "pve" using metadata type lvm2
Found volume group "VMStorage" using metadata type lvm2
pve
, you will first have to rename the old one to e.g. oldpve
by running vgrename --devices /dev/sdb3 pve oldpve
. Then you can activate via vgchange -ay oldpve
and continue as described in my initial reply.You will have to replaceroot@proxmox:~# vgrename --devices /dev/sdb3 pve oldpve
Volume group "pve" successfully renamed to "oldpve"
root@proxmox:~# vgscan
Found volume group "oldpve" using metadata type lvm2
Found volume group "pve" using metadata type lvm2
Found volume group "VMStorage" using metadata type lvm2
root@proxmox:~# vgchange -ay <vg>
-bash: syntax error near unexpected token `newline'
<vg>
, which I put as a required place holder for the volume group name with the actual name, so in your case it is now oldpve
. The same is true for the mount command, wheremount /dev/<vg>/<lv> <mountpoint>
# Would look like
mount /dev/oldpve/root /mnt/OldDisk
Since the files for a default setup are located atso how do I now find and access the backups stored on that disk?
/var/lib/vz/dump
, you will find them for your old systems mounted disk at /mnt/OldDisk/var/lib/vz/dump
You will have to place them in the dump folder for that storage as well. Backup files are always looked for in that folder by default, if not configured differently.Hi have found them and copied.
the files to the USB stick that mounted as ExternalBackups but they are not showing to restore them
root@proxmox:/mnt/OldDisk/var/lib/vz/dump# ls
vzdump-qemu-100-2022_11_03-15_35_51.log vzdump-qemu-100-2023_08_21-15_20_54.vma.zst
vzdump-qemu-100-2022_11_03-15_35_51.vma.zst vzdump-qemu-100-2023_08_21-15_20_54.vma.zst.notes
vzdump-qemu-100-2022_11_03-15_35_51.vma.zst.notes vzdump-qemu-101-2022_11_03-14_00_35.log
vzdump-qemu-100-2022_11_10-21_47_11.log vzdump-qemu-101-2022_11_03-14_00_35.vma.zst
vzdump-qemu-100-2022_11_10-21_47_11.vma.zst vzdump-qemu-101-2022_11_03-14_00_35.vma.zst.notes
vzdump-qemu-100-2022_11_10-21_47_11.vma.zst.notes vzdump-qemu-101-2023_08_21-15_22_16.log
vzdump-qemu-100-2023_08_21-15_20_54.log
root@proxmox:/mnt/OldDisk/var/lib/vz/dump# cp *.* /mnt/pve/ExternalBackups
root@proxmox:/mnt/OldDisk/var/lib/vz/dump# cp *.* /mnt/pve/ExternalBackups
^C
root@proxmox:/mnt/OldDisk/var/lib/vz/dump# cd /mnt/pve/ExternalBackups
root@proxmox:/mnt/pve/ExternalBackups# ls
dump vzdump-qemu-100-2022_11_03-15_35_51.vma.zst
images vzdump-qemu-100-2022_11_03-15_35_51.vma.zst.notes
lost+found vzdump-qemu-100-2022_11_10-21_47_11.log
private vzdump-qemu-100-2022_11_10-21_47_11.vma.zst
snippets vzdump-qemu-100-2022_11_10-21_47_11.vma.zst.notes
template vzdump-qemu-100-2023_08_21-15_20_54.log
vzdump-qemu-100-2022_11_03-15_35_51.log vzdump-qemu-100-2023_08_21-15_20_54.vma.zst
root@proxmox:/mnt/pve/ExternalBackups#
View attachment 54849
That is because you did not configure the storagei can now see the backups but get this restoring.
restore vma archive: zstd -q -d -c /mnt/pve/ExternalBackups/dump/vzdump-qemu-100-2022_11_03-15_35_51.vma.zst | vma extract -v -r /var/tmp/vzdumptmp15129.fifo - /var/tmp/vzdumptmp15129
CFG: size: 466 name: qemu-server.conf
DEV: dev_id=1 size: 96636764160 devname: drive-scsi0
CTIME: Thu Nov 3 15:35:52 2022
error before or during data restore, some or all disks were not completely restored. VM 101 state is NOT cleaned up.
TASK ERROR: command 'set -o pipefail && zstd -q -d -c /mnt/pve/ExternalBackups/dump/vzdump-qemu-100-2022_11_03-15_35_51.vma.zst | vma extract -v -r /var/tmp/vzdumptmp15129.fifo - /var/tmp/vzdumptmp15129' failed: Content type 'images' is not available on storage 'local'
local
to contain disk images. You will have to adjust this in Datacenter > Storage > local > Edit
by selecting the desired contents from the dropdown menu.No,im still not able to get this booting.
can I pay you for a one off support case to get this working for me? if so what would the cost be?
View attachment 54852