mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-10 00:30:29 +01:00
Frederik Ring
0bb94a2f56
* Set up documentation site using jekyll * Add workflow for deploying docs * Ini formatting is hard to read * Add instructions on how to run docs locally * Work through docs * Remove content from README * Miscellaneous fixes * Fix artifact upload
18 lines
530 B
Markdown
18 lines
530 B
Markdown
---
|
|
title: Encrypt backups using GPG
|
|
layout: default
|
|
parent: How Tos
|
|
nav_order: 7
|
|
---
|
|
|
|
# Encrypt backups using GPG
|
|
|
|
The image supports encrypting backups using GPG out of the box.
|
|
In case a `GPG_PASSPHRASE` environment variable is set, the backup archive will be encrypted using the given key and saved as a `.gpg` file instead.
|
|
|
|
Assuming you have `gpg` installed, you can decrypt such a backup using (your OS will prompt for the passphrase before decryption can happen):
|
|
|
|
```console
|
|
gpg -o backup.tar.gz -d backup.tar.gz.gpg
|
|
```
|