Domai
Jun 12, 2014Altostratus
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