docker container run -d
--link mysql
--volume /path/to/my/backup/folder:/backup
--volume /path/to/my/nextcloud/config:/nextcloud/config
waja/calcardbackup
There is a docker-compose-example.yml
and a docker-compose-complex-example.yml
available. Feel free to have a look if there is something you can use.
CRON_TIME the interval of cron job to run mysqldump. `5 4 * * *` by default, which is every day at 04:05 (optional)
INIT_BACKUP if set, create a backup when the container starts (optional)
BACKUP_DIR location where the backup should be stored (optional)
NC_DIR location where Nextcloud config/config.php is searched for (optional)
NC_HOST hostname Nextcloud webinterface running on (optional)
NC_PORT port Nextcloud webinterface running on (optional)
DB_HOST hostname database running on (optional)
DB_PORT port database running on (optional)
CALCARD_OPTS options passed to calcardbackup (optional)