Eli Mesika has submitted this change and it was merged.
Change subject: core: [RFE]Backup Awareness - Config
......................................................................
core: [RFE]Backup Awareness - Config
Adding backup awareness to engine
Currently backups are offered only as best practice, there is no alert
or event that informs the user that no backup was done or that a long
time passed from the last successful backup and he should backup the
application database again. In case of an accident, this may lead to
long engine downtime and lots of efforts restoring the engine DB if no
backup was done or only an old backup exists
The feature will enable to track backups done using engine-backup
utility and to alert the administrator if a pre-configurable time had
passed from the last successful backup.
Feature page :
http://www.ovirt.org/Features/BackupAwareness
This patch adds the configuration values needed for the feature:
BackupCheckPeriodInHours the period on which we check for a fresh backup
default : 6, set to -1 to disable this feature
BackupAlertPeriodInDays the max number of days allowed without a fresh
backup.
default : 1
Change-Id: I1ddd8c817742406d8206624599a82d8ff36b26ee
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1188127
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
M packaging/etc/engine-config/engine-config.properties
3 files changed, 17 insertions(+), 0 deletions(-)
Approvals:
Martin Peřina: Looks good to me, but someone else must approve
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/39522
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1ddd8c817742406d8206624599a82d8ff36b26ee
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server