-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yml
47 lines (38 loc) · 1.14 KB
/
config.example.yml
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
exporter:
# Prometheus exporter will listen on this address
bind_address: ":8080"
log:
# Use debug to output executed restic commands
level: "info"
# Repositories configuration
repositories:
# Name of your repository
- name: "local"
# Restic repository URL
url: "./repository"
# Restic repository password
password: "testtest"
# Check configuration
check:
# Cron formatted schedule
schedule: "* * * * *"
# Run the check on startup (defaults to false)
# run_on_startup: false
retention:
# Cron formatted schedule
schedule: "* * * * *"
# Run the check on startup (defaults to false)
# run_on_startup: false
# Retention policy, see restic docs for details
policy:
keep_last: 1
# keep_daily: 3
# keep_hourly: 1
# keep_weekly: 1
# keep_monthly: 1
# keep_yearly: 1
# Keep snapshots with tag1 OR tag2
# keep_tags: ["tag1", "tag2"]
# Keep snapshots with tag1 AND tag2
# keep_tags: ["tag1,tag2"]
# keep_within: "3y1m2d"