-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml.example
More file actions
37 lines (34 loc) · 1.02 KB
/
config.yml.example
File metadata and controls
37 lines (34 loc) · 1.02 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
storage:
path: "./backups"
discord:
webhook_url: "YOUR_DISCORD_WEBHOOK_URL"
on_success: "Backup of {database} on {host} completed successfully."
on_failure: "Backup of {database} on {host} failed: {error}"
retention:
default:
keep_last: 10
max_gb: 5.0
overrides:
important_db:
keep_last: 30
max_gb: 20.0
servers:
- host: "test.errin.dev"
container: "db_server_one" # Optional: uses docker exec if specified
user: "backup_user"
password: "backup_password"
databases:
- name: "website_db"
timeout: 30 # Custom 30-second timeout for this specific DB
schedule: "02:00" # Daily at 02:00
- host: "127.0.0.1"
container: "db_server_two"
user: "backup_user"
password: "backup_password"
databases:
- "app_db"
- "all" # Use "all" to backup all databases on the server
exclude:
- "temp_dev_db" # Exclude this DB when using "all"
interval_hours: 6 # Every 6 hours
timeout: 600 # Default 10-minute timeout for all DBs on this server