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 .
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 .
I believe Bhattman got a good script to do this task. Should be running well on v11.x
You can write a script to backup locally, we use AppViewX tool and schedule a backup of all our devices remotely. It has option to restore a single object and compare before restoring. www.appviewx.com It takes a backup and transfers it to remote system and you can define how many versions to keep.
Hi MUi,
Can you pls share the script .
if you do a google search you can find many options for building these type of scripts. such as this one https://devcentral.f5.com/wiki/advdesignconfig.BIG-IP-10-2-backup-script-with-SCP-transfer.ashx
Also as Syafiq mentioned above Bhattman has a good script posted you can modify it as needed to your requirements.
Hi,
There are multiples post for this question on devcentral.
A quick search should gave you the answer.For example in this thread I suggested this script :
!/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
scp /var/local/ucs/$DATE user@ip_server:path
In the /etc/crontab file just add this :
0 1 * * * "tmsh save sys ucs my_file_name"
It will create a backup every day at 1am.
Hi,
There are multiples post for this question on devcentral.
A quick search should gave you the answer.For example in this thread I suggested this script :
!/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
scp /var/local/ucs/$DATE user@ip_server:path
In the /etc/crontab file just add this :
0 1 * * * "tmsh save sys ucs my_file_name"
It will create a backup every day at 1am.
I found this cool project to do your task. Just about to try the script.
Hi , Automatic backup is working fine and stored in local disk . We need to transfer these UCS to FTP server . can you pls assist us on the same .
Regds...Indrajit
Hi Paulraj,
The script Indajit talked about is the one I gave upper.
@Indrajit, I'm looking for uploading files with ftp into the script.
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 <