Forum Discussion
Indrajit_Basak_
Mar 23, 2014Nimbostratus
Automatic weekly backup transfer to FTP
Hi ,
I have configured 00 3 * * * tmsh save /sys ucs /var/ucs/XYZ. ucs in crontab -e and weekly backup is working fine in local .
Now I need to schedule automatically transfer to backup files to ...
Kevin_Stewart
Mar 24, 2014Employee
This is a very minimal Bash script with no error checking, but should give you a good start:
!/bin/bash
today_ucs="`date "+%m_%d_%y"`.ucs"
dir=`pwd`
tmsh save /sys ucs $dir/$today_ucs
ftp -n <
Give this Bash script a name and reference it in crontab.
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