Forum Discussion
F5user13_114603
Cirrus
Nov 14, 2017Backup LTM ASM and APM log files to external FTP or tape drive
Hi,
Is it possible to backup all ltm, asm and apm logs stored under the /var/log/ltm folder in the
BIG-IP to an external FTP or tape drive.
Can anyone please share their inputs.
- Nov 15, 2017
You can write bash scrip like below
File name: script.sh
!/bin/bash $1 is the file name usage:this_script script.sh HOST='your host' USER="your user" PASSWD="pass" FILE="/var/log/*" FTPFILE=/FTP/LOG/ ftp -n $HOST <Schedule crontab 0 06 * * * /bin/execute/this/script.sh
Samir_Jha_52506
Noctilucent
Nov 15, 2017You can write bash scrip like below
File name: script.sh
!/bin/bash
$1 is the file name
usage:this_script script.sh
HOST='your host'
USER="your user"
PASSWD="pass"
FILE="/var/log/*"
FTPFILE=/FTP/LOG/
ftp -n $HOST <
Schedule crontab
0 06 * * * /bin/execute/this/script.sh
F5user13_114603
Cirrus
Nov 20, 2017Thanks f5_rock.Will test it in the lab and update,
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
