-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py.example
executable file
·73 lines (61 loc) · 2.05 KB
/
config.py.example
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
73
#!/usr/bin/python
#Set the log file directory
logFile = "/var/log/backup"
# Set the temporary file directory
tmpDir = "/tmp/backup"
# Set the number of backup files to keep for each backup type as an associative array
maxFiles = {
'Daily':7,
'Weekly':4,
'Monthly':6
}
# Email notification settings
fromEmail = ""
toEmail = ""
#########################################################################################
#
# The following sections allow you to configure the individual backup sources
# Currently we have filesystem backups and MySQL backups
#
#########################################################################################
# fsBackup - choose to enable (True) or disable (False) the filesystem backup
# fsType - the type of backup to use. Currently gzip is the only supported method
# fsBackupTmpPath - path to temporary storage of the backups
# fsBackupSrc - array of directories to back up
# fsBackupExclude = array of directories to exclude from backup
fsBackup = True
fsType = "gzip"
fsBackupSrc = [
"/home",
"/etc"
]
fsBackupExclude = [
"/home/aaron"
]
# sqlBackup - choose to enable (True) or disable (False) the sql backup
# sqlType - Set the sql server type, done as a multi-dimensional array (list of lists)
# backend - sql backend type. Currently only supports mysql
# user - sql username
# pass - sql password
# host - sql host
# dbMysqlUser - the MySQL user account that has access to the databases you wish to backup
# dbMysqlPass - dbMysqlUser's password
# dbMysqlHost - host of the MySQL server.
sqlBackup = True
sqlServers = [
["backend","user","pass","host"],
]
#########################################################################################
#
# The following sections allow you to configure the individual backup destinations
#
#
#########################################################################################
# Configure the Rackspace backup destination
bpRackspace = True
bpRackspaceUser = ""
bpRackspaceAPI = ""
# Configure the Amazon S3 backup destination
bpAmazonS3 = True
bpAWSKeyID = ""
bpAWSKey=""