feat: replace --operation flag by backup and restore command

This commit is contained in:
jkaninda committed 2024-01-20 13:04:39 +01:00
1 parent 4b07a78f29
commit 05eda4213a
22 files changed
+327 -283

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ services:
command:
- /bin/sh
- -c
- bkup --operation backup --storage s3 --path /mys3_custom_path --dbname database_name
- bkup backup --storage s3 --path /mys3_custom_path --dbname database_name
environment:
- DB_PORT=3306
- DB_HOST=mysqlhost
+1 -1
View File
@@ -6,7 +6,7 @@ services:
command:
- /bin/sh
- -c
- bkup --operation backup --dbname database_name --mode scheduled --period "0 1 * * *"
- bkup backup --dbname database_name --mode scheduled --period "0 1 * * *"
volumes:
- ./backup:/backup
environment:
+1 -1
View File
@@ -9,7 +9,7 @@ services:
command:
- /bin/sh
- -c
- bkup --operation backup --storage s3 --path /mys3_custom_path --dbname database_name --mode scheduled --period "0 1 * * *"
- bkup backup --storage s3 --path /mys3_custom_path --dbname database_name --mode scheduled --period "0 1 * * *"
environment:
- DB_PORT=3306
- DB_HOST=mysqlhost
+1 -1
View File
@@ -6,7 +6,7 @@ services:
command:
- /bin/sh
- -c
- bkup --operation backup --dbname database_name
- bkup backup --dbname database_name
volumes:
- ./backup:/backup
environment:
+1 -1
View File
@@ -16,7 +16,7 @@ spec:
command:
- /bin/sh
- -c
- bkup --operation backup --storage s3 --path /custom_path
- bkup backup --storage s3 --path /custom_path
env:
- name: DB_PORT
value: "3306"