Solved

Windows 2008 Server backup with Oracle running?

Posted on 2010-11-09
10
810 Views
Last Modified: 2012-05-10
I have been searching for an answer to this question today, but with no luck.

Is it possible to use Windows 2008 Server image backup on a server with an oracle instance running?
That is, will the oracle instance be correctly backed up, or will it be messed up?
Anyone with experience on this issue?

One of my customers are upgrading to 2008 server and plans to use the 2008 server built-in backup solution that I have come to understand is a bit...bad.
His technician says that the 2008 server backup always want to make an image backup of the C volume.

I'm an Oracle DBA and know that Oracle files have to have identical timestamps for them to be valid, so an image backup solution that does not take a snapshot of the disk is of no use.

I consider this backup solution to be no good for an oracle installation, but the customer does not want to use any other backup solution...

regards
Alexander
0
Comment
Question by:Alexander_Moan
10 Comments
 
LVL 1

Expert Comment

by:kiggga
ID: 34093176
the image backup takes an image of the whole server but as you know, oracle needs to be in a consistent state.

i would recommend using the image backups to restore the server, but for oracle, you should probably do exports to a file and rely on that for a restore.  I guess you can use the image level backup to restore the exported oracle db file that was backed up.

in any case, you can easily perform a few tests to make sure this solution works and be able to perform restores.  

let me know how it goes.
0
 
LVL 3

Expert Comment

by:nlandas
ID: 34093226
About Acronis True Image Echo purports to do that. Create backup images of a live server running Oracle or MS SQL, Exchange, etc.
0
 
LVL 3

Accepted Solution

by:
nlandas earned 30 total points
ID: 34093237
I've used it with Exchange and Acronis is a great company. I trust them to tell the truth, I'd contact them directly for details on Oracle support.

http://www.acronis.co.kr/pr/2007/09/pr09-10-virtual-data-protection.html
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 8

Expert Comment

by:PaperTiger
ID: 34093518
I assume you mean image backup tool utilizing VSS. Yes, it works great. I personally use Acronis to backup both my Exchange and Oracle servers running on Windows 2008. I have also done a number of restores to test the image and data integrity. I rebuilt my systems including DC, Exchange, Oracle, ERP app with those images many times already.

On a separate note, for Oracle, you need more than one method of protection. Depends on your customer's application, I'd also suggest to incorporate RMAN or Oracle import/export, and if necessary, Double Take.



0
 
LVL 1

Expert Comment

by:kiggga
ID: 34093566
it sounds like the customer does not want to use any other backup solution and if they cannot be persuaded, sometimes you just have to make them happy.  my solution did not involve purchasing any other software.

there are plenty of backup solutions that they can use if you would like suggestions.  especially if the server is a virtual machine; even though oracle doesnt support VMware.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34093950
I would do backups of Oracle through Oracle then allow the customer to use the Windows 2008 Server backup utility which isn't that good of a backup solution. You can then restore the Oracle database from backup and use the translog to restore any transactions from the last backup this will work without issues.
0
 
LVL 20

Assisted Solution

by:gatorvip
gatorvip earned 20 total points
ID: 34094164
If you can shut down the Oracle instance prior to taking the backup using the Windows tool, then that would be a decent solution.

Otherwise, you could still use Windows backup to create an image of the OS drive, then combine it with a full database backup using RMAN. It would still leave you with a need to create the image of the Oracle installation folders - which you might need to do separately.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34095371
Someone mentioned VSS.  Here's the Oracle link to using it if it is available to you:
http://download.oracle.com/docs/cd/B28359_01/win.111/b32010/vss.htm
0
 
LVL 34

Expert Comment

by:johnsone
ID: 34096044
What is the intended purpose of the image copy?

I would not suggest this as a backup solution, but if you wanted to make a copy it should be fine.

Is the database in archive log mode?

If not, then you don't have many options.

If it is, this is what I would suggest, without having to use other products.

ALTER DATABASE BEGIN BACKUP;
image copy
ALTER DATABASE END BACKUP;
ALTER SYSTEM SWITCH LOGFILE;

Once the logs are done being written to disk copy the archive directory again (there will be new files and you will need them to bring the database up on the other side).  After you copy the archive logs, you should be able to do cancel based recovery on the other side and then cancel the recovery after you apply the last log you have.
0
 

Author Closing Comment

by:Alexander_Moan
ID: 34128610
Question was weather or not an image copy using Windows 2008 server backup would function with an Oracle DB. Alernative pointed out, but really not answered.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question