Backup recovery is not complete

atakan

New Member
Dec 7, 2022
9
0
1
Hello,

after an update, I encountered an error, so I restored the backup from my Proxmox backup server.

Before the restore, my Ubuntu server was running Portainer, which I used to manage my containers. However, after the restore, Portainer was gone and all my containers were no longer there.

When I reinstalled Portainer, I was able to log in with my old login credentials and also saw my old volumes and stacks, however all the containers were no longer there.

When creating the mount point I had the backup active

I wonder if I did something wrong in the process?
Or did I configure my backup server wrong?
 
Hi,
Hello,

after an update, I encountered an error, so I restored the backup from my Proxmox backup server.
please clarify what backup you are talking about, e.g. VM backup of the Ubuntu server or file-based one?
Before the restore, my Ubuntu server was running Portainer, which I used to manage my containers. However, after the restore, Portainer was gone and all my containers were no longer there.
Is this a physical Ubuntu server or a VM in Proxmox VE?
When I reinstalled Portainer, I was able to log in with my old login credentials and also saw my old volumes and stacks, however all the containers were no longer there.
Sounds like the backup might not have included everything, but only the configuration.
When creating the mount point I had the backup active
Can you clarify what mount point?
I wonder if I did something wrong in the process?
Or did I configure my backup server wrong?
Can you share the backup command/job configuration you are using?
 
please clarify what backup you are talking about, e.g. VM backup of the Ubuntu server or file-based one?
it was a backup of a lxc ubuntu container with the mode snapshot
Is this a physical Ubuntu server or a VM in Proxmox VE?
it is a lxc container
Sounds like the backup might not have included everything, but only the configuration.
under resources there was only the root disk which was included in the backup and where everything was stored other disks were not existing
Can you clarify what mount point?
by this I mean the virtual root disk
Can you share the backup command/job configuration you are using?
Code:
arch: amd64
cores: 4
features: keyctl=1,nesting=1
hostname: Ubuntu-Portainer
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.2.1,hwaddr=76:DD:97:12:C7:6C,ip=192.168.2.15/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-zfs:subvol-103-disk-0,size=300G
swap: 1024
unprivileged: 1

do you mean that i have created the backupserver as storage and created a schedule for the backups
 
Code:
arch: amd64
cores: 4
features: keyctl=1,nesting=1
hostname: Ubuntu-Portainer
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.2.1,hwaddr=76:DD:97:12:C7:6C,ip=192.168.2.15/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-zfs:subvol-103-disk-0,size=300G
swap: 1024
unprivileged: 1
Hmm, do you have further mount points within the container (what does findmnt show)? Can you share the log of a backup task of the container?
 
Sorry, I meant findmnt within the container.
1691512362828.png
Select your node and then Task History in the UI. There you can filter for Task Type vzdump.
Code:
Header
Proxmox
Virtual Environment 7.4-16
Suche
Knoten 'pve'
2023-07-25
2023-07-30
vzdump
Alle
103
Server-Ansicht
Logs

