Database Backup

Reference page for generating and decrypting database backups

Overview

In Cloud Control Center, you can securely download encrypted database backups. Follow these steps to access and decrypt your backup files.

How to get backup file

Step 1: Download encrypted backup file

Go to the Databases section within Applications > Environments to find instructions on downloading the backup file.

This menu item is only available when you have the permission role: Administrator

Step 2: Get Decryption Passphrase

After downloading the database backup file, an email is sent with the corresponding GPG decryption passphrase.

Step 3: Download and Install GNUPG (when not installed in your computer)

Windows:

The backup files downloaded from the Control Center are encrypted. To decrypt them, you will need GNUPG, an external software.

  1. Download the Binary Release Installer for the full featured GNUPG

  2. Install GNUPG, including Kleopatra, the user interface for easy decryption.

Mac:

  1. Install GPG using brew: brew install gpg

Step 4: Decrypt backup file

Now that GNUPG is installed:

Windows:

  1. Locate the backup file you downloaded from the Control Center

  2. Open file using Kleopatra

  3. Choose an output folder for the decrypted backup file

  4. Enter the passphrase generated earlier, which was retrieved by email

  5. After decryption is done, a save dialog will be shown where to save the file.

Mac:

  1. Open Terminal

  2. Locate the backup file you downloaded from the Control Center

  3. Run gpg -d mybackup.backup.gpg > mybackup.backup Where mybackup should be replaced with the correct name.

  4. Enter the passphrase generated earlier, which was retrieved by email

  5. After decryption is done, a new file will be there with the previous given name

Step 5: Restore the Backup

Now you can restore the DB Backup using your DB Tool.

Last updated