Backup datastore on NAS

FxT

Active Member
Dec 4, 2019
3
0
41
36
Hi,

I want to backup the PBS datastore ( located in '/datastore' ) every day on my NAS (Synology) in case of hardware failure.

Do i need more that rsync the '/datastore' and '/etc/proxmox-backup' folders on my NAS to accomplish this ?

Thank you.
 
rsync the '/datastore'

this is enough.

(if you use encryption, you also need your encryption key - see docs)
 
Thank you !

I did not set a encryption key manually, i just checked the box 'Encryption key : Active' on the PVE GUI :

Screenshot 2020-09-07 at 13.21.36.png

I assume that the Encryption key is automatically generate ? Where i can find her ? In '/etc/pve/priv/storage' ?
 
Thank you !

I did not set a encryption key manually, i just checked the box 'Encryption key : Active' on the PVE GUI :

View attachment 19690

I assume that the Encryption key is automatically generate ? Where i can find her ? In '/etc/pve/priv/storage' ?

Please be careful with encryption. if you do not understand this in detail, its very likely you cannot restore in disaster case.

See also https://pbs.proxmox.com/docs/administration-guide.html#encryption

We will improve docs and gui step by step, making it easier to manage.
 
Don't worry, im testing the solution before i go to production, i have already read the docs, but is not very clear for me, specially the 'Encryption key : Active'.

So i assume wrong, i need to create an encryption key manually before check 'Encryption key : Active' on the PVE GUI ?

In /etc/pve/priv/storage, i have pbs.xxxx.xx.enc :

{"kdf":null,"created":"2020-09-04T11:56:08+02:00","modified":"2020-09-04T11:56:08+02:00","data":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}

Its look like a encryption key (without salt), no ?