Versions Compared

Key

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

...

   → In the RPi image → /tmp/ folder can be checked if a backup file has been created "backup.cpytar"

   → In the Local PC → Downloads/ folder can be checked for "backup.cpytar" file to be saved.

Please check the following figure for reference:

tmp folder contents after backupImage ModifiedDownload folder contains backup fileImage RemovedDownload folder contents after backupImage Added


Once Restore is performed, the following path can be checked to ensure that Restore has been executed as expected.

   → In RPi image before automatic reboot, /var/tmp/ folder can be checked for backup.cpytar file to be present.

   → In RPi image, /nvram/syscfg.db or /nvram/bbhm_cur_cfg.xml file can be checked manually to confirm if the changes have been applied.

...

Please check the following figure for reference:

var folder contains file to be restoredImage Removedvar contents after restoreImage Added

  • Exiting the System

...

Care should be taken that before Backup is performed, backup.cpytar file already existing in Download folder of Local PC has to be deleted or renamed to avoid creation of duplicate file.

Please check the following figure for reference:

Duplicate files created in local PCImage Modified

Executing System

...

Follow the above for sub feature / use cases

The Backup feature creates a tar file in the /tmp/ folder. This tar file contains all the necessary files like, bbhm_bak_cfg.xml, syscfg.db and bbhm_cur_cfg.xml required for backing up all the user settings. The same tar file is downloaded to local PC.

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.

untar contents of tmp backup.tar fileImage AddedImage Added

Backup Example:

The current settings show Managed Sites is Enabled.

Image AddedImage Added

These settings will be saved in the backup file.

Restore Example:

In the current setting, Managed Sites is disabled.

Image AddedImage Added


If User wants to load the backed up settings, Restore option is used and Managed sites will be Enabled in WebUI after device reboot.

Troubleshooting

  • Error Messages

<Identify the error messages that a user may receive and the likely cause(s) and/or possible corrective actions for the error>

If restore is success, the following message will be displayed before automatic device reboot.

Image Added



In case of Error, one among the following will be displayed.

       * Error, get restore status failure

       * Error, restore configuration failure!

       * Restore configuration Failure! Please try later.


  • Special Considerations

<If applicable, describe any special circumstances, actions, exceptions, etc., that should be considered for troubleshooting.>

The backed up and restored files are by default named as backup.tar (if changed, will cause misbehavior in feature execution).

Support

Contact

Organization

Phone

Email

Role

<Contact Name>

<Organization>

<Phone>

<Email>

<Role>

...