-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup.yml
44 lines (39 loc) · 1.28 KB
/
backup.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
---
command: full
# args:
# - "--rsync-options="--bwlimit=4096""
# - "--allow-source-mismatch"
gpg:
fingerprint: SOMEKEY123GOES123HERE
source:
# /baseDir/directory
# eg, if baseDir is "/mnt/mydata" and directories has "Documents",
# the source directory to backup would be: /mnt/mydata/Documents
baseDir: /mnt/mydata
dest:
uri: "rsync://root@someserver:22/" # this overrides proto/user/host/port *for duplicity only*
proto: rsync
user: root
host: somehost
port: 22
# /baseDir/directory
# eg, if baseDir is "/mnt/backup/mydata" and directories has "Documents",
# the destination directory of the backup would be: /mnt/backup/mydata/Documents
baseDir: /mnt/backup/mydata
# /baseDir/directory
# See notes above within the 'dest' section.
directories:
# Here are some examples:
- Code
- Documents/ebooks # example of sub-directory
- Documents/taxes # example of sub-directory
- Movies
- Music
- Pictures
- "Shows/Ergo Proxy" # example with space
- "Shows/My Hero Academia" # example with space
# Forward-slashes ("/") are treated like paths.
# This means you can, for example, backup only a subdirectory.
# The parent directory structure will be created in
# case you add subdirectories of the same parent structure later.
# - path/to/some/subfolder