Removed extraneous modules from httpd.conf.
Added database backup routines using datapump - expdp_task.cmd. Stored the icmeterquotes wallets. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@5326 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
27
WebServer/DatabaseScripts/expdp_task.cmd
Normal file
27
WebServer/DatabaseScripts/expdp_task.cmd
Normal file
@@ -0,0 +1,27 @@
|
||||
VERIFY errors 2>nul
|
||||
SETLOCAL ENABLEEXTENSIONS
|
||||
IF ERRORLEVEL 1 echo Unable to enable extensions
|
||||
|
||||
set dmpbasedir=C:\oracle\admin\webmip\dpdump
|
||||
set dmpfile=%dmpbasedir%\webmip_data_expdp.dmp
|
||||
set logfile=%dmpbasedir%\webmip_data_expdp.log
|
||||
|
||||
erase %dmpfile%
|
||||
erase %logfile%
|
||||
|
||||
expdp 'sys/fmdidgad@webmip as sysdba' parfile=parfile_data.expdp
|
||||
REM expdp 'sys/webmip@webmip as sysdba' parfile=parfile_nodata.expdp
|
||||
|
||||
Set destbasedir=S:\orabackup\webmip\DataPump
|
||||
Set dd=%DATE:~0,2%
|
||||
Set mm=%DATE:~3,2%
|
||||
Set yyyy=%DATE:~6,4%
|
||||
Set hr=%TIME:~0,2%
|
||||
Set destdir=%destbasedir%\%yyyy%-%mm%
|
||||
Set zipfile=webmip_expdp_%yyyy%-%mm%-%dd%-%hr%.zip
|
||||
|
||||
zip %zipfile% %dmpfile% %logfile%
|
||||
|
||||
mkdir %destdir%
|
||||
|
||||
move /Y %zipfile% %destdir% && erase %dmpfile%
|
||||
5
WebServer/DatabaseScripts/parfile_data.expdp
Normal file
5
WebServer/DatabaseScripts/parfile_data.expdp
Normal file
@@ -0,0 +1,5 @@
|
||||
directory=data_pump_dir
|
||||
schemas=mip_prod,flows_files,FLOWS_030100
|
||||
dumpfile=webmip_data_expdp.dmp
|
||||
logfile=webmip_data_expdp.log
|
||||
query=flows_files.wwv_flow_file_objects$:"where flow_id=500"
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -122,6 +122,7 @@ MaxRequestsPerChild 0
|
||||
#Listen 12.34.56.78:80
|
||||
#Listen 80
|
||||
|
||||
|
||||
#
|
||||
# Dynamic Shared Object (DSO) Support
|
||||
#
|
||||
@@ -146,12 +147,12 @@ LoadModule info_module modules/mod_info.so
|
||||
LoadModule include_module modules/mod_include.so
|
||||
LoadModule autoindex_module modules/mod_autoindex.so
|
||||
LoadModule dir_module modules/mod_dir.so
|
||||
LoadModule cgi_module modules/mod_cgi.so
|
||||
##LoadModule cgi_module modules/mod_cgi.so
|
||||
LoadModule asis_module modules/mod_asis.so
|
||||
LoadModule imap_module modules/mod_imap.so
|
||||
##LoadModule imap_module modules/mod_imap.so
|
||||
LoadModule actions_module modules/mod_actions.so
|
||||
LoadModule speling_module modules/mod_speling.so
|
||||
#LoadModule userdir_module modules/mod_userdir.so
|
||||
###LoadModule userdir_module modules/mod_userdir.so
|
||||
LoadModule alias_module modules/mod_alias.so
|
||||
LoadModule access_module modules/mod_access.so
|
||||
LoadModule auth_module modules/mod_auth.so
|
||||
@@ -164,9 +165,9 @@ LoadModule headers_module modules/mod_headers.so
|
||||
LoadModule usertrack_module modules/mod_usertrack.so
|
||||
LoadModule unique_id_module modules/mod_unique_id.so
|
||||
LoadModule setenvif_module modules/mod_setenvif.so
|
||||
LoadModule perl_module modules/mod_perl.so
|
||||
LoadModule php4_module modules/mod_php4.so
|
||||
LoadModule fastcgi_module modules/mod_fastcgi.so
|
||||
##LoadModule perl_module modules/mod_perl.so
|
||||
##LoadModule php4_module modules/mod_php4.so
|
||||
##LoadModule fastcgi_module modules/mod_fastcgi.so
|
||||
<IfDefine SSL>
|
||||
LoadModule ossl_module modules/mod_ossl.so
|
||||
</IfDefine>
|
||||
@@ -210,7 +211,8 @@ ServerAdmin you@your.address
|
||||
# You will have to access it by its address anyway, and this will make
|
||||
# redirections work in a sensible way.
|
||||
#
|
||||
ServerName advwb2
|
||||
ServerName www.icmeterquotes.natgrid.co.uk
|
||||
#ServerName advwb1
|
||||
|
||||
#
|
||||
# UseCanonicalName: Determines how Apache constructs self-referencing
|
||||
@@ -277,8 +279,8 @@ DocumentRoot "S:\oracle\product\10.1.3\ias\ohs\htdocs"
|
||||
#
|
||||
# Controls who can get stuff from this server.
|
||||
#
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
# Order deny,allow
|
||||
Deny from all
|
||||
|
||||
</Directory>
|
||||
|
||||
@@ -456,7 +458,7 @@ CustomLog S:\oracle\product\10.1.3\ias\ohs/logs/access.log common
|
||||
# the server header completely. Custom takes a string as a second argument.
|
||||
# The string is used as the value of the server header.
|
||||
#
|
||||
ServerTokens Minimal
|
||||
ServerTokens Prod
|
||||
|
||||
#
|
||||
# Optionally add a line containing the server version and virtual host
|
||||
@@ -466,7 +468,7 @@ ServerTokens Minimal
|
||||
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
|
||||
# Set to one of: On | Off | EMail
|
||||
#
|
||||
ServerSignature On
|
||||
ServerSignature Off
|
||||
|
||||
#
|
||||
# Aliases: Add here as many aliases as you need (with no limit). The format is
|
||||
|
||||
Reference in New Issue
Block a user