1. Download to a local directory, archive/encrypt there 1. Push encrypted archive to remote folder This helps when the backup destination is e.g. a NFS drive. Also, introduce harder checks and fix some flaws. Reviewed-on: #1 Co-authored-by: Max Mehl <mail@mehl.mx> Co-committed-by: Max Mehl <mail@mehl.mx>
21 lines
556 B
Plaintext
21 lines
556 B
Plaintext
# 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
|
|
|
|
# Temporary download destination for backups
|
|
TEMPDIR=/tmp/uberspace-backup
|
|
|
|
# root dir where backups shall be saved to
|
|
BACKUPDIR=/mnt/remotesrv/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"
|