restic-systemd-automatic-ba.../etc/restic/env.sh

8 lines
307 B
Bash

#!/bin/bash
export RESTIC_PASSWORD_FILE="/etc/restic/pw.txt"
export RESTIC_REPOSITORY="sftp:lerentis@192.168.0.211:/srv/dev-disk-by-id-md-name-asgard-Data/Backup/Laptop/Huginn"
# What to backup, and what to not
BACKUP_PATHS="/home/lerentis/"
BACKUP_EXCLUDES="--exclude-file ${BACKUP_PATHS}.backup_exclude"