Commit e40d7700 authored by Jérome Perrin's avatar Jérome Perrin

stack/erp5: use repozo --kill-old-on-full when producing backups

from repozo doc:

> If a full backup is created, remove any prior full or incremental
> backup files (and associated metadata files) from the repository
> directory.

This solves a problem that after a pack some old repozo files were left
around, with this option they are automatically removed.
parent fb661595
Pipeline #37468 canceled with stage
in 0 seconds
...@@ -78,7 +78,7 @@ md5sum = 1333d2fc21f64da4010a4eafea59d141 ...@@ -78,7 +78,7 @@ md5sum = 1333d2fc21f64da4010a4eafea59d141
[template-zeo] [template-zeo]
filename = instance-zeo.cfg.in filename = instance-zeo.cfg.in
md5sum = 33075c3ab06613874b928d90e0c0006a md5sum = 702afb430227eebe4312a618da7ef7cb
[template-zeo-conf] [template-zeo-conf]
filename = zeo.conf.in filename = zeo.conf.in
......
...@@ -101,6 +101,7 @@ inline = ...@@ -101,6 +101,7 @@ inline =
echo "Backing up $storage_name ..." echo "Backing up $storage_name ..."
$repozo \ $repozo \
--backup \ --backup \
--kill-old-on-full \
--gzip \ --gzip \
--quick \ --quick \
--repository="$zodb_backup_directory/$storage_name" \ --repository="$zodb_backup_directory/$storage_name" \
......
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