Backing up Oracle Database server
Hi all,
I'm going to setup backup tasks on Acronis TI Echo Enterprise Server for backing up two servers running the following:
1st server:
- Windows 2000 Server SP4
- Oracle 9i Enterprise Server 9.2.0.6
2nd server:
- Windows 2003 Server Standard Ed.
- Oracle 9i Enterprise Server 9.2.0.6
As I know, Win 2003 provides support for Microsoft’s Volume Shadow Copy Service (VSS) and hence I guess that enabling VSS on the backup task on the 2nd server is enough to obtain a consistent backup copy. May be someone could confirm that?
On the other hand, Windows 2000 does not provide support for VSS and thus I think the Oracle database on the 1st server should be stopped (or suspended?) before backing it up and then started (unsospended?) after the job.
I've searched the Acronis KB looking for a start/stop Oracle script or for a detailed Oracle backup procedure using Acronis TI Echo but unfortunately there is nothing useful about this.
Does anyone highlight my way?
Thanks in advance,
Davide.

- Anmelden, um Kommentare verfassen zu können

An oracle database can be up 24*7*365 with transactions occuring every single second of the day and you could still backup the running database without any loss of service and without vss.
check index your oracle manual for phrases such as archive log mode, hot backup.
Your backup isn't really acronis specfic as it is oracle specific.
support.oracle.com or general oracle forum sites would be more forthcomming.
even experts-exchange has solutions for you.
http://www.experts-exchange.com/Database/Oracle/Q_20955831.html
- Anmelden, um Kommentare verfassen zu können

Hello Yana and oracledba,
thank you for your replies.
The main problem using the 'net start' and 'net stop' commands is that is not possible to verify whether such commands ended successfully or not and thus the database couldn't restart properly after backup.
The 'stop&start' scripts should be more complex for error handling and look like this:
start /wait net stop OracleOraHome92Agent
sc query OracleOraHome92Agent|find /i "STOPPED"
if %ERRORLEVEL% == 1 GOTO ERROR1
echo OracleOraHome92Agent... STOPPED - %DATE% / %TIME%>>templog.txt
.......
GOTO END
:ERROR1
ECHO %ERRORLEVEL%
EXIT 1
.......
:END
ECHO %ERRORLEVEL%
EXIT 0
Of course the second problem is the database availability as mentionedy by oracledba.
I think that we'll use Acronis on the 2nd server only (Windows 2003) in combination with the VSS technology but we'll need to define a different backup strategy on the Win 2000 server.
The solution proposed by oracledba seems to be really efficient wrt database availability but, of course, in case of an heavy fault of the Oracle server it will take a longer time for restore than an Acronis backup.
Also, I'm not an Oracle expert and thus a full system backup would avoid me to fall into the Oracle circle... (e.g.: currently I've no idea about how to restore an Oracle database from datafiles, init files and control files).
- Anmelden, um Kommentare verfassen zu können