Command Line Arguments
SwitchBackup.Exe [domain-name] [ip-address] [backup [quit]]
All command line options are optionable, separed by space character.
- [domain-name] - name of the domain containing switches (the domain is group of devices, created in application Switch Backup). It is the Domain, which will be connected when application starts
- [ip-address] - an IP address. If present even domain-name even IP address, a filtr on the IP address will be set after domain connected. If no domain name present, application Switchbackup finds the youngest domain containing IP address, and set filtr on the IP address when SwitchBackup runs.
- backup - key word - this option run backup after domain connected
- quit - key word - in case of combination backup quit options, switchbackup will quit when backup task completed
Examples:
SwitchBackup.exe 192.168.1.1
- run SwitchBackup, connect database, search youngest domain containing device with IP address 192.168.1.1, connect domain, and set filtrer to value 192.168.1.1
SwitchBackup.exe 192.168.1.1 backup
- run SwitchBackup, connect database, search youngest domain containing device with IP address 192.168.1.1, connect domain, and set filtrer to value 192.168.1.1, run TCP backup off all filtered devices and show report of backup task - only when more than one device is selected, other case shows configuration of backuped device (if only one device match selected filter)
SwitchBackup.exe 192.168.1.1 backup quit
- run SwitchBackup, connect database, search youngest domain containing device with IP address 192.168.1.1, connect domain, and set filtrer to value 192.168.1.1, run TCP backup off all filtered devices and quits application SwitchBackup
SwitchBackup.exe 3Com 192.168.1.1 backup quit
- run SwitchBackup, connect database, connect domain 3Com, and set filtrer to value 192.168.1.1, run TCP backup off all filtered devices and quits application SwitchBackup