The XOS config backup script takes an external file called switches.csv. This serves as a list of all your XOS Switches that you want to backup the config from and uses a very simple format:
Note that the switch names are declarative only and need not correspond with the DNS hostnames. Furthermore, you might use DNS hostnames instead of IP addresses.
You also need to edit the script and set the admin password in the password variable before you can use it. Furthermore, this script requires pexpect as a dependency.
Once the script runs, it will create a tgz archive, containing the downloaded config files as