Commit 759b78c6 authored by Łukasz Nowak's avatar Łukasz Nowak

Re-add ERP5 Certificate Authority backup.

parent 9e7ad8a9
...@@ -113,6 +113,7 @@ tmp = ${buildout:directory}/tmp ...@@ -113,6 +113,7 @@ tmp = ${buildout:directory}/tmp
var = ${buildout:directory}/var var = ${buildout:directory}/var
zodb = ${:srv}/zodb zodb = ${:srv}/zodb
zodb-backup = ${:backup}/zodb zodb-backup = ${:backup}/zodb
erp5-ca-dir-backup = ${:backup}/erp5-ca-dir
############################# #############################
# Binary symlinking # Binary symlinking
...@@ -499,6 +500,13 @@ repozo-binary = {{ bin_directory }}/repozo ...@@ -499,6 +500,13 @@ repozo-binary = {{ bin_directory }}/repozo
tidstorage-wrapper = ${directory:services}/tidstoraged tidstorage-wrapper = ${directory:services}/tidstoraged
repozo-wrapper = ${buildout:bin-directory}/tidstorage-repozo repozo-wrapper = ${buildout:bin-directory}/tidstorage-repozo
[cron-entry-erp5-ca-backup]
< = cron-base
recipe = slapos.cookbook:cron.d
name = erp5-ca-backup
frequency = 0 0 * * *
command = ${buildout:bin-directory}/cp -a ${directory:erp5-ca-dir}/* ${directory:erp5-ca-dir-backup}
[cron-entry-tidstorage-backup] [cron-entry-tidstorage-backup]
< = cron-base < = cron-base
recipe = slapos.cookbook:cron.d recipe = slapos.cookbook:cron.d
...@@ -525,6 +533,7 @@ parts = ...@@ -525,6 +533,7 @@ parts =
erp5-certificate-authority erp5-certificate-authority
tidstorage tidstorage
cron-entry-tidstorage-backup cron-entry-tidstorage-backup
cron-entry-erp5-ca-backup
logrotate-entry-tidstorage logrotate-entry-tidstorage
binary-link binary-link
erp5-promise erp5-promise
......
...@@ -120,7 +120,7 @@ extra-context = ...@@ -120,7 +120,7 @@ extra-context =
[template-tidstorage] [template-tidstorage]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-tidstorage.cfg.in url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
md5sum = 520e39f2612a045b42c0ad914bfdc5a9 md5sum = 0dbaee637c29d35b1a89216de898174d
mode = 640 mode = 640
[template-cloudooo] [template-cloudooo]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment