Local host restore from PBS 1.0.8 fails with 'bin EEXIST' even with --allow-existing-dirs

elvasilep

Member
Feb 18, 2021
3
0
6
63
Hi,

Congratulations and thanks for such excellent tools. I've started to use PVE and PBS for a month now for my homelab and I am impressed.

Today I ran into a problem I can not solve though.

I am trying to roll back a change I made to my host that resulted in greatly reduced performance. Fortunately I have a backup for before the change.

When trying to restore the host from the PBS running on the same machine I get:

'Error: error extracting archive - error at entry "bin": EEXIST: File exists'

The command line I used is:

'proxmox-backup-client restore host/bmax/2021-02-18T13:10:01Z root.pxar / --repository localhost:locker --allow-existing-dirs true'

The 'restoration' worked fine into a brand new directory, unfortunately that does not roll back my system...

My host system is PVE 6.3-2 with LVM installed from ISO. PBS 1.0-8 is running on the same system, installed form the repository.

Please advice.

Thank you,

Sorin

PS While I probably can solve this practical problem by uninstalling the offending changes, I'd like to be sure I can use PBS in a really unsolvable situation.
 
Replacing / recursively on a live system calls for trouble.

Just restore the files that you changed if possible.

Otherwise live boot debian/ubuntu, install pbs-client, mount pve and restore that way.
 
  • Like
Reactions: fabian