n0mn0m / duplicity_helpers

Duplicity script configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Helper scripts to manage back up and restore with duplicity

Steps

Migrate Key

gpg --export-secret-key duplicity > ~/duplicity.asc
gpg --import duplicity.asc
# For alpine
#gpg --pinentry-mode loopback --import duplicity.asc

Trust Key

https://stackoverflow.com/questions/33361068/gnupg-there-is-no-assurance-this-key-belongs-to-the-named-user

gpg --edit-key <KEY_ID>
gpg> trust
gpg> q

Install duplicity and run backup

apk add duplicity
./.vault/backup.sh
sudo crontab -u n0mn0m -e
0 22 * * * bash ./.vault/backup.sh

About

Duplicity script configuration

License:GNU Affero General Public License v3.0


Languages

Language:Shell 100.0%