Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
The CMS IMPORT/EXPORT button is available with SmartServer 3.5 and higher. For SmartServer releases PRIOR to 3.5, and with 2.7 update 1 and Higher, the CMS import/export feature is available with the CMS Settings button. 

...

To backup SmartServer database and/or settings, or system, follow these steps:

  1. Save the apollo password for any backed-up SmartServer system image. If you restore a system image onto a new SmartServer, then the new SmartServer will have its password changed to the old SmartServer's password (from the backup image file).

  2. Open the SmartServer IoT CMS.



  3. Click the Import/Export button () located on the SmartServer app bar.



    The Import/Export dialog appears.



  4. Click the EXPORT tab.

    The EXPORT view appears.



  5. Verify the SmartServer from which the contents are to be backed up.

    If you have multiple SmartServers, then select the SmartServers from which the contents are to be backed up using the checkmarks (yellow indicates selected, blue indicates not selected), or use the Select All button () to select all SmartServers.


    Single SmartServer – selected by default for Local CMS


    Multiple SmartServers – select using checkmarks


    All SmartServers – selected by default for Remote CMS

  6. Select the Export Destination using the pulldown menu.
    1. Download – saves the SmartServer backup file to your PC
    2. Local Storage – saves the SmartServer backup file to a specified SmartServer directory



  7. If you selected Local Storage as the Export Destination, then verify or define the backup location in the Export Directory field.



  8. If you selected Local Storage as the Export Destination, then then verify or define the backup filename in the Export Filename field.



  9. Select the Export Contents:

    • Database and Settings (default) 

    • Database

    • Settings

    • Full System
    • Remote CMS  – for Remote CMS, you can also backup the remote CMS database by selecting the Remote CMS option. You can backup the remote CMS database in the following configurations:

      • Remote CMS database only
      • Remote CMS database, local database, and settings
      • Remote CMS database and local database
      • Remote CMS database and full system


      Local CMS Export Contents


      Remote CMS Export Contents

  10. Click EXPORT.

    If you selected the Settings option only, then the Status column will indicate that the backup is in progress. You will not be able to use the CMS for a few moments until the settings backup is completed.



    If you selected the Database option, or the Database and Settings option, then the Status column will indicate that the backup is in progress and a message will appear stating that the database backup has started. You will not be able to use the CMS until the database backup is completed (about 10 minutes).



    If you selected the Full System option, the Status column will indicate that the backup is in progress and a message will appear stating that the system backup has started. You will not be able to use the CMS until the system backup is completed (about 30 minutes).

...

In this case, you need to either replace the hostname with the SmartServer IP address in the URL, or modify your /etc/hosts file to associate the SmartServer IP address with the SmartServer hostname as shown in the examples that follow. You can find your SmartServer IoT IP address and hostname on the SmartServer Network Configuration page as shown below.

Image RemovedImage Added
SmartServer IoT Network Configuration page

...

To restore a database and/or settings backup onto a new SmartServer, you must first create a database and/or settings backup, as described in the Backing Up the Database and/or Settings, or System section, and then follow the steps below.

  1. Save the apollo password for any backed-up SmartServer system image before continuing with restore operations.

  2. Remove power from the new SmartServer.

  3. Remove the SD Card from the SmartServer.

  4. Insert your SD Card with the backup image to be restored into the SmartServer.

  5. Open the SmartServer IoT CMS.



  6. Click the Import/Export button () located on the SmartServer app bar.


    The Import/Export dialog appears.



  7. Verify the SmartServer to be restored.

    If you have multiple SmartServers, then select which SmartServers are to be restored using the checkmarks (yellow indicates selected, blue indicates not selected), or use the Select All button () to select all SmartServers.


    Single SmartServer – selected by default for Local CMS


    Multiple SmartServers – select using checkmarks


    All SmartServers – selected by default for Remote CMS

  8. Select the Import Source using the pulldown menu.
    1. Upload – retrieves the SmartServer backup file from your PC
    2. Local Storage – retrieves the SmartServer backup file from a specified SmartServer directory



  9. If you selected Local Storage as the Import Source, then verify or define the backup location in the Backup Location field.



  10. If you selected Local Storage as the Import Source, then select the backup file from the Select a Backup File list.


    Local Storage method

    If you selected Upload as the Import Source, then select the backup file from your PC using the browse feature or place it in the Drop files to import area.


    Upload method

  11. Click IMPORT.

  12. If the IMPORT button appears greyed-out (disabled), then verify that the SmartServer is selected. If the SmartServer is not automatically selected, then click the checkmark next to the name of the SmartServer. 

    If you selected the Settings option only, then an indicator will appear showing that the restore is in progress. You will not be able to use the CMS for a few moments until the settings restore is completed.



    If you selected the Database option, or the Database and Settings option, then messages will appear stating that the database file is being loaded to the server and that the restore has started. You will not be able to use the CMS until the database restore is completed (about 10 minutes). 




Deleting Backups

The CMS Devices widget, SEGMENT CONTROLLERS tab provides the ability to view system information including internal flash memory, CPU utilization, and log sizes. It also provides the ability to enable or disable data and/or event logging and to delete backups.

...