diff --git a/docs/quickstart.md b/docs/quickstart.md index d560bc059d..62ab4e86c5 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -64,6 +64,20 @@ Make sure that you install somewhere in your PATH. ark backup create nginx-backup --selector 'backup notin (ignore)' ``` +1. (Optional) Create regularly scheduled backups based on a cron expression using the `app=nginx` label selector: + + ``` + ark schedule create nginx-daily --schedule="0 1 * * *" --selector app=nginx + ``` + + Alternatively, you can use some non-standard shorthand cron expressions: + + ``` + ark schedule create nginx-daily --schedule="@daily" --selector app=nginx + ``` + + See the [cron package's documentation][30] for more usage examples. + 1. Simulate a disaster: ``` @@ -146,4 +160,5 @@ kubectl delete -f examples/nginx-app/base.yaml [3]: cloud-common.md [18]: debugging-restores.md -[26]: https://github.com/heptio/ark/releases \ No newline at end of file +[26]: https://github.com/heptio/ark/releases +[30]: https://godoc.org/github.com/robfig/cron