Learn why WordPress backups with Backblaze are safer with this simple trick

Backblaze is a popular offsite storage location for website backups due to it’s consistently low pay-as-you-go storage fees. In fact, we recently recommended creating a WordPress backup with Backblaze for this very reason.

XCloner has long-supported creating WordPress backups with Backblaze. Access to Backblaze has always been through the use of API keys or application keys as they are referred to by Backblaze. Critically, prior versions of XCloner required the master application key — the main API key of the Backblaze account holder.

Using the master key for multiple purposes is problematic. Generally speaking it is considered less secure than generating a set of individual keys for each unique purpose.

For example, a web developer might use an individual key for each website they are backing up. This keeps the master key private. It also allows individual keys to be revoked as needed without affecting the other keys/websites.

In XCloner 4.2.10 we introduced the ability to use individual application keys from Backblaze. Below we’ll quickly review the process of generating an application key and creating WordPress backups with Backblaze and XCloner.

Generate an application key at Backblaze

  1. Log into your BackBlaze account.
  2. From the menu at the left, select App Keys.
  3. Click the Add New Application Key button below the existing Master Application Key.
  4. Complete the form as shown below and click the Create New Key button.
  5. Note the bucket, keyID, and applicationKey.
    • Note: The latter will not be shown again and will need to be recreated if you fail to record it.
  6. Repeat this process for as many sites as you have.
App Key Creation Form
Generating an application key in Backblaze.

Configuring WordPress backups with Backblaze

  1. Log into your WordPress backend.
  2. In the Plugin area, update XCloner to the latest version.
  3. Locate the Site Backup item in the admin menu at the left and select Storage Locations > Backblaze B2 Storage.
  4. Enter the keyID, applicationKey and bucket details you noted above (see preview below).
  5. Select the Verify button to ensure that Backblaze is properly configured and then finalize the process with the Save Settings button.
WordPress Backups With Backblaze

Creating WordPress backups with Backblaze

Now that your site is configured, you can conveniently send any backup to Backblaze.

  1. Select Site Backup > Generate Backups from the admin menu.
  2. In the Backup Options area, locate the Send to Remote Storage field and select Backblaze.
  3. Complete the remaining details of the backup, select the Start Backup button and wait for the process to complete. Ensure that the upload to Backblaze completes as expected.
  4. (Optional) Click the Schedule Backup tab, complete the details, and select the Save Schedule button. This creates a working backup profile for Backblaze.
  5. (Optional) Once saved, XCloner backup profiles can be used to create regular backups in a variety of ways:
    1. You can set the schedule directly in the profile.
    2. You can run the backup from the command line using the WP-CLI or the XCloner CLI.

Full details on creating WordPress backups with XCloner are also available in our documentation.