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

Need backup/restore command #10

Open
dchassin opened this issue Jan 24, 2022 · 1 comment
Open

Need backup/restore command #10

dchassin opened this issue Jan 24, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dchassin
Copy link
Contributor

The server command needs a backup and a restore option.

@dchassin dchassin added the enhancement New feature or request label Jan 24, 2022
@dchassin
Copy link
Contributor Author

Backup requirements

  1. The backup command should commit an image based on the current state of the container (default container name is openfido-server-1).
  2. The default name of the image should openfido-backup-YYMMDD-HHMMSS.
  3. The most recently saved image should also be named openfido-backup-latest.
  4. The image should save the image to a tar file using the same base name for archival.
  5. Once the tar file is saved, any older images may be removed to save space.
  6. If there is insufficient space to save the image, then older tar files may be removed.
  7. The most recently saved image should be kept until a newer one is committed.

Restore requirements

  1. The restore command should restore the most recently saved image.
  2. If an image name is provided, then the named image should be restored.
  3. If a server is active, then the restore command should fail, unless the --force option is provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants