How to integrate PBS server with CentOS client

powersupport

Active Member
Jan 18, 2020
279
2
38
30
Hi,

We have a server with PBS Backup Server 1.1-1, and a centos server with a backup client installed

./proxmox-backup/target/release/proxmox-backup-client version
client version: 1.0.11

Can anyone advise how we can integrate these two servers? we need to back up the client VM to PBS server, a bare-metal backup

We couldn't find any documentation online regarding this


Thank you.
 
hi,

is centos server running on PVE, or is it standalone?

* if PVE
then you can just add your Proxmox Backup Server as a storage to your cluster, and selecting the backup server as target should be enough.

* if standalone
then you can configure your client to point to your backup server [0]

[0]: https://pbs.proxmox.com/docs/backup-client.html#backup-client-usage
 
Hi
It is a standalone server


proxmox-backup-client backup root.pxar: / --repository root@pam@pbsserverIP: test --backup-id 'test1'

While running the above command we are getting the error as below


Error: parameter verification errors

parameter 'repository': value does not match the regex pattern
parameter 'backupspec': value does not match the regex pattern
parameter 'backupspec': value does not match the regex pattern
parameter 'backupspec': value does not match the regex pattern

Also, is it support bare-metal backup? I could only directories are able to backup using the command

Thank you
 
Last edited:
Code:
proxmox-backup-client backup root.pxar: /  --repository root@pam@pbsserverIP: test --backup-id 'test1'

your command has extra spaces which breaks the regex.

can you try like this:

Code:
proxmox-backup-client backup root.pxar:/  --repository root@pam@pbsserverIP:test --backup-id 'test1'

(remove the space after root.pxar: and pbsserverIP:
 
Hi,

The backup seems running now, let us monitor, also, we can only backup mount points using this method, is there any way to do a bare-metal backup for the servers? and any way to manage Backup/restore from the PBS interface, we couldn't see any options from the interface

Please advise and thank you for the help
 
also, we can only backup mount points using this method, is there any way to do a bare-metal backup for the servers?
what do you mean exactly?

if your VM is running on PVE, then all you need to do is to add the PBS as a storage. when you are choosing backup destination for your VM (from the PVE GUI), choose your PBS instance.

for restoring VM you can do the same, by selecting the backup server as storage in PVE GUI on top right of the VM backup tab and choosing the archive to restore from.

otherwise with the backup client you can do: proxmox-backup-client restore <snapshot> <archive-name> <target>, for example
Code:
$ proxmox-backup-client snapshot list --repository root@pam@pbsserverIP:test
┌────────────────────────────────┬────────────┬────────────────────────────────────────────────────────┐
│ snapshot                       │       size │ files                                                  │
╞════════════════════════════════╪════════════╪════════════════════════════════════════════════════════╡
│ host/mine/2021-05-12T14:56:57Z │ 768.34 MiB │ catalog.pcat1 dev.pxar index.json                      │
├────────────────────────────────┼────────────┼────────────────────────────────────────────────────────┤
$ proxmox-backup-client restore host/mine/2021-05-12T14:56:57Z dev.pxar /home/user/mydir --repository root@pam@pbsserverIP:test
 
Hi,

Is there any way to do a bare-metal backup for the servers, That is to restore the backup content to a remote server

Please advise and thank you for the help
 
Hi,

We have already initiated the backups yesterday and seems like it is not working. As I can see the task scheduled for the backup still running. Please see the screenshot pbs-ss1.png.

pbs-ss1.png

Also, when opening the backup content showing an error message as shown in the screenshot pbs-ss1.png
pbs-ss2.png

We ran the below command in order to initiate the backup,

===========
proxmox-backup-client backup root.pxar:/ --include-dev /boot --repository root@pam@<IP-Address>:test --backup-id 'test1'
===========

Could you please advise how to troubleshoot this issue?

Thank you.
 
Last edited:
Hi,

Can anyone advise on this case? Appreciate your help.

Thank you.
 

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!