@@ -6,14 +6,14 @@ restic_key = "<CHANGE ME>"
6
6
# Path to restic binary
7
7
restic_binary = "C:/restic_0.15.1_windows_amd64/restic_0.15.1_windows_amd64.exe"
8
8
# Default intervall for jobs in minutes
9
- default_interval = 86400
9
+ default_interval = 720
10
10
# Directory used for database files created during backup creation
11
11
scratch_dir = "scratchdir"
12
12
13
- # mysql dumb binary, if used for database backups
13
+ # mysql dumb binary, if used for database backups, can be left blank if available in path
14
14
# mysql_dumb_binary = "C:/Program Files/mysql/mysqldump.exe"
15
15
16
- # postgres dumb binary, if used for database backups
16
+ # postgres dumb binary, if used for database backups, can be left blank if available in path
17
17
# postgres_dumb_binary = "C:/Program Files/PostgreSQL/14/bin/pg_dump.exe"
18
18
19
19
# [global.period]
@@ -26,13 +26,14 @@ scratch_dir = "scratchdir"
26
26
# Rest-Server as backend
27
27
[global.Rest]
28
28
# URL for rest server to use for all jobs
29
+ # only domain:port or ip:port
29
30
rest_url = "example.com:443"
30
31
server_pubkey_file = "C:/Users/Foo/pub_key"
31
32
32
33
# All backup jobs, start each one with [[jobs]]
33
34
[[job]]
34
35
# For referencing jobs in commands and output, also used as part of the database backup folder
35
- name = "My Backup Job "
36
+ name = "Job1 "
36
37
# Command to run pre backup
37
38
# pre_command = ""
38
39
# Paths to include for backup
@@ -57,4 +58,27 @@ post_command_on_failure = false
57
58
# Postgres Database backup
58
59
# postgres_db = {database = "database", change_user = false, user = "user", password = "password"}
59
60
# MySQL Database backup
60
- # mysql_db = "database"
61
+ # mysql_db = "database"
62
+
63
+ # a second job, minimal required settings
64
+ [[job]]
65
+ name = "Job2"
66
+ paths = ["C:/Users/Foo"]
67
+ excludes = []
68
+ user = "<CHANGE ME>"
69
+ password = "<CHANGE ME>"
70
+ repository_key = "<CHANGE ME>"
71
+ repository = "<CHANGE ME>"
72
+ post_command_on_failure = false
73
+
74
+ # third job, mysql backup only
75
+ [[job]]
76
+ name = "Job2"
77
+ paths = []
78
+ excludes = []
79
+ user = "<CHANGE ME>"
80
+ password = "<CHANGE ME>"
81
+ repository_key = "<CHANGE ME>"
82
+ repository = "<CHANGE ME>"
83
+ mysql_db = "database"
84
+ post_command_on_failure = false
0 commit comments