-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
40 lines (35 loc) · 1.53 KB
/
config.yaml
File metadata and controls
40 lines (35 loc) · 1.53 KB
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
# Path where all backups will be stored.
backup_destination: /mnt/user/backup/appdata
# Whether to organize backups into subfolders based on groups (e.g., group-1, group-2).
store_by_group: yes
# Definition of backup groups
groups:
group-1:
# First container in group-1
- name: container-a # Name of the container
host: local # Container is running on the local machine
appdata_path: /mnt/user/appdata/container-a # Path to the container's appdata/config directory
restart: yes # Stop/Start the container for the backup operation
start_delay: 10 # Wait (in seconds) before starting this container. Helpful if a dependent container needs time to init
# Second container in group-1
- name: container-b
host: local
appdata_path: /mnt/user/appdata/container-b
restart: no
group-2:
# First container in group-2, hosted on a remote server
- name: container-c
host: 10.0.0.2 # IP address of the remote host
ssh_user: userName # Username for rsync over SSH
ssh_key: /mnt/user/system/keys/ssh_key # SSH key for accessing the remote host
ssh_port: 2222 # Custom SSH port used by the remote host
appdata_path: /docker/container-c # Appdata path on the remote server
restart: yes
# Second container in group-2, also on the same remote host
- name: container-d
host: 10.0.0.2
ssh_user: userName
ssh_key: /mnt/user/system/keys/ssh_key
ssh_port: 22 # Standard SSH port
appdata_path: /docker/container-d
restart: yes