Forum Discussion
LTM or GTM backup
Hello,
I wish to automate taking backups on ltm and gtm. I want then to be done on daily basis. This is what I have so far -'!/bin/bash
$DATE=
date "+%m_%d_%y"
'Save config
tmsh save sys config
'Create the ucs archive
tmsh save sys ucs $DATE.ucs
Create a file called config_archive and saved it under /etc/cron.daily permissions are set as well -
[admin@bbc:Active:Standalone] cron.daily ls -l total 10
lrwxrwxrwx 1 root root 36 Aug 14 2013 asm_update_sigfile -> /usr/share/ts/bin/asm_update_sigfile
-rwx------ 1 root root 227 Jun 9 19:15 config_archive
-rwx------ 1 root root 2291 Aug 14 2013 logrotate
-rwx------ 1 root root 312 Aug 14 2013 tmpwatch
lrwxrwxrwx 1 root root 36 Aug 14 2013 update_dpi_sigfile -> /usr/share/ts/bin/update_dpi_sigfile
No luck so far just does not work...Unable to create backups...Am I missing something here??? Can you guys help?
~Thank you
1 Reply
- Domai
Altostratus
Never mind..I figured it out.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
