[SOLVED] Backup to Proxmox Backup Server Fail

kwat

Member
Apr 16, 2021
37
2
13
66
Hi:

I’m running PVE 7.3-4 and PBS 2.3-2. The PBS is a VM on the PVE just for evaluation purposes. All attempts to backup a container on the PVE to the PBS fail and I and emailed the following message. Can anyone help with what is going wrong?

Code:
Detailed backup logs:

vzdump 201 --mailto xyz@gmail.com --mailnotification always --all 0 --node pve --notes-template '{{guestname}}' --storage pbs --mode stop


201: 2023-01-12 06:56:02 INFO: Starting Backup of VM 201 (lxc)
201: 2023-01-12 06:56:02 INFO: status = running
201: 2023-01-12 06:56:02 INFO: backup mode: stop
201: 2023-01-12 06:56:02 INFO: ionice priority: 7
201: 2023-01-12 06:56:02 INFO: CT Name: turnkeyfs
201: 2023-01-12 06:56:02 INFO: including mount point rootfs ('/') in backup
201: 2023-01-12 06:56:02 INFO: including mount point mp0 ('/mnt/my-data') in backup
201: 2023-01-12 06:56:02 INFO: stopping virtual guest
201: 2023-01-12 06:56:04 INFO: creating Proxmox Backup Server archive 'ct/201/2023-01-12T11:56:02Z'
201: 2023-01-12 06:56:04 INFO: run: lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp222262_201/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --include-dev /mnt/vzsnap0/./mnt/my-data --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 201 --backup-time 1673524562 --repository root@pam@192.168.10.7:backup1 --ns Root
201: 2023-01-12 06:56:04 INFO: Starting backup: [Root]:ct/201/2023-01-12T11:56:02Z
201: 2023-01-12 06:56:04 INFO: Client name: pve
201: 2023-01-12 06:56:04 INFO: Starting backup protocol: Thu Jan 12 06:56:04 2023
201: 2023-01-12 06:56:04 INFO: storing login ticket failed: $XDG_RUNTIME_DIR must be set
201: 2023-01-12 06:56:04 INFO: Error: namespace not found
201: 2023-01-12 06:56:04 INFO: restarting vm
201: 2023-01-12 06:56:05 INFO: guest is online again after 3 seconds
201: 2023-01-12 06:56:05 ERROR: Backup of VM 201 failed - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp222262_201/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --include-dev /mnt/vzsnap0/./mnt/my-data --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 201 --backup-time 1673524562 --repository root@pam@192.168.10.7:backup1 --ns Root' failed: exit code 255
 
No, Root did NOT exist as a sub-namespace on PBS. I added pve as a subname space and edited storage.cfg to reference it the pbs entry and the backup completed successfully. Since I am new to PBS I will experiment more before marking the thread SOLVED.

Thanks for your help.
 
  • Like
Reactions: UdoB

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!