which provider-1 version? NG AI R55w or NGx? I am running NG with R55w and
this is
what I use for my crontab mds_backup:
# stop the mds prior to backup
# then backup mds to /tmp directory
#!/usr/bin/sh
source /opt/CPshrd-R55/tmp/.CPprofile.csh
cd /tmp
/opt/CPmds-R55/scripts/mdsstop
echo "/opt/CPmds-R55" | /opt/CPmds-R55/scripts/mds_backup
Your problem with the crontab is that it has to get the environment variable
for the crontab to
work properly.
cisco4ng
"Larson, Todd (LNG-DAY)" <Todd.Larson AT LEXISNEXIS DOT COM> wrote:
Hello,
I'm struggle with getting a crontab working to automate the mds_backup
process on Provider-1; I'm not a shell guru. I believe my issue is with
syntax of getting the crontab to execute the mds_backup command. I've
pasted what I have below.
#!/bin/sh
# This script is run nightly as a cron job
#
echo
echo "`date` - Script Started"
#
cd /var/mds_backup
# the -b switch permits the backup to run regardless of whether an
administrator is logged in
#
mds_backup -b
# done
#
echo "`date` - Script Completed"
Thanks in advance for your assistance.
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
|