Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Implement backup and restore #14

Open
McPringle opened this issue Aug 13, 2017 · 0 comments
Open

Implement backup and restore #14

McPringle opened this issue Aug 13, 2017 · 0 comments

Comments

@McPringle
Copy link
Contributor

McPringle commented Aug 13, 2017

All kind of data like entities, images etc. should be part of a backup and must be restorable. Access to backup and restore has to be secured (admins only).

Export all entities as JSON files. One JSON file per entity type (event, sponsor, SIG etc). Export all images as files in folders per entity type. Compress all the backup data using ZIP compression and use the date and time as a part of the filename, e.g. komunumo-backup-20170915180000.zip.

The RESTful JSON API:

  • GET /api/backup: Create a backup and send it to the client (secured, admin only)
  • POST /api/backup: Restore a backup (secured, admin only)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant