[SOLVED] Tabletop review: How to get remote-sync PBS data to the "on-prem" for a rebuild

AllanM

Well-Known Member
Oct 17, 2019
119
39
48
41
I'm doing a tabletop review of our off-site backup strategy and have run into a snag.

We have an on-prem PBS for frequent (daily/weekly) backups and convenient recoveries (runs as a VM on our proxmox cluster). This works fine, however, for all the reasons...

We also have an off-site PBS (also running on a proxmox cluster) that is remote-synced to the on-prem. It performs sync operations over the weekend. The off-site PBS is located at my house where we have 60Mbps down and 10Mbps up. The 60Mbps downstream did take several weeks to perform initial synchronizations, but now, differential data backups only take 10-20 hours or so per week. Not bad...

Unfortunately, If I ever had to recover from this remote, the 10Mbit upstream the other way would not work. It would take months to move the data back the other way.

We encrypt all of our backups and store the encryption key in a totally separate system environment for recovery. I've noticed that the option to download the VM data through the web interface is greyed out on the encrypted files. This puts a bit of a snag into what would have been an easy way to download VM data to an external drive and just physically deliver it to the office where we could recover it?

Physically bringing my cluster to work isn't practical.

I think the best way would be to connect an external drive to one of my cluster nodes at home, mount it as a storage location, and then use the backup feature on Proxmox VE to copy the entire PBS server to the external drive, then "recover" that backup on the cluster at work, then configure it as a backup location and inject the encryption keys, then begin recovering the VM's from the "recovered" PBS VM.

Does that seem like the best way?

Currently, this would work, as the total size of the off-site PBS server is only ~10TB. It would "fit" on a big HDD. My concern, is that this method requires a destination drive large enough to hold the entire PBS VM as a single backup file. Eventually, it might not fit on a single huge drive and then the process may get a bit too complicated for a time sensitive re-build.

Why can't I download the encrypted fidx files? Is this by design?

greyed out download links...

1657419395556.png



Thanks!
 
Does that seem like the best way?
alternatively you could create a datastore on the external drive and 'sync' the relevant backups to it (by adding the local machine as 'remote')
that way the external drive contains a pbs datastore you can connect and restore from on the on-prem PBS. (for now it's a bit quirky, you have to manually add the datastore to the datastore.cfg, but it's
being worked on to make that case more user friendly)

Why can't I download the encrypted fidx files? Is this by design?
because that download reconstructs the original (non-chunked) image, which cannot be done if the chunks cannot be decrypted.
(the data is chunked & encrypted before it reaches the PBS)
 
Hi Dcapak,

Thanks very much for taking the time to reply! I do like the idea of using the external storage for a datastore. Would I need another instance of PBS or can I "remote" back in on itself?

I may do some testing with that theory and see if I can make it work.

Thanks!
-Eric
 
Would I need another instance of PBS or can I "remote" back in on itself?
thats exactly what i meant. you define a 'remote' but it's actually the local ip (or localhost/127.0.0.1)
 

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!