diff --git a/www/htdocs/index.html b/www/htdocs/index.html index 85be7654..9e3b803e 100644 --- a/www/htdocs/index.html +++ b/www/htdocs/index.html @@ -1905,6 +1905,36 @@ class: title --- +## Scheduling backups + +In the "old world," we (generally) use cron. + +With containers, what are our options? + +-- + +- run `cron` on the Docker host, +
and put `docker run` in the crontab + +-- + +- run `cron` in the backup container, +
and make sure it keeps running +
(e.g. with `docker run --restart=…`) + +-- + +- run `cron` in a container, +
and start backup containers from there + +-- + +- listen to the Docker events stream, +
automatically scheduling backups +
when database containers are started + +--- + # Logs - Two strategies: