Skip to main content

Decrypt backups

Overview

Backups can be encrypted backups with a passphrase. This guide explains how to decrypt backups on your local machine.

Prerequisites

  1. Install the Cloudron CLI tool: sudo npm install -g cloudron
  2. 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