How to restore Citrix Netscaler from Backup??

The appliance saves the last five copies of the ns.conf file in the /nsconfig directory.
These ns.conf files are named ns.conf.0 through ns.conf.4. The ns.conf.0 file contains the most recently saved configuration

Restoring a Netscaler from backup files typically involves the following steps:

▶️ Log on to NetScaler CLI and issue the following command to switch to the shell prompt of the NetScaler appliance:
shell

▶️ Run the following command to determine the name of the latest backup copy of the ns.conf file:
root@ns# ls -ltr /nsconfig/ns.conf.?

▶️ Run the following command to make a copy of the latest ns.conf backup file:
root@ns# cp /nsconfig/ns.conf.0 /nsconfig/copyns.conf

▶️ Run the following command to switch to the command line interface of the appliance:
root@ns# exit

▶️ Run the following command to read the contents of the copyns.conf file and run each line as an individual command:
> batch –filename /nsconfig/copyns.conf

▶️ Run the following command to save the running configuration to the /nsconfig/ns.conf file:
save config

It is important to regularly back up your Netscaler configuration files to ensure that you have the most up-to-date backup in case of a system failure or other issue.