Forum Discussion
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 .
- Syafiq_89483Cirrus
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
- Mui_64918Cirrus
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.
- Indrajit_Basak_Nimbostratus
Hi MUi,
Can you pls share the script .
- navfett_119885Nimbostratus
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.
- Thomas_GobetNimbostratus
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.
- Indrajit_Basak_NimbostratusHi , Automatic backup is working fine and it is stored locally every week . We need to transfer this UCS to FTP server . Can you pls assist on the same.
- Thomas_Gobet_91Cirrostratus
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.
- Indrajit_Basak_NimbostratusHi , Automatic backup is working fine and it is stored locally every week . We need to transfer this UCS to FTP server . Can you pls assist on the same.
- Syafiq_89483Cirrus
I found this cool project to do your task. Just about to try the script.
- Indrajit_Basak_Nimbostratus
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
- Paulraj_133215NimbostratusHi Indrajit , Could you share the script to run the automatic backup ? step by step script
- Thomas_GobetNimbostratus
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.
- Thomas_Gobet_91Cirrostratus
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 <
- Indrajit_Basak_NimbostratusDear Thomas , Thanks for your post . Can you pls little bit elaborate . Means step by step to do the same . Where to write this script . Is it in /etc/cronweekly ???? Then how to make this file executable ... Pls help on this
- Indrajit_Basak_NimbostratusHi , 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
Recent Discussions
Related Content
* 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