Jump to content
Welcome to our new Citrix community!

Netscler backup via Script


Recommended Posts

While you're configuring ADM, you can unZIP the attached into any directory, and execute:

NSBackup.cmd  <IP of your NetScaler>  <password> at a command prompt.

The script assumes you are using nsroot ... modify NSBackup.cmd if otherwise.

It creates a date/time-stamped backup of your entire /nsconfig hierarchy (including  your ns.conf files,  SSL certificates, and license files).

NSBackup.zip

  • Like 2
Link to comment
Share on other sites

Sam's idea would be 2nd on my list (after Carl's idea), as ADM does automatic backups on a configurable schedule.

 

But there is still a method to make this happen automatically. Just put a cron task into /etc/crontab. However, the crontab gets lost after every reboot, so you might follow the steps described in my blog (there is a subtitle "using crontab on NetScaler"). My blog also describes, how to schedule Citrix ADC commands from crontab, so you could fire a save ns config

 

Cheers

 

Johannes Norz

CTA, CCI, CCE-N

  • Like 2
Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...