Indrajit_Basak_
Feb 21, 2014Nimbostratus
Automatic backup of BIGIP LTM
Can Anybody suggest me how to take automatic backup in BIG IP LTM v11.2? I want to take weekly backup of system configuration automatically .
Pls help on this .
Can Anybody suggest me how to take automatic backup in BIG IP LTM v11.2? I want to take weekly backup of system configuration automatically .
Pls help on this .
Here is the script in which I added the ftp upload section.
!/bin/bash
$DATE=`date "+%m_%d_%y"`
Here we create the ucs archive
tmsh save sys ucs $DATE
Here we copy it to your server with scp
scp /var/local/ucs/$DATE user@ip_server:path
Here we do the same with ftp
ftp -n your_server <
Hi , I have configured 00 3 * * * tmsh save /sys ucs /var/ucs/XYZ. ucs in crontab for automatically store the UCS backup file in F5 .
Now pls let me know step by step procedure for automated FTP Backup
Can Anybody help on this ?
You just have to make some changes on the script upper.
What you did before might not be good, because you're going to erase each occurrence of your UCS file (because it will always have the same name).With my script below, your UCS will have the date as filename.
Here it is :
!/bin/bash
$DATE=`date "+%m_%d_%y"`
Here we create the ucs archive
tmsh save sys ucs $DATE
Here we do the same with ftp
ftp -n your_server <
What you have to define is : Your_Username, Password and Backup_Directory
You just have to make some changes on the script upper.
What you did before might not be good, because you're going to erase each occurrence of your UCS file (because it will always have the same name).With my script below, your UCS will have the date as filename.
Here it is :
!/bin/bash
$DATE=`date "+%m_%d_%y"`
Here we create the ucs archive
tmsh save sys ucs $DATE
Here we do the same with ftp
ftp -n your_server <
What you have to define is : Your_Username, Password and Backup_Directory
In crontab, you have 2 options :
The first one is to add your script in : /etc/cron.weekly/
The second one is to add a line in /etc/crontab like that :0 4 * * 0 Your_script
It will run your script every week (on Sunday) at 4am.
Hi I know its a old post, but thought of asking since this procedure is not creating the ucs file. below is what i have done. Not sure what i am missing here.
[root@lb-1a:Active:In Sync] cron.hourly more ucs.sh
!/bin/bash$DATE=
date "+%m_%d_%y"
tmsh save sys ucs $DATE.ucs
[root@lb-1a:Active:In Sync] etc more crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
HOME=/
run-parts01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthy
01 * * * * root ucs.sh
In crontab, you have 2 options :
The first one is to add your script in : /etc/cron.weekly/
The second one is to add a line in /etc/crontab like that :0 4 * * 0 Your_script
It will run your script every week (on Sunday) at 4am.
Hi I know its a old post, but thought of asking since this procedure is not creating the ucs file. below is what i have done. Not sure what i am missing here.
[root@lb-1a:Active:In Sync] cron.hourly more ucs.sh
!/bin/bash$DATE=
date "+%m_%d_%y"
tmsh save sys ucs $DATE.ucs
[root@lb-1a:Active:In Sync] etc more crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
HOME=/
run-parts01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthy
01 * * * * root ucs.sh
I prefer to go with Config Backup for F5 utility its a VM appliance with GUI interface and very easy to manage.find it in below link http://sourceforge.net/projects/f5configbackup/
suggest to get an Manager Software like AppViewX or EM or Big iQ for basic maintenance of the F5s