Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute a full backup of GlobaLeaks before upgrading it #2149

Open
fpietrosanti opened this issue Jan 16, 2018 · 1 comment
Open

Execute a full backup of GlobaLeaks before upgrading it #2149

fpietrosanti opened this issue Jan 16, 2018 · 1 comment

Comments

@fpietrosanti
Copy link
Contributor

Current behavior
Actually we suggest the execution of a manual backup before the upgrade of globaleaks:
https://globaleaks.readthedocs.io/en/latest/BackupGuide.html

Expected behavior
This ticket is to execute a full backup of GlobaLeaks before upgrading it, after the installation of a new package, in a full automatic way.

This ticket is to delete the backup only after X days following the upgrade (es: 7 days), in order to gives the sysadmin a way to detect possible malfunctions.

The configuration of the amount of time the automatic pre-upgrade backup has to be kept, has to be configurable.

@evilaliv3
Copy link
Member

In commit 3b497f6 i've implemented a first step for this.

  • An automatic backup is performed during the debian pre-inst if an existing setup of globaleaks is detected
  • The backup is stored in /var/globalealsks/backups for 15 days and then removed by globaleaks in the cleaning scheduler
  • The backup file has the format like globaleaks-2.72.27-1518305224.tar.gz (globaleaks-$version-$timestamp.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants