[SOLVED] Backup node OS and config to PBS?

Tony

Renowned Member
Nov 4, 2010
113
11
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