Restoring from an FTP Server

Before you continue, take note of the following limitations with restoring a backup file of the controller network configuration from an FTP server:
  • Only releases 2.1 and later support restoring from an FTP server.
  • In this current release, restoring the entire cluster from an FTP server is unsupported. The restore process must be performed on one node at a time.
  • Restoring from an FTP server can only be performed using the controller CLI.
    Caution: Restoring a backup file to the controller requires restarting all of the controller services.

Follow these steps to restore a controller's network configuration using a backup file that you previously uploaded to an FTP server.

  1. Log on to the controller from the CLI. For more information, see the corresponding Logging In to the Controller CLI for your controller platform.
  2. At the prompt, enter the enable command followed by the enable super-user password to enter Privileged EXEC mode.
  3. Enter the command show cluster-state to ensure node and cluster statuses are In service before initiating this procedure.
  4. Enter the command copy ftp-url backup-network to log on to the FTP server and check for available backup files that can be copied to the controller:
    sz144-1# copy ftp://user-1:pass1@10.176.195.59 backup-network
    
  5. If multiple backup files exist on the FTP server, the CLI prompts you to select the number that corresponds to the file that you want to copy back to the controller.

    If a single backup file exists, the CLI prompts you to confirm that you want to copy the existing backup file to the controller.

    Only one NetworkBackup file (network_20250523045453_7.1.1.0.401.bak) is found. Do you want to copy (or input 'no' to cancel)? [yes/no] yes
    Starting to copy the chosen NetworkBackup file (network_20250523045453_7.1.1.0.401.bak) from remote FTP server...
    
  6. Enter show backup-network to verify that the backup file was copied back to the controller successfully.
  7. Run the restore network command to start restoring the contents of the backup file to the current controller.

    The CLI displays a list of backup files, and then prompts you to select the backup file that you want to restore to the controller.

  8. Enter the number that corresponds to the backup file that you want to restore.
    sz144-1# restore network
    
       Number  Created on                    Patch Version                 File Size
    
       ------- ----------------------------- ----------------------------- -----------------------------
    
       1       2025-05-23 04:54:53 GMT       7.1.1.0.401                   4.4KB    
    
       2       2025-06-14 03:57:37 GMT       7.1.1.0.465                   4.4KB    
    
    Please ensure the backup is available on all nodes in the cluster; otherwise the restore process will fail.
    
    Please choose a backup Number to restore or 'No' to cancel: 2
    The matched network setting for current system serial number is found from the chosen backup as below:
    
       [Control Plane Interfaces]
       Interface      IP Mode  IP Address      Subnet Mask      Gateway
       -------------- -------- --------------- ---------------- ---------------
       Control
    
       Access & Core Separation  : Disabled
       Default Gateway Interface :
       Primary DNS Server        : 10.11.1.1
       Secondary DNS Server      :
       Internal Subnet Prefix    : 10.254.1.0/24
       Control NAT IP            : 10.206.37.1
    
    
       [IPv6 Control Plane Interfaces]
       Interface      IP Mode        IP Address                                   Gateway
    
       -------------- -------------- -------------------------------------------- --------------------------------------------
    
       Control        Static         3001:10:11:1::9/64                           3001:10:11:1::254
    
    
       System IP Mode                 : IPv4 and IPv6
       IPv6 Default Gateway Interface : Control
       IPv6 Primary DNS Server        :
       IPv6 Secondary DNS Server      :
    
    
       [Data Plane Interfaces]
       Slot ID  IP Mode        IP Address      Subnet Mask      Gateway         Primary DNS      Secondary DNS   VLAN      NAT IP
    
       -------- -------------- --------------- ---------------- --------------- --------------- --------------- --------- ---------------
    
       0        DHCP                                                                
    
    Please confirm this network setting, and this action will restart all services (or input 'no' to cancel)? [yes/no] 
    
  9. Type yes to confirm that you want to restore the selected backup file. The controller starts the restore process and performs the following steps:
    1. Stop all services.
    2. Back up the current network configuration. (This will enable the controller to roll back to the current configuration, in case there is an issue with the restore process).
    3. Clean up the current network configuration. The controller deletes its previous network configuration, including static routes, name server, user defined interfaces, and so on.
    4. Restore the network configuration contained in the selected backup file.
    5. Restart all services. When the restore process is complete, the following message appears on the CLI: All services are up!.
    Please confirm this network setting, and this action will restart all services (or input 'no' to cancel)? [yes/no] yes
    Starting to stop all SmartZone services...
    All services are down.
    Make sure all other services are Online before any operations.
    Execute "#show service" to show other services.
    Starting to restore current system network setting...
    Starting to start all SmartZone services...
    
  10. Verify that the restore process was completed successfully:
    1. Enter the show cluster-state command to verify that the node and the cluster are back in service.
    2. Enter the show interface command to verify that all of the network configuration settings have been restored.

You have completed importing and applying the network configuration backup from the FTP server to the controller.