Downloads configurable directories from uberspace users (and also other SSH-accessible server) and encrypts them with GnuPG. Can automatically delete older backups.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
480 B

# SPDX-FileCopyrightText: 2019 Max Mehl <mail [at] mehl [dot] mx>
# SPDX-License-Identifier: CC0-1.0
# File with hosts and their backup source paths
HOSTS="$CURDIR"/hosts.csv
# root dir where backups shall be saved to
BACKUPDIR=/var/backups/uberspace
# GPG fingerprint of key used for encryption
GPG=6775E8DDD8CEABCC83E38CEHE6334BCA29DF8192
# Maximum number of backups that shall be retained (0 to disable automatic deletion)
MAXBAK=3
# SSH key
#SSH_KEY="~/.ssh/mykey_rsa"