You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Run multiple backup schedules in the same container
3
+
layout: default
4
+
parent: How Tos
5
+
nav_order: 11
6
+
---
7
+
8
+
Multiple backup schedules with different configuration can be configured by mounting a configuration file into `/config/config.yaml``/config/config.yml` or by defining an environment variable `BACKUP_CONFIG_FILE=/backup/config.yaml`.
9
+
10
+
## Configuration file
11
+
12
+
```yaml
13
+
#cronExpression: "@every 20m" //Optional for scheduled backups
14
+
cronExpression: ""
15
+
databases:
16
+
- host: mysql1
17
+
port: 3306
18
+
name: database1
19
+
user: database1
20
+
password: password
21
+
path: /s3-path/database1 #For SSH or FTP you need to define the full path (/home/toto/backup/)
22
+
- host: mysql2
23
+
port: 3306
24
+
name: lldap
25
+
user: lldap
26
+
password: password
27
+
path: /s3-path/lldap #For SSH or FTP you need to define the full path (/home/toto/backup/)
28
+
- host: mysql3
29
+
port: 3306
30
+
name: keycloak
31
+
user: keycloak
32
+
password: password
33
+
path: /s3-path/keycloak #For SSH or FTP you need to define the full path (/home/toto/backup/)
34
+
- host: mysql4
35
+
port: 3306
36
+
name: joplin
37
+
user: joplin
38
+
password: password
39
+
path: /s3-path/joplin #For SSH or FTP you need to define the full path (/home/toto/backup/)
0 commit comments