-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tergum-local-v3-k8s.yaml
114 lines (114 loc) · 2.53 KB
/
tergum-local-v3-k8s.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Meta:
SchemaVersion: 3
Notification:
Backend:
Email:
SmtpHost: 127.0.0.1
SmtpPort: 1025
Username: null
Password: null
From: tergum+k8s@example.com
Targets:
- Email:
Emails:
- ondrej+local-k8s@example.com
- monitoring+local-k8s@example.com
Backups:
- ID: example-mysql
Source:
Mysql:
Host: 127.0.0.1
Port: 3306
User: root
Password: root
Database: default
Targets:
- ID: filepath
FilePath:
Path: tmp/filepath-mysql.sql
- ID: filepath-gzip
Middlewares:
- Gzip: {}
FilePath:
Path: tmp/filepath-mysql.sql.gz
- ID: file
File:
Dir: tmp/
Prefix: file-mysql
Suffix: sql
- ID: s3
S3:
AccessKey: admin
SecretKey: asdfasdf
Endpoint: http://127.0.0.1:9000
BucketName: tergum-backups
Prefix: mysql
Suffix: sql
- ID: example-postgres
Source:
Postgres:
Host: 127.0.0.1
Port: 5432
User: postgres
Password: pg
Database: postgres
Targets:
- ID: filepath
FilePath:
Path: tmp/filepath-postgres.sql
- ID: filepath-gzip
Middlewares:
- Gzip: {}
FilePath:
Path: tmp/filepath-postgres.sql.gz
- ID: file
File:
Dir: tmp/
Prefix: file-postgres
Suffix: sql
- ID: s3
S3:
AccessKey: admin
SecretKey: asdfasdf
Endpoint: http://127.0.0.1:9000
BucketName: tergum-backups
Prefix: file-postgres
Suffix: sql
- ID: example-mysql-2
Source:
Mysql:
Host: 127.0.0.1
Port: 3306
User: root
Password: root
Database: default
Middlewares:
- Gzip: {}
Targets:
- ID: filepath-gzip-1
FilePath:
Path: tmp/example-mysql-2-1.sql.gz
- ID: filepath-gzip-2
FilePath:
Path: tmp/example-mysql-2-2.sql.gz
- ID: example-mysql-server
Source:
MysqlServer:
Host: 127.0.0.1
Port: 3306
User: root
Password: root
Targets:
- ID: file
File:
Dir: tmp/
Prefix: mysql-server
Suffix: sql
- ID: s3
S3:
AccessKey: admin
SecretKey: asdfasdf
Endpoint: http://127.0.0.1:9000
BucketName: tergum-backups
Prefix: mysql-server
Suffix: sql