Backup error 500

zacra

New Member
Aug 3, 2022
5
0
1
Good morning,

I just upgraded from proxmox 7 to 8. I started with a new installation to have a clean proxmox. Before I made backups on USB media with :
Code:
mount -o rw /dev/sdb1 /media/usb-disk
mkdir backups-proxmox
Code:
DATACENTER > Storage
ADD > directory
ID : usb-proxmox-backups
directory : /media/usb-disk/backups-proxmox
Content : Disk Image + VZDump backup file
Dans DATACENTER > Backup
Add

After checking, I have my backups on the USB key. so I proceeded to format my hard drive and install.
Once Proxmox 8 was installed, I did:

Code:
mount -o rw /dev/sdb1 /media/usb-disk
then in the PVE interface the USB-PROXMOX-BACKUPS > BACKUP and select the VM and RESTORE

My files are in tar.zst and vma.zst


When I restore my files I have 3 different errors:

- 1st error: Restoring lxc-100.tar.zst
Code:
recovering backed-up configuration from 'usb-proxmox-backups:backup/vzdump-lxc-100-2023_11_05-12_42_05.tar.zst'
  Logical volume "vm-101-disk-0" created.
Creating filesystem with 2359296 4k blocks and 589824 inodes
Filesystem UUID: e29bc3d9-06c2-42c4-bebd-d77abe5994f2
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
restoring 'usb-proxmox-backups:backup/vzdump-lxc-100-2023_11_05-12_42_05.tar.zst' now..
extracting archive '/media/usb-disk/backups-proxmox/dump/vzdump-lxc-100-2023_11_05-12_42_05.tar.zst'
/*stdin*\ : Decoding error (36) : Data corruption detected
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
  Logical volume "vm-101-disk-0" successfully removed.
TASK ERROR: unable to restore CT 101 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/101/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

- 2nd error: quemu-101.vma.zst
Failed to extract config from VMA archive: zstd: /media/usb-disk/backups-proxmox/dump/vzdump-qemu-101-2023_11_05-12_43_09.vma.zst: unsupported format (500)

- 3rd error: lxc-103-tar-zst
Error: archive contains no configuration file (500).

I don't understand why no archive can be restored... It looks like I lost everything... What is your opinion?
 
I'm coming back to the forum even if I haven't heard back... For several days I've been on proxmox to reinstall everything. Unfortunately for me, I lost a lot of datas :(

I tried reproducing the backups to figure out why it's not working.

If I go to Datacenter > Backup and create a backup from the PVE to the USB stick, I cannot restore.
I have this error: Error: archive contains no configuration file (500).

I need help setting up an automatic USB drive backup that works... Why does VM backup work but PVE backup doesn't? I don't understand why the archive have not a configuration file... The task is Ok :

it's Task viewer :
Code:
()
INFO: starting new backup job: vzdump --prune-backups 'keep-last=3' --compress zstd --notes-template '{{guestname}}' --storage usb-proxmox-backups --node pve --mode snapshot --mailnotification always --all 1
INFO: filesystem type on dumpdir is 'exfat' -using /var/tmp/vzdumptmp294381_101 for temporary files
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2023-11-11 12:46:15
INFO: status = running
INFO: CT Name: docker
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-101-disk-0_vzdump" created.
INFO: creating vzdump archive '/media/usb-disk/backups-proxmox/dump/vzdump-lxc-101-2023_11_11-12_46_15.tar.zst'
INFO: Total bytes written: 3002716160 (2.8GiB, 109MiB/s)
INFO: archive file size: 904MB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=3
INFO: pruned 0 backup(s)
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-101-disk-0_vzdump" successfully removed.
INFO: Finished Backup of VM 101 (00:00:28)
INFO: Backup finished at 2023-11-11 12:46:43
INFO: filesystem type on dumpdir is 'exfat' -using /var/tmp/vzdumptmp294381_102 for temporary files
INFO: Starting Backup of VM 102 (lxc)
INFO: Backup started at 2023-11-11 12:46:43
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: esphome
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/media/usb-disk/backups-proxmox/dump/vzdump-lxc-102-2023_11_11-12_46_43.tar.zst'
INFO: Total bytes written: 1308416000 (1.3GiB, 96MiB/s)
INFO: archive file size: 501MB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=3
INFO: pruned 0 backup(s)
INFO: Finished Backup of VM 102 (00:00:14)
INFO: Backup finished at 2023-11-11 12:46:57
INFO: filesystem type on dumpdir is 'exfat' -using /var/tmp/vzdumptmp294381_104 for temporary files
INFO: Starting Backup of VM 104 (lxc)
INFO: Backup started at 2023-11-11 12:46:57
INFO: status = running
INFO: CT Name: uptimekuma
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-104-disk-0_vzdump" created.
INFO: creating vzdump archive '/media/usb-disk/backups-proxmox/dump/vzdump-lxc-104-2023_11_11-12_46_57.tar.zst'
INFO: Total bytes written: 1270978560 (1.2GiB, 79MiB/s)
INFO: archive file size: 417MB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=3
INFO: pruned 0 backup(s)
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-104-disk-0_vzdump" successfully removed.
INFO: Finished Backup of VM 104 (00:00:17)
INFO: Backup finished at 2023-11-11 12:47:14
INFO: filesystem type on dumpdir is 'exfat' -using /var/tmp/vzdumptmp294381_105 for temporary files
INFO: Starting Backup of VM 105 (lxc)
INFO: Backup started at 2023-11-11 12:47:14
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: node-red
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/media/usb-disk/backups-proxmox/dump/vzdump-lxc-105-2023_11_11-12_47_14.tar.zst'
INFO: Total bytes written: 1143746560 (1.1GiB, 87MiB/s)
INFO: archive file size: 369MB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=3
INFO: pruned 0 backup(s)
INFO: Finished Backup of VM 105 (00:00:13)
INFO: Backup finished at 2023-11-11 12:47:27
INFO: filesystem type on dumpdir is 'exfat' -using /var/tmp/vzdumptmp294381_110 for temporary files
INFO: Starting Backup of VM 110 (lxc)
INFO: Backup started at 2023-11-11 12:47:27
INFO: status = running
INFO: CT Name: NextCloud
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-110-disk-0_vzdump" created.
INFO: creating vzdump archive '/media/usb-disk/backups-proxmox/dump/vzdump-lxc-110-2023_11_11-12_47_27.tar.zst'
INFO: Total bytes written: 50183557120 (47GiB, 20MiB/s)
INFO: archive file size: 38.50GB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=3
INFO: pruned 0 backup(s)
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-110-disk-0_vzdump" successfully removed.
INFO: Finished Backup of VM 110 (00:42:01)
INFO: Backup finished at 2023-11-11 13:29:28
INFO: Starting Backup of VM 200 (qemu)
INFO: Backup started at 2023-11-11 13:29:28
INFO: status = running
INFO: VM Name: homeassistant
INFO: include disk 'scsi0' 'local-lvm:vm-200-disk-1' 40G
INFO: include disk 'efidisk0' 'local-lvm:vm-200-disk-0' 4M
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating vzdump archive '/media/usb-disk/backups-proxmox/dump/vzdump-qemu-200-2023_11_11-13_29_28.vma.zst'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
INFO: started backup task 'ccf182be-fd3e-426c-ac2a-472bcd453834'
INFO: resuming VM again
INFO:   0% (119.6 MiB of 40.0 GiB) in 3s, read: 39.9 MiB/s, write: 26.0 MiB/s
INFO:   1% (768.5 MiB of 40.0 GiB) in 12s, read: 72.1 MiB/s, write: 21.4 MiB/s
INFO:   2% (1.0 GiB of 40.0 GiB) in 15s, read: 87.0 MiB/s, write: 65.9 MiB/s
INFO:   4% (1.7 GiB of 40.0 GiB) in 18s, read: 227.2 MiB/s, write: 58.1 MiB/s
INFO:   9% (4.0 GiB of 40.0 GiB) in 21s, read: 786.8 MiB/s, write: 80.6 MiB/s
INFO:  10% (4.4 GiB of 40.0 GiB) in 24s, read: 143.6 MiB/s, write: 105.7 MiB/s
INFO:  11% (4.7 GiB of 40.0 GiB) in 27s, read: 94.2 MiB/s, write: 91.6 MiB/s
INFO:  12% (4.8 GiB of 40.0 GiB) in 30s, read: 54.4 MiB/s, write: 45.7 MiB/s
INFO:  13% (5.2 GiB of 40.0 GiB) in 42s, read: 32.0 MiB/s, write: 32.0 MiB/s
INFO:  14% (5.6 GiB of 40.0 GiB) in 49s, read: 59.0 MiB/s, write: 43.6 MiB/s
INFO:  15% (6.0 GiB of 40.0 GiB) in 1m, read: 36.2 MiB/s, write: 31.6 MiB/s
INFO:  16% (6.4 GiB of 40.0 GiB) in 1m 12s, read: 35.3 MiB/s, write: 31.1 MiB/s
INFO:  17% (7.1 GiB of 40.0 GiB) in 1m 21s, read: 75.5 MiB/s, write: 43.0 MiB/s
INFO:  19% (7.6 GiB of 40.0 GiB) in 1m 24s, read: 179.4 MiB/s, write: 58.7 MiB/s
INFO:  20% (8.0 GiB of 40.0 GiB) in 1m 34s, read: 41.7 MiB/s, write: 38.5 MiB/s
INFO:  21% (8.4 GiB of 40.0 GiB) in 1m 51s, read: 24.5 MiB/s, write: 24.5 MiB/s
INFO:  22% (8.9 GiB of 40.0 GiB) in 2m 2s, read: 42.5 MiB/s, write: 33.3 MiB/s
INFO:  23% (9.2 GiB of 40.0 GiB) in 2m 5s, read: 120.8 MiB/s, write: 77.3 MiB/s
INFO:  24% (9.8 GiB of 40.0 GiB) in 2m 10s, read: 126.1 MiB/s, write: 43.4 MiB/s
INFO:  27% (10.9 GiB of 40.0 GiB) in 2m 13s, read: 343.2 MiB/s, write: 47.4 MiB/s
INFO:  28% (11.2 GiB of 40.0 GiB) in 2m 19s, read: 60.4 MiB/s, write: 60.3 MiB/s
INFO:  29% (11.6 GiB of 40.0 GiB) in 2m 25s, read: 73.7 MiB/s, write: 49.7 MiB/s
INFO:  32% (12.9 GiB of 40.0 GiB) in 2m 28s, read: 414.5 MiB/s, write: 51.5 MiB/s
INFO:  33% (13.2 GiB of 40.0 GiB) in 2m 37s, read: 40.3 MiB/s, write: 39.6 MiB/s
INFO:  34% (13.6 GiB of 40.0 GiB) in 2m 45s, read: 55.3 MiB/s, write: 54.7 MiB/s
INFO:  36% (14.5 GiB of 40.0 GiB) in 2m 48s, read: 287.6 MiB/s, write: 32.0 MiB/s
INFO:  37% (14.8 GiB of 40.0 GiB) in 3m 4s, read: 22.2 MiB/s, write: 17.5 MiB/s
INFO:  38% (15.2 GiB of 40.0 GiB) in 3m 13s, read: 46.7 MiB/s, write: 46.6 MiB/s
INFO:  39% (15.6 GiB of 40.0 GiB) in 3m 21s, read: 51.7 MiB/s, write: 51.4 MiB/s
INFO:  41% (16.5 GiB of 40.0 GiB) in 3m 28s, read: 121.7 MiB/s, write: 34.2 MiB/s
INFO:  42% (17.0 GiB of 40.0 GiB) in 3m 37s, read: 59.6 MiB/s, write: 36.0 MiB/s
INFO:  43% (17.6 GiB of 40.0 GiB) in 3m 40s, read: 197.0 MiB/s, write: 68.7 MiB/s
INFO:  44% (17.7 GiB of 40.0 GiB) in 3m 43s, read: 50.8 MiB/s, write: 50.4 MiB/s
INFO:  47% (18.9 GiB of 40.0 GiB) in 3m 46s, read: 414.5 MiB/s, write: 66.8 MiB/s
INFO:  48% (19.2 GiB of 40.0 GiB) in 3m 50s, read: 76.1 MiB/s, write: 67.9 MiB/s
INFO:  49% (19.6 GiB of 40.0 GiB) in 4m, read: 40.6 MiB/s, write: 36.8 MiB/s
INFO:  52% (20.9 GiB of 40.0 GiB) in 4m 3s, read: 436.2 MiB/s, write: 57.2 MiB/s
INFO:  53% (21.3 GiB of 40.0 GiB) in 4m 9s, read: 63.4 MiB/s, write: 59.3 MiB/s
INFO:  54% (21.6 GiB of 40.0 GiB) in 4m 12s, read: 118.4 MiB/s, write: 75.1 MiB/s
INFO:  56% (22.7 GiB of 40.0 GiB) in 4m 16s, read: 262.8 MiB/s, write: 75.9 MiB/s
INFO:  57% (23.0 GiB of 40.0 GiB) in 4m 19s, read: 112.4 MiB/s, write: 78.1 MiB/s
INFO:  58% (23.2 GiB of 40.0 GiB) in 4m 24s, read: 49.3 MiB/s, write: 47.5 MiB/s
INFO:  59% (23.6 GiB of 40.0 GiB) in 4m 31s, read: 59.0 MiB/s, write: 57.0 MiB/s
INFO:  62% (25.1 GiB of 40.0 GiB) in 4m 34s, read: 509.9 MiB/s, write: 90.5 MiB/s
INFO:  63% (25.3 GiB of 40.0 GiB) in 4m 37s, read: 72.5 MiB/s, write: 72.2 MiB/s
INFO:  64% (25.6 GiB of 40.0 GiB) in 4m 42s, read: 63.1 MiB/s, write: 62.8 MiB/s
INFO:  65% (26.3 GiB of 40.0 GiB) in 4m 45s, read: 210.2 MiB/s, write: 34.8 MiB/s
INFO:  67% (27.0 GiB of 40.0 GiB) in 4m 48s, read: 240.5 MiB/s, write: 84.9 MiB/s
INFO:  68% (27.2 GiB of 40.0 GiB) in 4m 53s, read: 49.3 MiB/s, write: 49.1 MiB/s
INFO:  75% (30.1 GiB of 40.0 GiB) in 4m 57s, read: 749.3 MiB/s, write: 18.0 MiB/s
INFO:  88% (35.3 GiB of 40.0 GiB) in 5m 1s, read: 1.3 GiB/s, write: 12.0 KiB/s
INFO: 100% (40.0 GiB of 40.0 GiB) in 5m 5s, read: 1.2 GiB/s, write: 0 B/s
INFO: backup is sparse: 26.99 GiB (67%) total zero data
INFO: transferred 40.00 GiB in 305 seconds (134.3 MiB/s)
INFO: archive file size: 4.38GB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=3
INFO: pruned 0 backup(s)
INFO: Finished Backup of VM 200 (00:05:06)
INFO: Backup finished at 2023-11-11 13:34:34
INFO: Backup job finished successfully
TASK OK
 

Attachments

  • Screenshot 2023-11-11 at 13-18-51 pve - Proxmox Virtual Environment.png
    Screenshot 2023-11-11 at 13-18-51 pve - Proxmox Virtual Environment.png
    40.4 KB · Views: 10
  • Screenshot 2023-11-11 at 13-19-14 pve - Proxmox Virtual Environment.png
    Screenshot 2023-11-11 at 13-19-14 pve - Proxmox Virtual Environment.png
    23.2 KB · Views: 10
Last edited:
Did you try with a different USB drive?
In your first post there are data corruption errors in the log, so maybe the drive/stick is faulty, maybe the cable is bad, etc. I've had to do a few backup/restores of CTs this weekend on PVE8 and they all worked ok, so backup/restore, in general, works.
 

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!