Backend supported Backup/Restore

by Subhranath Chunder

The current application data is now ready to be backed-up, and restored as and when required.

Present application data can now be exported as JSON fixtures, to get a snapshot of the current application datastore state. At present it'll export the following objects:

  • Blogs
  • Users
  • Authors
  • Posts
  • Comments

The backup scripts uses Django Serialization to store the objects into files, and are deserialized into native python objects when restoring.

Thus, now backup and restore of the online project contents is possible. Currently, this can only be done from the backend, but later a more restricted version of it will be available from the front-end too.