-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup.conf.sample
72 lines (57 loc) · 1.81 KB
/
backup.conf.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
###############################################################################
# Define your variables here
###############################################################################
#
# ZFS
#
# zfs dataset to backup
DATASET="tank/dataset"
#
# RESTIC
#
# restic repository
# Examples:
# SFTP on Hetzner Storage Box: "sftp://[email protected]:23/restic-repo"
# S3 on Wasabi: "s3:https://s3.eu-central-1.wasabisys.com/example.com-restic-repo"
# Connect to rclone's restic REST backend: "rclone:restic-repo" (see https://rclone.org/commands/rclone_serve_restic/)
RESTIC_REPOSITORY=""
# password of restic repo
RESTIC_PASSWORD=""
#
# HEALTHCHECKS.IO
#
# Healthchecks.io ping url, e.g. "https://hc-ping.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
HC_URL=""
#
# KEEP
#
# which snapshots should be kept?
# see https://restic.readthedocs.io/en/latest/060_forget.html
# comment out or set to "" to keep all
KEEP_WITHIN="1m"
KEEP_MONTHLY="7"
#
# S3 STORAGE (optional, must be set if S3 storage is used)
#
# S3 keys
AWS_ACCESS_KEY_ID="none"
AWS_SECRET_ACCESS_KEY="none"
#
# RCLONE (optional, must be set if connection to rclone is made, see https://rclone.org/commands/rclone_serve_restic/)
#
# sets the rclone location:
# Examples:
# * Use rclone from $PATH: "rclone"
# * Specify a local path to rclone: "/opt/local/bin/rclone"
# * Execute rclone on the remote server via ssh:
# * For a remote server "ssh [email protected] rclone"
# * For a Hetzner Storage Box use "ssh -p 23 [email protected] rclone"
RCLONE_PROGRAM="rclone"
#
# PATH (optional)
#
# add additional paths to PATH, e.g. "/opt/restic/bin:/mnt/dataset/bin"
PATH_APPEND=""
###############################################################################
# End of user defined variables
###############################################################################