-
Notifications
You must be signed in to change notification settings - Fork 71
/
rclone_ovh-hot-cold.toml
34 lines (28 loc) · 1.03 KB
/
rclone_ovh-hot-cold.toml
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
# rustic config file to backup /home, /etc and /root to a hot/cold repository hosted by OVH
# using OVH cloud archive and OVH object storage
#
# backup usage: "rustic --use-profile ovh-hot-cold backup
# cleanup: "rustic --use-profile ovh-hot-cold forget --prune
[repository]
repository = "rclone:ovh:backup-home"
repo-hot = "rclone:ovh:backup-home-hot"
password-file = "/root/key-rustic-ovh"
cache-dir = "/var/lib/cache/rustic" # explicitly specify cache dir for remote repository
warm-up = true # cold storage needs warm-up, just trying to access a file is sufficient to start the warm-up
warm-up-wait = "10m" # in my examples, 10 minutes wait-time was sufficient, according to docu it can be up to 12h
[forget]
keep-daily = 8
keep-weekly = 5
keep-monthly = 13
keep-yearly = 10
[backup]
exclude-if-present = [".nobackup", "CACHEDIR.TAG"]
glob-files = ["/root/rustic-ovh.glob"]
one-file-system = true
[[backup.snapshots]]
sources = ["/home"]
git-ignore = true
[[backup.snapshots]]
sources = ["/etc"]
[[backup.snapshots]]
sources = ["/root"]