RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
...
→ backup_user_settings.php
→ backup_enc_key.php
→ ajax_at_saving_backup_key.php
These script files which are already present in the RDK build, will execute when the Backup and Restore buttons are clicked.
...
Backup: Under the main menu Troubleshooting, Backup User Settings sub menu is selected and Backup button is clicked. The user is asked to enter a Secure key to encrypt the files. Once key is entered, a pop up to download the Current User settings in the form of a tar file in Local PC.
Troubleshooting → Backup User Settings → Backup (button) → Enter Secure key → Click Save → Pop up to Save → Select SaveSave .
Please check the following figure for reference:
Restore: Under the main menu Troubleshooting, Reset / Restore Gateway is selected and Restore User Settings button is clicked. The file which needs to be uploaded has to be selected from local PC and Restored , the secure key previously used to encrypt the files should be entered to decrypt the files and Restore is clicked to apply the settings.
Troubleshooting → Reset / Restore Gateway → Restore User Settings (button) → Browse (To select the file from Local PC) → Enter Secure key to decrypt files → Restore (button).
Please check the following figure for reference:
...
The Restore feature copies the uploaded file temporarily to /var/tmp/ folder and restores all the settings from the tar file to the WebUI. The restore changes can be observed in WebUI and the files in /nvram/ folder.
Backup Example:
...
These settings will be saved in the encrypted backup filefiles.
Restore Example:
In the current setting, Managed Sites is disabled.
...
If restore is success, the following message will be displayed before automatic device reboot.
In case of Error, one among the following will be displayed.
* Error, get restore status failure
* Error, restore configuration failure!
...
backup file not selected:
* Empty secure key entered
* Invalid secure key entered
The backed up and restored files are by default named as backup.tar (if changed, will cause misbehavior in feature execution).
...