Backup datastore on NAS

FxT

Member
Dec 4, 2019
3
0
21
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 ?
 

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!