Forum Discussion
Oli_Rowan_30846
Feb 27, 2017Nimbostratus
Is it possible to run [ tmsh save /sys config file ] where [file] is a remote directory?
Is it possible to run [ tmsh save /sys config file ] where [file] is a remote directory?
For example instead of running -
tmsh save /sys config file backup.scf
I could run -
tmsh ...
jaikumar_f5
Feb 28, 2017MVP
The easy way would be to go with a bash script and run it on cron if you want automated. But to send the file to some remote server passwordless [article], you would need SSH Key exchange done to avoid password prompt.
!/bin/bash
tmsh save /sys config file backup.scf.$(date +%Y%m%d)
scp /path/to/backup.scf.$(date +%Y%m%d)user@server/f5/backup/backup.scf.$(date +%Y%m%d)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects