1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 16:06:14 +00:00

Add softdelete and backup to scheduler (#189)

* disable soft delete in kopano-server and add cron in scheduler to execute it there (fixes #187)
* fix cron example for backup
This commit is contained in:
Felix Bartels 2019-06-21 07:50:48 +02:00 committed by GitHub
parent 4d2cffbe09
commit f0cc708933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ kcconf.configkopano({
'server_listen': "*:236",
'server_listen_tls': "*:237",
'sync_gab_realtime': "no",
'softdelete_lifetime': "0",
'kcoidc_initialize_timeout': "360"
}
})

View File

@ -509,7 +509,8 @@ services:
- TZ=${TZ}
- CRON_KOPANOUSERS=10 * * * * docker exec kopano_server kopano-admin --sync
- CRON_ZPUSHGAB=0 22 * * * docker exec kopano_zpush z-push-gabsync -a sync
- CRONDELAYED_KBACKUP=30 1 * * * docker run --rm -it zokradonh/kopano_utils kopano-backup -h
- CRONDELAYED_KBACKUP=30 1 * * * docker run --rm -it --volumes-from kopano_server -v /root/kopano-backup:/kopano/path ${docker_repo:-zokradonh}/kopano_utils:${CORE_VERSION:-latest} kopano-backup -h
- CRONDELAYED_SOFTDELETE=30 2 * * * docker exec kopano_server kopano-admin --purge-softdelete 30
env_file:
- kopano_scheduler.env
volumes: