Versions Compared

Key

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

...

These script files which are already present in the RDK build, will execute when the Backup and Restore buttons are clicked.

Backup Settings

downloadScripts backup_user_settings.php
backup, download_user_settings.php
performs Encryption and download of the encrypted file.

It encrypts the database files which contains the Current User settings. A tar file is generated with encrypted files together and stored in temporary folder /tmp/. The tar file from temporary folder is downloaded to the Local PC of User.

Restore Settings

Scripts upload_user_settings1.php, upload_user_settings2.php perform the Restore and Status update functions.

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.

Architecture


  • Layout

           <Architecture Diagram>

...