Versions Compared

Key

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

...

Other Considerations (DAR)

It is required for the device to be rebooted once the Restore feature is executed successfully. This is because the settings which are updated to the database files when the backup file is uploaded, has to be applied, to be reflected in the features in WebUI.

During code development, two approaches were considered while designing the Restore feature.

  • 1st approach: After successful Restore, the device automatically boots to apply new settings, using the reboot command executed immediately after printing the message "Need Reboot to Save restore configurations"  in the upload_user_settings2.php file.
  •  2nd approach: After successful Restore, the device automatically boots to apply new settings, using the "setStr("Device.X_CISCO_COM_DeviceControl.RebootDevice","Device",true);"  command executed immediately after printing the message "Need Reboot to Save restore configurations"  in the upload_user_settings2.php file.

The latter approach has been implemented as it was found to be more preferable and acceptable as compared to the former. This is because the former approach led to direct reboot of device without allowing the success message to be printed on Web screen.

Architecture

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

...