Database Reference
In-Depth Information
# --------------------------------------------------------------------------------------------------
DIRNAME=uix
PrepareBackupDir
FILENAME=uix.conf
BackupConfigFile
# --------------------------------------------------------------------------------------------------
DIRNAME=wcs/config
PrepareBackupDir
FILENAME=wcs_httpd.conf
BackupConfigFile
# --------------------------------------------------------------------------------------------------
DIRNAME=webcache
PrepareBackupDir
FILENAME=internal.xml
BackupConfigFile
DashedBreak
echo "\nBackup directories and contents after processing\n\n"
ls -lARp ${BACKUP_DIR} | grep -v "^total"
Transitory File Cleanup Script
Oracle Management Server generates logs for each of its components, from the WebLogic server down to the EM
agent on the host. Preinstalled rotations and file cleanup are very helpful where they exist, but some of the files aren't
managed that way. It's up to you to keep your server tidy.
This script works its way through the log directories on an OMS server. Each file is evaluated for how long it has
been idle. Older files are then removed:
#!/bin/ksh
#===============================================================================
# Script name : log_blaster_oms.ksh
# Calling args : None
# Purpose : Clean up logs files for OMS
# References come from MOS Note 1445743.1
#===============================================================================
# Independent variables
#=================================================================
# Set these variables to your local directory settings
# The EM_INSTANCE_HOME is typically MIDDLEWARE_HOME/gc_inst
EM_INSTANCE_HOME=
WORKFILE=/tmp/logblaster_oms_workfile1.lst
 
Search WWH ::




Custom Search