Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: backup/restore
Anno Domini 31-10-2005 23:43, epipko_at_gmail.com sprak aldus:
>Hi all,
>How can I restore a whole backup into another location?
>In other words, how can I restore prod d/base backup into an EXISTING
>test d/base? I think there is a functionality that I am looking for in
>RMAN, but we are not using it.
>
>Thanks,
>Eugene
>
>
>
assuming you have a user managed backup
restore all of the datafiles in the location of your testdatabase and
create a new controlfile. See the manual for syntax.
sql> startup mount sql> create controlfile reuse set database <sid> etc. etc. etc. sql> recover database using backup controlfile until.......; /* assumingyou do a "hot" backup */
![]() |
![]() |