CLIGuides
Decrypt a backup
Restore the original archive from an encrypted Portabase backup, offline.
At the end of this guide, you have the original archive of an encrypted .enc backup — no dashboard needed.
Prerequisites: the CLI installed, the .enc file(s).
Download the master key
In the dashboard, open Settings, Storage section, and download the master key. Save it as master_key.bin.
Decrypt one file
portabase decrypt backup.tar.gz.enc backup.tar.gz --key master_key.binOr a whole folder
portabase decrypt ./backups ./restored --key master_key.binEach file is processed independently; a summary lists any failure.
Next steps
decryptreference for defaults and large backups.- Folder mode for how failures are reported (wrong key, corrupt file).
Last updated on