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.
Download the Binary Release Installer for the full featured GNUPG
Install GNUPG, including Kleopatra, the user interface for easy decryption.
Mac:
Install GPG using brew:
brew install gpg
Step 4: Decrypt backup file
Now that GNUPG is installed:
Windows:
Locate the backup file you downloaded from the Control Center
Open file using Kleopatra
Choose an output folder for the decrypted backup file
Enter the passphrase generated earlier, which was retrieved by email
After decryption is done, a save dialog will be shown where to save the file.
Mac:
Open Terminal
Locate the backup file you downloaded from the Control Center
Run
gpg -d mybackup.backup.gpg > mybackup.backup
Wheremybackup
should be replaced with the correct name.Enter the passphrase generated earlier, which was retrieved by email
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