-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
33 lines (33 loc) · 964 Bytes
/
Copy pathconfig.yml
File metadata and controls
33 lines (33 loc) · 964 Bytes
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
backups:
# If "BACKUP PATH MAIN" values are empty, the default path will be $(pwd)/backups
# Warning
# If DELETE values are set to true, all files and directories of the "BACKUP_PATH_MAIN" path will be deleted.
BACKUP_PATH_MAIN: /mnt/drive
BACKUP_COMPRESS: true
DELETE: true
FORCE: true
steps:
# container_state = The state of the container at the time of the backup stop,pause
# container_state works when the VOLUME is in "yes" mode
- step:
container_name: mysql-server
container_state: pause
environment:
INSPECT: yes
IMAGE: no
VOLUME: yes
- step:
container_name: zabbix-server-mysql
container_state: pause
environment:
INSPECT: yes
IMAGE: no
VOLUME: yes
- step:
container_name: mynginx
container_state: stop
environment:
INSPECT: yes
IMAGE: yes
VOLUME: yes
restore: