forked from fr3nd/monkey-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
monkey-backup.ini
54 lines (43 loc) · 1.81 KB
/
monkey-backup.ini
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
; Here the default options can be defined
; If you want to override any of them, it should be specified in the config.ini file inside each server directory
[default]
; Where to store the backups
backupdir = /backup/monkey-backup
; Number of threads
threads = 5
; priority for the backups. The lowest the higest. Default: 10
priority = 10
; Where to store the logs
logdir = /var/log/monkey-backup
; Prefix to append to the lognames. Can use python strftime values:
; http://docs.python.org/library/time.html#time.strftime
lognameprefix = %Y%m%d-
; The order is important. Backups will be done in the same order as specified here.
; Valid options: rdiff-backup, mysql, command
backups = rdiff-backup
[rdiff-backup]
; Files containing inclusion lists.
; When preceding a file with the minus ("-") sign, this file will be excluded.
; The order in this file is important. See man "rdiff-backup" (section FILE SELECTION) for more info
; Some tags can be used:
; %server% - hostname
global-include-file = /etc/monkey-backup/include.txt, /backup/monkey-backup/%server%/include.txt
include-file =
; Files containing exclusion lists. There is a global one for all the servers and a specific one
; if multiple files are specified, they should be comma separated
; The same tags as the include files can be used
global-exclude-file = /etc/monkey-backup/exclude.txt, /backup/monkey-backup/%server%/exclude.txt
exclude-file =
; extra parameters for rdiff-backup
extra-parameters =
; How many backups we are going to keep
keep = 4W
[mysql]
; ssh user to connect for running the backup
sshuser = root
; ssh private key to be used.
sshkey = /root/.ssh/id_rsa-mysql.pub
[command]
; Run a specific command on the backup server after the backup has finished.
; Tag %server% can be used to pass the server name to the command as a parameter.
command = /bin/true