Hello!
i am currently experimenting around with the backup client. In short i am trying to find a suitable way to backup servers from root-level that are NOT on PVE (means bare metal servers, not VMs.)
I managed to install the backup client on my ubuntu 22.04 test system without problems and managed to create a backup. Now i am struggling with the restore process and i got a few questions regarding that.
Currently the restore always seems to stop at the first few steps, claiming that different targets already exist. At first it was the "aquota.group" and "aquota.user" files which i simply excluded in my backup step. However, now the process gets stuck with already existing soft links, for example bin...
I don't think i can simply go through my whole system and try to exclude every single symlink there is... So my questions are the following:
1.) Is there perhaps a nice workaround to tell the client to either follow the links or to ignore them? I read about the .pxarexclude files but i think implementing them everywhere will be way too much work, especially if i plan to script the whole process. I also already tried to use --override and --allow-existing-dirs but without success..
2.) Can i tell the backup client for the restore process to simply skip conflicting files and continue with the process instead of aborting the whole thing? I've checked the documentation multiple times but i cannot find anything suitable.
3.) Do i need to adjust my backup creation process to make things easier? Currently it looks like the following:
Thank you in advance for any help and tips!
Best regards!
i am currently experimenting around with the backup client. In short i am trying to find a suitable way to backup servers from root-level that are NOT on PVE (means bare metal servers, not VMs.)
I managed to install the backup client on my ubuntu 22.04 test system without problems and managed to create a backup. Now i am struggling with the restore process and i got a few questions regarding that.
Currently the restore always seems to stop at the first few steps, claiming that different targets already exist. At first it was the "aquota.group" and "aquota.user" files which i simply excluded in my backup step. However, now the process gets stuck with already existing soft links, for example bin...
Error: error extracting archive - error at entry "bin": EEXIST: File exists
I don't think i can simply go through my whole system and try to exclude every single symlink there is... So my questions are the following:
1.) Is there perhaps a nice workaround to tell the client to either follow the links or to ignore them? I read about the .pxarexclude files but i think implementing them everywhere will be way too much work, especially if i plan to script the whole process. I also already tried to use --override and --allow-existing-dirs but without success..
2.) Can i tell the backup client for the restore process to simply skip conflicting files and continue with the process instead of aborting the whole thing? I've checked the documentation multiple times but i cannot find anything suitable.
3.) Do i need to adjust my backup creation process to make things easier? Currently it looks like the following:
proxmox-backup-client backup archiv.pxar:/ --repository user@pbs@server:8007:Datastore --exclude aquota.group --exclude aquota.user
Thank you in advance for any help and tips!
Best regards!