revert changes conf
diff --git a/staffeln/conf/conductor.py b/staffeln/conf/conductor.py
index 7d96579..e63895f 100755
--- a/staffeln/conf/conductor.py
+++ b/staffeln/conf/conductor.py
@@ -16,9 +16,9 @@
"fork and run. Default to number of CPUs on the host."),
),
cfg.IntOpt(
- "backup_period",
+ "backup_service_period",
default=60,
- min=1,
+ min=10,
help=_("The time of bakup period, the unit is one minute."),
),
cfg.StrOpt(
@@ -26,6 +26,11 @@
default="__automated_backup",
help=_("The key string of metadata the VM, which requres back up, has"),
),
+ cfg.IntOpt(
+ "max_backup_count",
+ default=10,
+ help=_("The key string of metadata the VM, which requres back up, has"),
+ ),
]
rotation_opts = [
@@ -36,9 +41,20 @@
"fork and run. Default to number of CPUs on the host."),
),
cfg.IntOpt(
- "rotation_period",
+ "retention_service_period",
+ default=20,
+ min=10,
+ help=_("The time of rotation period, the unit is one day."),
+ ),
+ cfg.IntOpt(
+ "rotation_workers",
default=1,
- min=1,
+ help=_("The maximum number of rotation processes to "
+ "fork and run. Default to number of CPUs on the host."),
+ ),
+ cfg.StrOpt(
+ "retention_time",
+ default="2021-05-05 14:56:00",
help=_("The time of rotation period, the unit is one day."),
),
]