This script is for backing up Ruckus device automatically with multiple IP and multiple user, this script is using python and Netmiko. For netmiko guide can be found here : https://github.com/ktbyers/netmiko
- The script is using netmiko library for connecting the device
- First it will open the Ruckus IP and loop all the IP in the file
- Then it will loop the user in files/UserList.json to login to the first IP in the files/IPRuckus.txt
- If the first user fail to connect the current IP then it will move the the next user in UserList.json
- If the user logged in then it will run the command to run the backup, just like you use the command for backup manually
- After that it will close the connection and write in the log.txt
- Install netmiko using: pip install netmiko
- Change the list of IP using your Ruckus devices IP in folder Files/IPRuckus.txt
- Change the list of User using your Username and Password in folder Files/UserList.json
- For it to run automaticaly you can use task scheduller for windows or using cron job for linux