Operating System - Linux
1754930 Members
2894 Online
108827 Solutions
New Discussion юеВ

does rsync can be used for oracle database ?

 
SOLVED
Go to solution
Maaz
Valued Contributor

does rsync can be used for oracle database ?

does rsync can be used to replicate Oracle database ?

Regards
Maaz
6 REPLIES 6
SJO EGGER
Regular Advisor

Re: does rsync can be used for oracle database ?

yes and no.

if you shutdown the database and copy it with rsync to another host with the same directories - YES.
if you do ist online or have other directories - NO.

of course it also will work online but you have to do some other steps.
Ivan Ferreira
Honored Contributor

Re: does rsync can be used for oracle database ?

Once I heard is possible to use rsync to copy only changed blocks on a file, but never was demostrated. Probably is better if you use RMAN.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
smatador
Honored Contributor
Solution

Re: does rsync can be used for oracle database ?

Hi,
I agree with Yvan and SJO, better use RMAN.
Normally you could use rsync if you stop the database.
In Oracle application disaster recovery guide, oracle write about rsync, look
http://download.oracle.com/docs/cd/E10291_01/core.1013/e12297/app_rsync.htm

Huc_1
Honored Contributor

Re: does rsync can be used for oracle database ?

In the case of oracle and databases the best to stick with the tools that are native.. in this case RMAN, unless it is possible for you to stop database's' some times and the time between two backup run is not meaning full as far as amount of changes in your database's.

Evaluate your granularity needs as far backup is concern ... what amount of information lost is acceptable.

If granularity permits and you can stop databases then yes rsyng could be use, care has to be taken to backup every components, because the hard part is not backup ... but restore, best is to test that if it is posible.

enjoy life.

Jean-Pierre Huc
Smile I will feel the difference
Maaz
Valued Contributor

Re: does rsync can be used for oracle database ?

thanks forums ;)
dirk dierickx
Honored Contributor

Re: does rsync can be used for oracle database ?

ivan, that is the way rsync works. it only copies the changed blocks of files.

from the rsync website:
"...rsync uses the "rsync algorithm" which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files..."