Commit d476b788 authored by Vincent Pelletier's avatar Vincent Pelletier

Enable zeo backups by default, to be consistent with mariadb.

parent 37fb6182
......@@ -11,7 +11,8 @@
}]
},
"tidstorage-dict": {
"description": "Controls ZODB backup generation and retention",
"description": "Controls ZODB backup generation and retention (disabled if null)",
"default": {},
"properties": {
"zodb-dict": {
"description": "Maps an export identifier to the path it must be backed up into",
......@@ -31,7 +32,7 @@
"type": "string"
}
},
"type": "object"
"type": ["object", "null"]
},
"zodb-dict": {
"description": "Maps an export identifier to its settings",
......
......@@ -279,7 +279,7 @@ md5sum = 1499c42d196f6627efb904f7e4d48b1b
[template-zeo]
< = download-base
filename = instance-zeo.cfg.in
md5sum = 9fff70e6958bccbb3d4982cb3611813f
md5sum = 8453652206eac7b165c86cf236b87cbf
[template-zope]
< = download-base
......
......@@ -4,7 +4,7 @@
{% set part_list = [] -%}
{% set storage_dict = {} -%}
{% set zodb_dict = {} -%}
{% set tidstorage_dict = slapparameter_dict.get('tidstorage-dict') -%}
{% set tidstorage_dict = slapparameter_dict.get('tidstorage-dict', {}) -%}
{% set known_tid_storage_identifier_dict = {} -%}
{% set default_zodb_path = buildout_directory ~ '/srv/zodb' -%}
{% set zodb_backup_path = buildout_directory ~ '/srv/backup/zodb' -%}
......
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