Site icon Chris Colotti's Blog

Proxmox Backup 4.0 With S3 Tech Preview

Since I started using Proxmox at home I have been pretty impressed with not only the capabilities, but also the development going into the product.  I recently setup their own backup server and not soon after they release the new Proxmox Backup Server 4.0 that added a new feature to use S3 compatible storage.  For some time I have used Backblaze B2 for some things as it’s the lowest cost for my use case and now I wanted to figure out a way to add “Archive” copies of the Proxmox backups I am doing locally on a NAS mount to a Backblaze B2 bucket.  What I can say is it was very easy, with a few minor tweak, and I found a trick to setup “Local” datastore sync capability without actually having another backup server instance.

Setting up Backblaze B2 with Proxmox Backup Server

The first thing is you need to do is male sure you have the new 4.0 version installed as the tech preview for S3 use is only in that version.  Once you have it setup it’s a two step process. I am going to assume you know how to setup and use Backblaze B2 for the purpose of this walk through.

  1. Add your S3 endpoint
  2. Create the datastore

To create the S3 endpoint you just need a few things from your Backblaze account which are pretty standard, but a couple things to point out specific to Backblaze B2.  I will assume that for the purposes of this, folks know how to create a bucket and application keys in Backblaze B2

Once you have the S3 Endpoint setup, creating the datastore is easy with a few notes

Creating a Local Sync to Backblaze B2

Now that you have both a true local datastore and a new Backblaze B2 datastore setup in the same Proxmox Backup Server, you can setup a datastore sync to create offsite copies of your local backups which is very simple using the built in “Pull” job. Start by highlighting the B2 datastore in the tree and going to the”Sync Jobs” Tree.

These will be the options you get and you can play with some as you see fit

Now that this is done on whatever schedule you want, you will get copies of your local backups pulled up to the B2 datastore for offsite copy and later mounting by a different Proxmox Backup Server if needed in the event you lose the original one.  I may cover that later.

Exit mobile version