http://www.oracle.com/technology/obe/apex32/apex32frmmigr.htm#p
Monday, August 8, 2011
Tuesday, August 2, 2011
Automatic Backup
http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
batch file for automatic dataexporter.
echo off
set baseDir=c:\backup\
set vDirName=%date:~0,2%%date:~3,2%%date:~6,4%
set vDumpFileName=%vDirName%-%time:~0,2%-%time:~3,2%-%time:~6,2%
set backupDir=%baseDir%%vDirName%
mkdir %backupDir%
echo direcotr create Date:%baseDir%%vDirName%
echo %vDumpFileName%
expdp scott/naveed schemas=SCOTT directory=TEST_DIR dumpfile=%vDumpFileName%.DMP logfile=%vDumpFileName%.log
move c:\backup\%vDumpFileName%.log c:\backup\%vDirName%
move c:\backup\%vDumpFileName%.DMP c:\backup\%vDirName%
echo successfuly moved.
batch file for automatic dataexporter.
echo off
set baseDir=c:\backup\
set vDirName=%date:~0,2%%date:~3,2%%date:~6,4%
set vDumpFileName=%vDirName%-%time:~0,2%-%time:~3,2%-%time:~6,2%
set backupDir=%baseDir%%vDirName%
mkdir %backupDir%
echo direcotr create Date:%baseDir%%vDirName%
echo %vDumpFileName%
expdp scott/naveed schemas=SCOTT directory=TEST_DIR dumpfile=%vDumpFileName%.DMP logfile=%vDumpFileName%.log
move c:\backup\%vDumpFileName%.log c:\backup\%vDirName%
move c:\backup\%vDumpFileName%.DMP c:\backup\%vDirName%
echo successfuly moved.
Subscribe to:
Posts (Atom)