Virus.Org  IT Security News and Information Portal. We offer the latest IT security news, updates, product reviews, books, and articles for all you IT security professionals out there. Enter and get the best IT security information on the Internet.

 

. Welcome to the Virus.Org Mailing List Archive  
.
.


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


[FW-1] MDS backup script
.

  • To: [EMAIL PROTECTED]
  • Subject: [FW-1] MDS backup script
  • From: Torkel Mathisen <[EMAIL PROTECTED]>
  • Date: Tue, 23 Jun 2009 13:35:27 +0200
  • Accept-language: nb-NO
  • Acceptlanguage: nb-NO
  • Reply-to: Mailing list for discussion of Firewall-1 <[EMAIL PROTECTED]>
  • Thread-index: Acnz9rStLjzurcIBTw2TUitlMbkhng==
  • Thread-topic: MDS backup script
.
 
Hi,

I used the following script (found it in the archives) for backup of MDS in R65:

#!/bin/csh
# Loading environment
source /opt/CPshrd-R65/tmp/.CPprofile.csh

# Setup script variables
set BACKUPDIR=/export/home/cpbackup/mgt
set DMY=`date +%d%h%Y`

# Performing mdsstop, mds_backup and mdsstart
mdsenv
mkdir $BACKUPDIR/$DMY
cd $BACKUPDIR/$DMY
mdsstop
mds_backup < /usr/local/bin/cr.txt
mdsstart

# Tar and gzip backup file and remove tmp directory
cd $BACKUPDIR
tar -cf $DMY.tar $DMY
rm -rf $BACKUPDIR/$DMY


When I upgraded to R70 I only changed R65 to R70 in the script and was expecting it to work, but for some reason it doesn't work in R70.

It runs all the way down to mds_backup < /usr/local/bin/cr.txt, but for some reason it won't start backup.

Anyone else seen that?

I tried a manual backup and the script doesn't ask for anything more than it did on R65.

And yes; I have fixed the mds_exclude.dat file in R70.

Regards,
Torkel


Scanned by Check Point Total Security Gateway.

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
=================================================

 
.
.
 
Copyright (c) Virus.Org 1997-2006.
All Trademarks Acknowledged.
Please view our Terms and Conditions and our Privacy Policy.