Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The files which are uploaded in WebUI are extracted to get the encrypted files. These encrypted files are decrypted and the database files are saved to temporary folder /var/tmp/. The files are retrieved and replaced with the existing database files in RPi image.


Other Considerations (DAR)

<Alternative designs considered and why one was chosen>

Architecture

draw.io Diagram
bordertrue
viewerToolbartrue
fitWindowfalse
diagramNameBackup and Restore High level architecture
simpleViewerfalse
width
diagramWidth983
revision56

Limitations

The downloaded file, backup.tar is the default name given to the backup file. Once downloaded to Local PC, this file has to be replaced with new backup.tar file. If the old file is not deleted, it may cause misbehavior in Restore feature execution. The old file can be either deleted or renamed to avoid duplicate file creation. Please Refer User manual for further details.

During Restore, the file to be uploaded has to be named to backup.tar by default.

Future Enhancements

Backup feature:

  •      Naming convention for the backup.tar file with versions/time of file creation can be automated. Example: backup_2711191230.tar for files generated on 27/11/19 12:30PM.
  •      Encryption of the database files before generating the tar file.
  •         Restore feature:
    •      During file upload, selection of files with any name, can be made possible. Example: Wifi_settings.tar
    •      Decryption of the database files after extracting the files from tar file.