[SOLVED] Backup node OS and config to PBS?

Tony

Renowned Member
Nov 4, 2010
113
10
83
I already have a PBS configured for a cluster to backup the VMs/CTs. Can I use it to backup the node OS and cluster config? I searched the forum but didn't find any relevant post.

thanks in advance for any hint.
 
thanks; I was hoping for some easier solution but running proxmox-backup-client on the node is ok, too.
 
I tried proxmox-backup-client to backup a node to PBS; on a cluster with PVE 7 it didn't ask for password, but on a cluster with PVE 6 it did. Is it the expected behavior, or am I missing something? According to the pbs manual, a password prompt is to be expected.
 
thanks for your hint.


I checked carefully and there is no env set. Then I tried again, and this time I got a password prompt on a PVE7 node. But not the 2nd try. So it seems the password is cached for sometime.
I solved it as follows:

Code:
crontab -l
export PBS_PASSWORD_FILE=/etc/pve/priv/storage/store1.pw; proxmox-backup-client backup etc.pxar:/etc --repository pve@pbs@pbs-hostname:store1
 

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!