[SOLVED] I messed up

R0yk3

Member
Apr 28, 2022
21
0
6
Hello,
I messed up my system.
Now i installed Proxmox again. All my containers and VM where on a separate disk.
I also had backups made with Proxmox backup. And those backups are also on a separate drive.
I do not have a backup of the original Proxmox system.

Is it possible to restore it all with the data i have?
I seem to not get the disks in Proxmox without deleting everything. That is the last thing I want.

I'm kind off a beginner so bear with me please.
 
The easy way is to manual mount your XFS Backup Disk, than to restore all your VMs / LXCs from the Backup.
Can you post the console output from fdisk -l?
 
it is a big list, but this is the one i want:
Disk /dev/sdl: 1.82 TiB, 2000365289472 bytes, 3906963456 sectors
Disk model: Elements 107C
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 90E5EE1D-3F19-46DA-857E-60FAC8403C93

Device Start End Sectors Size Type
/dev/sdl1 2048 3906963422 3906961375 1.8T Linux filesystem

so i gues i mount it with:
mount /dev/sdl1 /mnt/bu

i made the dir /mnt/bu already.
 
root@pve:/mnt/bu/lost+found# ls -alh /mnt/bu
total 44K
drwxr-xr-x 8 root root 4.0K May 2 2022 .
drwxr-xr-x 4 root root 4.0K Dec 1 10:29 ..
drwxr-xr-x 2 root root 4.0K May 2 2022 dump
drwxr-xr-x 3 root root 4.0K Nov 29 15:28 images
drwx------ 2 root root 16K May 2 2022 lost+found
drwxr-xr-x 2 root root 4.0K May 2 2022 private
drwxr-xr-x 2 root root 4.0K May 2 2022 snippets
drwxr-xr-x 4 root root 4.0K May 2 2022 template
 
i think i went to fast and created it also as a driectory in proxmox.

Lost everything now?? :(
 
i did that. but cannot find anything?

13.84 gig used.. That is not it.. :(
1669888717045.png
 
Last edited:
Need this one.

Disk /dev/sdk: 14.55 TiB, 16000867106816 bytes, 31251693568 sectors
Disk model: Elements 25A3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 91335677-31C0-5843-9CF4-3CEC3F587B1D

is it as simple as unmount the current one and remount the new one? or do i also have to detach it in Proxmox?
 
Disk /dev/sdk: 14.55 TiB, 16000867106816 bytes, 31251693568 sectors
Disk model: Elements 25A3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 91335677-31C0-5843-9CF4-3CEC3F587B1D

Device Start End Sectors Size Type
/dev/sdk1 2048 31251693534 31251691487 14.6T Linux filesystem
 
root@pve:~# ls -alh /mnt/bu2
total 2.1M
drwxr-xr-x 6 backup backup 92 Jul 27 14:27 .
drwxr-xr-x 5 root root 4.0K Dec 1 11:08 ..
drwxrws--- 7 root 1000 92 Dec 1 06:59 backup
drwxr-x--- 65538 backup backup 1.1M Jul 27 12:34 .chunks
drwxr-xr-x 14 backup backup 190 Jul 27 12:58 ct
-rw-r--r-- 1 backup backup 0 Jul 27 12:34 .lock
drwxr-xr-x 4 backup backup 40 Jul 27 12:52 vm
 
Code:
mkdir /mnt/bu2
mount /dev/sdk1 /mnt/bu2

Datacenter -> Storage -> Add -> Directory

ID: bu2
Directory: /mnt/bu2/backup
Content: VZDump backup file
 
Stop! Have you run a Proxmox Backup Server in past?

Code:
drwxr-x--- 65538 backup backup 1.1M Jul 27 12:34 .chunks
drwxr-xr-x 14 backup backup 190 Jul 27 12:58 ct
-rw-r--r-- 1 backup backup 0 Jul 27 12:34 .lock
drwxr-xr-x 4 backup backup 40 Jul 27 12:52 vm
<- PBS Datastorage structure
 
Yes. These are the backups made with Proxmox Backup

The other files are on a nvme disk.
This one.

Disk /dev/nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WDS100T2B0C-00PXH0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7A063CA6-5F7B-CF4C-9220-F45265372AC4

Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/nvme1n1p9 1953507328 1953523711 16384 8M Solaris reserved 1
 
Last edited:

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!