Enhancement #2118

Backup: force backup of configuration before starting backup-data

Added by Giacomo Sanchietti almost 8 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-backup-data
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

When a backup-data is executed all file inside /var/lib/nethserver/ are saved, including the configuration backup file backup-config.tar.gz.
But the configuration backup should not be already updated with last modifications to the system.

To avoid inconsistency, backup-data command should also execute backup-config as first command.


Related issues

Related to NethServer 6 - Enhancement #2043: Backup: implement and document full restore CLOSED
Related to NethServer 6 - Enhancement #1671: Dashboard: new widgets CLOSED

Associated revisions

Revision dcdf827d
Added by Giacomo Sanchietti over 7 years ago

backup-data: execute backup-config berfore starting pbackup process. Refs #2118

History

#1 Updated by Giacomo Sanchietti almost 8 years ago

  • Target version changed from ~FUTURE to v6.5-beta3

#2 Updated by Giacomo Sanchietti almost 8 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20
  • Estimated time set to 1.00

#3 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#4 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-backup-data-1.0.7-1.0gitdcdf827d.ns6.noarch.rpm
Test case
  • Configure data backup
  • Check file /var/lib/nethserver/backup/backup-config.tar.gz is NOT present
  • Execute: backup-data
  • Check /var/lib/nethserver/backup/backup-config.tar.gz is present

#6 Updated by Davide Principi over 7 years ago

  • Assignee set to Davide Principi

#7 Updated by Davide Principi over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

#8 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF