Decrypt Backups
Overview
Cloudron supports encrypting backups with a passphrase. This guide explains how to decrypt Cloudron backups on your local machine.
Prerequisites
- Install the Cloudron CLI tool:
sudo npm install -g cloudron - Login:
cloudron login my.example.com
Download backup
Download the backup locally before proceeding. See the download backups guide if needed.
Decrypt
tgz
For tgz format backups, the downloaded file has a .tar.gz.enc extension:
$ cloudron backup decrypt --password=passphrase backupid.tar.gz.enc backupid.tar.gz
$ tar zxvf backupid.tar.gz
rsync
For rsync format backups, the download is a directory:
$ mkdir /path/to/unencrypted
$ cloudron backup decrypt-dir --password=passphrase /path/to/encrypted /path/to/unencrypted