How to Save and Restore backup configuration from/to Nodegrid

How to Save and Restore backup configuration from/to Nodegrid

To Save the current configuration of your Nodegrid, follow the steps below:

WebUI
1. Go to System, Toolkit, and click on Save Settings icon.
2. Select the option where you want to save the configuration: 
      a. Local System: enter the file name (the file will be located in /backup folder in the system shell)
      b. Local Computer: it will be saved in your computer as NodeGrid.save.cfg
      c. Remote Server: enter the information of your server with the credentials.
      The URL format is <protocol>://<ServerAddress>/<remote file>
            Protocol can be FTP, TFTP, SFTP, and SCP.
            ServerAddress can be the IP address or hostname/FQDN. If IP address is an IPv6, it should be between brackets [ ].
            Remote File should have the file path and the filename.

      Examples:
      URL: ftp://192.168.2.20/downloads/NodeGrid_backup.cfg
      URL: scp://192.168.2.110/tmp/nodegrid.config
3. Click on Save

CLI
Destination options are Local System and Remote Server

Type the following:

cd /system/toolkit
save_settings
set destination=local_system
set filename=<filename>
commit
finish

The <filename> will be saved un /backup folder in the system's shell.

OR

cd /system/toolkit
save_settings
set destination=remote_server
set url=<protocol://ServerAddress/remote_file>
set username=<username>
set password=<password>
commit
finish

where:
protocol can be ftp, tftp, sftp or scp.
ServerAddress is the IP or hostname/FQDN. If IP address is an IPv6, it should be between brackets [ ].
remote_file is path and filename.
 

To Restore the backup configuration into your Nodegrid, follow the steps below: 

WebUI
1. Go to System, Toolkit, and click on Apply Settings icon.
2. Select the option where you want to restore the configuration from: 
      a. Local System: enter the file name (the file will be located in /backup folder in the system shell)
      b. Local Computer: click on 'Choose file' button to select the previously saved configuration file from your computer (default name is NodeGrid.save.cfg)
      c. Remote Server: enter the information of your server with the credentials.
      The URL format is <protocol>://<ServerAddress>/<remote file>
             Protocol can be FTP, TFTP, SFTP, SCP, HTTP, and HTTPS.
             ServerAddress can be the IP address or hostname/FQDN. If IP address is an IPv6, it should be between brackets [ ].
             Remote File should have the file path and the filename.

      Examples:
      URL: ftp://192.168.2.20/downloads/NodeGrid_backup.cfg
      URL: scp://192.168.2.110/tmp/nodegrid.config
3. Click on Save


CLI
Type the following:

cd /system/toolkit
apply_settings
set from=local_system
set filename=<filename>
apply

Answer 'yes' to continue.

The <filename> will be the one saved previously from Save Settings (under /backup folder in the system's shell).

OR

cd /system/toolkit
apply_settings
set from=remote_server
set url=<protocol://ServerAddress/remote_file>
set username=<username>
set password=<password>
apply

Answer 'yes' to continue.