Hi,

Got a question about the mds_backup script on Solaris.

When you run the mds_backup script you will see that it makes lots of smaller 
*.tgz files during the run.

At the end it will tar/gzip those smaller files into larger files and delete 
the temp files.

It means that you should only end up with 1 big *.tgz file which contains 
several smaller ones which again contains even smaller ones.

However I always end up with the following after its finished:

-rw-r--r--   1 root     root     1058897920 Feb 23 14:19 
23Feb2009-135304.mdsbk.tgz
-rw-r--r--   1 root     root        2722 Feb 23 14:19 cleaner.csh
-r-xr-x---   1 root     root      198504 Feb 23 13:53 gtar
-rwxr-x---   1 root     root       63500 Feb 23 13:53 gzip
-rw-r--r--   1 root     root     57997266 Feb 23 14:11 
mds_backup_opt_compkgs.tgz
-rw-r--r--   1 root     root     50367889 Feb 23 14:09 
mds_backup_opt_plugins.tgz
-rw-r--r--   1 root     root       71285 Feb 23 14:11 mds_backup_var_compkgs.tgz
-rw-r--r--   1 root     root      904542 Feb 23 14:09 mds_backup_var_plugins.tgz
-rwxr-x---   1 root     root       13056 Feb 23 13:53 mds_restore

However when I open the 23Feb2009-135304.mdsbk.tgz file I can see that all 
those 4 other mds_backup*.tgz files are included inside it.

Everyone else got it that way?

Is it a bug that it doesn't delete mds_backup_opt_compkgs.tgz, 
mds_backup_opt_plugins.tgz, mds_backup_var_compkgs.tgz and 
mds_backup_var_plugins.tgz?

As far as I know you only need the 23Feb2009-135304.mdsbk.tgz to restore a MDS.

The cleaner.csh does in fact include the following:

/usr/bin/rm /export/home/cpbackup/mgt/mds_backup_opt_compkgs.tgz >& /dev/null
/usr/bin/rm /export/home/cpbackup/mgt/mds_backup_opt_plugins.tgz >& /dev/null
/usr/bin/rm /export/home/cpbackup/mgt/mds_backup_var_compkgs.tgz >& /dev/null
/usr/bin/rm /export/home/cpbackup/mgt/mds_backup_var_plugins.tgz >& /dev/null

But it doesn't actually delete them even if I run the script manually.

But if I run the actual command manually it deletes the file.

Anyone seen this?

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]
=================================================

Reply via email to