You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ MySQL Backup tool, backup database to S3 or Object Storage
34
34
| --dbname | -d | Set database name |
35
35
| --port | -p | Set database port (default: 3306) |
36
36
| --mode | -m | Set execution mode. default or scheduled (default: default) |
37
-
| --period || Set crontab period for scheduled mode only. (default: "*/30 * * * *") |
37
+
| --period || Set crontab period for scheduled mode only. (default: "0 1 * * *") |
38
38
| --timeout | -t | Set timeout (default: 60s) |
39
39
| --help | -h | Print this help message and exit |
40
40
| --version | -V | Print version information and exit |
@@ -185,7 +185,7 @@ services:
185
185
## Run in Scheduled mode
186
186
187
187
This tool can be run as CronJob in Kubernetes for a regular backup which makes deployment on Kubernetes easy as Kubernetes has CronJob resources.
188
-
For Docker, you need to run it in scheduled mode by adding `--mode scheduled` flag and specify the periodical backup time by adding `--period "*/30 * * * *"` flag.
188
+
For Docker, you need to run it in scheduled mode by adding `--mode scheduled` flag and specify the periodical backup time by adding `--period "0 1 * * *"` flag.
0 commit comments