()
INFO: starting new backup job: vzdump 100 103 200 --mailto ********.de --node pve --storage Backup-Server-PMSV1B --quiet 1 --notes-template '{{guestname}}' --prune-backups 'keep-all=1' --compress zstd --mailnotification failure --mode snapshot
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2023-07-26 00:00:04
INFO: status = running
INFO: CT Name: Ubuntu-Server-PP
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
INFO: creating Proxmox Backup Server archive 'ct/100/2023-07-25T22:00:04Z'
INFO: run: lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup --crypt-mode=encrypt --keyfd=11 pct.conf:/var/tmp/vzdumptmp2131786_100/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 100 --backup-time 1690322404 --repository ************:DB1423_PMSV1B
INFO: Starting backup: ct/100/2023-07-25T22:00:04Z
INFO: Client name: pve
INFO: Starting backup protocol: Wed Jul 26 00:00:08 2023
INFO: Using encryption key from file descriptor..
INFO: Encryption key fingerprint: c0:e6:1f:7f:90:35:c9:1b
INFO: Downloading previous manifest (Tue Jul 25 00:00:02 2023)
INFO: Upload config file '/var/tmp/vzdumptmp2131786_100/etc/vzdump/pct.conf' to '*******:DB1423_PMSV1B' as pct.conf.blob
INFO: Upload directory '/mnt/vzsnap0' to '*******:DB1423_PMSV1B' as root.pxar.didx
INFO: root.pxar: had to backup 48.72 MiB of 1.999 GiB (compressed 5.665 MiB) in 72.45s
INFO: root.pxar: average backup speed: 688.563 KiB/s
INFO: root.pxar: backup was done incrementally, reused 1.952 GiB (97.6%)
INFO: Uploaded backup catalog (1.503 MiB)
INFO: Duration: 73.81s
INFO: End Time: Wed Jul 26 00:01:21 2023
INFO: adding notes to backup
INFO: cleanup temporary 'vzdump' snapshot
INFO: Finished Backup of VM 100 (00:01:18)
INFO: Backup finished at 2023-07-26 00:01:22
INFO: Starting Backup of VM 103 (lxc)
INFO: Backup started at 2023-07-26 00:01:22
INFO: status = running
INFO: CT Name: Ubuntu-Portainer
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
INFO: creating Proxmox Backup Server archive 'ct/103/2023-07-25T22:01:22Z'
INFO: run: lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup --crypt-mode=encrypt --keyfd=11 pct.conf:/var/tmp/vzdumptmp2131786_103/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 103 --backup-time 1690322482 --repository **********:DB1423_PMSV1B
INFO: Starting backup: ct/103/2023-07-25T22:01:22Z
INFO: Client name: pve
INFO: Starting backup protocol: Wed Jul 26 00:01:28 2023
INFO: Using encryption key from file descriptor..
INFO: Encryption key fingerprint: c0:e6:1f:7f:90:35:c9:1b
INFO: Downloading previous manifest (Tue Jul 25 00:01:38 2023)
INFO: Upload config file '/var/tmp/vzdumptmp2131786_103/etc/vzdump/pct.conf' to '*******:DB1423_PMSV1B' as pct.conf.blob
INFO: Upload directory '/mnt/vzsnap0' to '*******:DB1423_PMSV1B' as root.pxar.didx
INFO: root.pxar: had to backup 632.421 MiB of 207.793 GiB (compressed 145.302 MiB) in 6962.05s
INFO: root.pxar: average backup speed: 93.018 KiB/s
INFO: root.pxar: backup was done incrementally, reused 207.175 GiB (99.7%)
INFO: Uploaded backup catalog (132.093 MiB)
INFO: catalog.pcat1: backup was done incrementally, reused 14.01 MiB (10.6%)
INFO: Duration: 6964.43s
INFO: End Time: Wed Jul 26 01:57:33 2023
INFO: adding notes to backup
INFO: cleanup temporary 'vzdump' snapshot
INFO: Finished Backup of VM 103 (01:56:17)
INFO: Backup finished at 2023-07-26 01:57:39
INFO: Starting Backup of VM 200 (qemu)
INFO: Backup started at 2023-07-26 01:57:39
INFO: status = running
INFO: VM Name: Win10-Buchhaltung
INFO: include disk 'scsi0' 'local-zfs:vm-200-disk-1' 256G
INFO: include disk 'efidisk0' 'local-zfs:vm-200-disk-0' 1M
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/200/2023-07-25T23:57:39Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: enabling encryption
INFO: issuing guest-agent 'fs-thaw' command
INFO: started backup task 'c4af7735-5e4a-4631-8bd0-dcdff27d8b6d'
INFO: resuming VM again
INFO: efidisk0: dirty-bitmap status: OK (drive clean)
INFO: scsi0: dirty-bitmap status: OK (10.5 GiB of 256.0 GiB dirty)
INFO: using fast incremental mode (dirty-bitmap), 10.5 GiB dirty of 256.0 GiB total
INFO:   0% (48.0 MiB of 10.5 GiB) in 3s, read: 16.0 MiB/s, write: 13.3 MiB/s
INFO:   1% (116.0 MiB of 10.5 GiB) in 8s, read: 13.6 MiB/s, write: 13.6 MiB/s
INFO:   2% (232.0 MiB of 10.5 GiB) in 17s, read: 12.9 MiB/s, write: 12.9 MiB/s
INFO:   3% (324.0 MiB of 10.5 GiB) in 23s, read: 15.3 MiB/s, write: 15.3 MiB/s
INFO:   4% (436.0 MiB of 10.5 GiB) in 33s, read: 11.2 MiB/s, write: 11.2 MiB/s
INFO:   5% (540.0 MiB of 10.5 GiB) in 43s, read: 10.4 MiB/s, write: 10.4 MiB/s
INFO:   6% (668.0 MiB of 10.5 GiB) in 53s, read: 12.8 MiB/s, write: 12.8 MiB/s
INFO:   7% (772.0 MiB of 10.5 GiB) in 1m, read: 14.9 MiB/s, write: 14.9 MiB/s
INFO:   8% (884.0 MiB of 10.5 GiB) in 1m 12s, read: 9.3 MiB/s, write: 9.3 MiB/s
INFO:   9% (988.0 MiB of 10.5 GiB) in 1m 21s, read: 11.6 MiB/s, write: 11.6 MiB/s
INFO:  10% (1.1 GiB of 10.5 GiB) in 1m 34s, read: 8.0 MiB/s, write: 8.0 MiB/s
INFO:  11% (1.2 GiB of 10.5 GiB) in 1m 44s, read: 10.0 MiB/s, write: 10.0 MiB/s
INFO:  12% (1.3 GiB of 10.5 GiB) in 1m 56s, read: 8.7 MiB/s, write: 8.7 MiB/s
INFO:  13% (1.4 GiB of 10.5 GiB) in 2m 8s, read: 9.3 MiB/s, write: 9.0 MiB/s
INFO:  14% (1.5 GiB of 10.5 GiB) in 2m 20s, read: 10.3 MiB/s, write: 10.3 MiB/s
INFO:  15% (1.6 GiB of 10.5 GiB) in 2m 30s, read: 9.2 MiB/s, write: 9.2 MiB/s
INFO:  16% (1.7 GiB of 10.5 GiB) in 2m 49s, read: 6.7 MiB/s, write: 6.5 MiB/s
INFO:  17% (1.8 GiB of 10.5 GiB) in 3m, read: 8.4 MiB/s, write: 8.4 MiB/s
INFO:  18% (1.9 GiB of 10.5 GiB) in 3m 6s, read: 19.3 MiB/s, write: 19.3 MiB/s
INFO:  19% (2.0 GiB of 10.5 GiB) in 3m 18s, read: 8.7 MiB/s, write: 8.7 MiB/s
INFO:  20% (2.1 GiB of 10.5 GiB) in 3m 24s, read: 18.7 MiB/s, write: 18.0 MiB/s
INFO:  21% (2.2 GiB of 10.5 GiB) in 3m 34s, read: 10.8 MiB/s, write: 10.8 MiB/s
INFO:  22% (2.3 GiB of 10.5 GiB) in 3m 44s, read: 9.6 MiB/s, write: 9.6 MiB/s
INFO:  23% (2.5 GiB of 10.5 GiB) in 3m 59s, read: 8.8 MiB/s, write: 8.8 MiB/s
INFO:  24% (2.5 GiB of 10.5 GiB) in 4m 8s, read: 9.3 MiB/s, write: 9.3 MiB/s
INFO:  25% (2.7 GiB of 10.5 GiB) in 4m 22s, read: 8.6 MiB/s, write: 8.3 MiB/s
INFO:  26% (2.8 GiB of 10.5 GiB) in 4m 35s, read: 8.0 MiB/s, write: 8.0 MiB/s
INFO:  27% (2.9 GiB of 10.5 GiB) in 4m 47s, read: 9.0 MiB/s, write: 9.0 MiB/s
INFO:  28% (3.0 GiB of 10.5 GiB) in 4m 59s, read: 9.0 MiB/s, write: 9.0 MiB/s
INFO:  29% (3.1 GiB of 10.5 GiB) in 5m 14s, read: 7.7 MiB/s, write: 7.7 MiB/s
INFO:  30% (3.2 GiB of 10.5 GiB) in 5m 24s, read: 9.2 MiB/s, write: 9.2 MiB/s
INFO:  31% (3.3 GiB of 10.5 GiB) in 5m 37s, read: 8.9 MiB/s, write: 8.6 MiB/s
INFO:  32% (3.4 GiB of 10.5 GiB) in 5m 50s, read: 8.0 MiB/s, write: 8.0 MiB/s
INFO:  33% (3.5 GiB of 10.5 GiB) in 6m 3s, read: 8.3 MiB/s, write: 8.3 MiB/s
INFO:  34% (3.6 GiB of 10.5 GiB) in 6m 16s, read: 7.7 MiB/s, write: 7.7 MiB/s
INFO:  35% (3.7 GiB of 10.5 GiB) in 6m 31s, read: 7.5 MiB/s, write: 7.5 MiB/s
INFO:  36% (3.8 GiB of 10.5 GiB) in 6m 44s, read: 8.6 MiB/s, write: 8.0 MiB/s
INFO:  37% (3.9 GiB of 10.5 GiB) in 6m 56s, read: 8.3 MiB/s, write: 8.3 MiB/s
INFO:  38% (4.0 GiB of 10.5 GiB) in 7m 8s, read: 9.3 MiB/s, write: 9.3 MiB/s
INFO:  39% (4.1 GiB of 10.5 GiB) in 7m 24s, read: 7.5 MiB/s, write: 7.5 MiB/s
INFO:  40% (4.2 GiB of 10.5 GiB) in 7m 34s, read: 9.6 MiB/s, write: 9.6 MiB/s
INFO:  41% (4.3 GiB of 10.5 GiB) in 7m 46s, read: 9.0 MiB/s, write: 8.7 MiB/s
INFO:  42% (4.4 GiB of 10.5 GiB) in 7m 57s, read: 9.5 MiB/s, write: 9.5 MiB/s
INFO:  43% (4.5 GiB of 10.5 GiB) in 8m 10s, read: 8.3 MiB/s, write: 8.3 MiB/s
INFO:  44% (4.7 GiB of 10.5 GiB) in 8m 28s, read: 6.9 MiB/s, write: 6.9 MiB/s
INFO:  45% (4.8 GiB of 10.5 GiB) in 8m 37s, read: 13.3 MiB/s, write: 13.3 MiB/s
INFO:  46% (4.9 GiB of 10.5 GiB) in 8m 48s, read: 9.1 MiB/s, write: 8.4 MiB/s
INFO:  47% (5.0 GiB of 10.5 GiB) in 8m 58s, read: 8.8 MiB/s, write: 8.8 MiB/s
INFO:  48% (5.1 GiB of 10.5 GiB) in 9m 10s, read: 9.3 MiB/s, write: 9.3 MiB/s
INFO:  49% (5.2 GiB of 10.5 GiB) in 9m 23s, read: 9.2 MiB/s, write: 9.2 MiB/s
INFO:  50% (5.3 GiB of 10.5 GiB) in 9m 32s, read: 11.6 MiB/s, write: 10.7 MiB/s
INFO:  51% (5.4 GiB of 10.5 GiB) in 9m 44s, read: 8.0 MiB/s, write: 8.0 MiB/s
INFO:  52% (5.5 GiB of 10.5 GiB) in 9m 57s, read: 8.6 MiB/s, write: 8.6 MiB/s
INFO:  53% (5.6 GiB of 10.5 GiB) in 10m 9s, read: 9.0 MiB/s, write: 9.0 MiB/s
INFO:  54% (5.7 GiB of 10.5 GiB) in 10m 22s, read: 8.3 MiB/s, write: 8.3 MiB/s
INFO:  55% (5.8 GiB of 10.5 GiB) in 10m 29s, read: 17.1 MiB/s, write: 17.1 MiB/s
INFO:  56% (5.9 GiB of 10.5 GiB) in 10m 37s, read: 13.0 MiB/s, write: 12.5 MiB/s
INFO:  57% (6.0 GiB of 10.5 GiB) in 10m 51s, read: 8.3 MiB/s, write: 8.3 MiB/s
INFO:  58% (6.1 GiB of 10.5 GiB) in 11m 4s, read: 8.0 MiB/s, write: 8.0 MiB/s
INFO:  59% (6.2 GiB of 10.5 GiB) in 11m 16s, read: 7.7 MiB/s, write: 7.3 MiB/s
INFO:  60% (6.3 GiB of 10.5 GiB) in 11m 33s, read: 7.1 MiB/s, write: 7.1 MiB/s
INFO:  61% (6.4 GiB of 10.5 GiB) in 11m 46s, read: 8.0 MiB/s, write: 7.4 MiB/s
INFO:  62% (6.5 GiB of 10.5 GiB) in 11m 58s, read: 8.3 MiB/s, write: 8.0 MiB/s
INFO:  63% (6.6 GiB of 10.5 GiB) in 12m 12s, read: 7.7 MiB/s, write: 7.7 MiB/s
INFO:  64% (6.8 GiB of 10.5 GiB) in 12m 26s, read: 8.9 MiB/s, write: 8.6 MiB/s
INFO:  65% (6.9 GiB of 10.5 GiB) in 12m 38s, read: 9.0 MiB/s, write: 8.7 MiB/s
INFO:  66% (7.0 GiB of 10.5 GiB) in 12m 48s, read: 9.6 MiB/s, write: 9.6 MiB/s
INFO:  67% (7.1 GiB of 10.5 GiB) in 13m 1s, read: 8.0 MiB/s, write: 7.7 MiB/s
INFO:  68% (7.2 GiB of 10.5 GiB) in 13m 10s, read: 12.9 MiB/s, write: 11.1 MiB/s
INFO:  69% (7.3 GiB of 10.5 GiB) in 13m 22s, read: 9.3 MiB/s, write: 8.0 MiB/s
INFO:  70% (7.4 GiB of 10.5 GiB) in 13m 36s, read: 9.4 MiB/s, write: 8.0 MiB/s
INFO:  71% (7.5 GiB of 10.5 GiB) in 13m 44s, read: 9.5 MiB/s, write: 8.5 MiB/s
INFO:  72% (7.6 GiB of 10.5 GiB) in 13m 56s, read: 10.0 MiB/s, write: 9.3 MiB/s
INFO:  73% (7.7 GiB of 10.5 GiB) in 14m 5s, read: 12.0 MiB/s, write: 9.3 MiB/s
INFO:  74% (7.8 GiB of 10.5 GiB) in 14m 13s, read: 11.5 MiB/s, write: 11.5 MiB/s
INFO:  75% (7.9 GiB of 10.5 GiB) in 14m 24s, read: 10.2 MiB/s, write: 8.7 MiB/s
INFO:  76% (8.0 GiB of 10.5 GiB) in 14m 35s, read: 9.5 MiB/s, write: 9.5 MiB/s
INFO:  77% (8.1 GiB of 10.5 GiB) in 14m 43s, read: 13.5 MiB/s, write: 10.0 MiB/s
INFO:  78% (8.2 GiB of 10.5 GiB) in 14m 52s, read: 12.9 MiB/s, write: 11.1 MiB/s
INFO:  79% (8.3 GiB of 10.5 GiB) in 15m 3s, read: 10.2 MiB/s, write: 8.7 MiB/s
INFO:  80% (8.4 GiB of 10.5 GiB) in 15m 10s, read: 14.3 MiB/s, write: 13.7 MiB/s
INFO:  81% (8.5 GiB of 10.5 GiB) in 15m 17s, read: 15.4 MiB/s, write: 10.3 MiB/s
INFO:  82% (8.7 GiB of 10.5 GiB) in 15m 27s, read: 12.4 MiB/s, write: 10.0 MiB/s
INFO:  83% (8.8 GiB of 10.5 GiB) in 15m 38s, read: 8.7 MiB/s, write: 8.7 MiB/s
INFO:  84% (8.9 GiB of 10.5 GiB) in 15m 58s, read: 5.4 MiB/s, write: 5.4 MiB/s
INFO:  85% (9.0 GiB of 10.5 GiB) in 16m 4s, read: 17.3 MiB/s, write: 14.0 MiB/s
INFO:  86% (9.1 GiB of 10.5 GiB) in 16m 18s, read: 8.0 MiB/s, write: 8.0 MiB/s
INFO:  87% (9.2 GiB of 10.5 GiB) in 16m 34s, read: 6.8 MiB/s, write: 6.8 MiB/s
INFO:  89% (9.4 GiB of 10.5 GiB) in 16m 46s, read: 22.3 MiB/s, write: 9.7 MiB/s
INFO:  90% (9.5 GiB of 10.5 GiB) in 16m 53s, read: 6.9 MiB/s, write: 6.9 MiB/s
INFO:  92% (9.7 GiB of 10.5 GiB) in 17m, read: 37.1 MiB/s, write: 14.3 MiB/s
INFO:  93% (9.8 GiB of 10.5 GiB) in 17m 5s, read: 18.4 MiB/s, write: 11.2 MiB/s
INFO:  94% (9.9 GiB of 10.5 GiB) in 17m 11s, read: 18.7 MiB/s, write: 5.3 MiB/s
INFO:  95% (10.1 GiB of 10.5 GiB) in 17m 14s, read: 58.7 MiB/s, write: 6.7 MiB/s
INFO:  96% (10.1 GiB of 10.5 GiB) in 17m 18s, read: 8.0 MiB/s, write: 4.0 MiB/s
INFO:  97% (10.2 GiB of 10.5 GiB) in 17m 22s, read: 23.0 MiB/s, write: 19.0 MiB/s
INFO:  98% (10.3 GiB of 10.5 GiB) in 17m 40s, read: 5.8 MiB/s, write: 5.8 MiB/s
INFO:  99% (10.5 GiB of 10.5 GiB) in 17m 46s, read: 23.3 MiB/s, write: 9.3 MiB/s
INFO: 100% (10.5 GiB of 10.5 GiB) in 17m 53s, read: 9.7 MiB/s, write: 6.9 MiB/s
INFO: backup is sparse: 828.00 MiB (7%) total zero data
INFO: backup was done incrementally, reused 246.49 GiB (96%)
INFO: transferred 10.54 GiB in 1083 seconds (10.0 MiB/s)
INFO: adding notes to backup
INFO: Finished Backup of VM 200 (00:18:22)
INFO: Backup finished at 2023-07-26 02:16:01
INFO: Backup job finished successfully
TASK OK
 
Last edited:
Hmm, it's not obvious from the log that something (other than temporary files) was excluded. In general, it's highly recommended to run docker inside a VM and not as a container. There were other forum reports of docker and the host not interacting nicely after an update.
 
can you think of a way to make it work so i can backup and move within portainer?
 

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!