Regarding Cold Backup [message #392137] |
Mon, 16 March 2009 10:09 |
asmfloyd
Messages: 2 Registered: March 2009
|
Junior Member |
|
|
Hi all,
I am new to DB backups.I have 2 questions which are as follows:
Que1.
If I do a cold backup using RMAN which is as follows:
"backup database"
Under which path by defalut the back up gets saved?Is it under the same path as
C:\Oracle\oradata\dbname
Or is it under some other path?
Que2.I can do a cold back by finding the path of the files:
select * from v$datafile;
select * from v$controlfile;
select * from v$logfile;
Get the path from the above three queries.Go there and copy all the files.In this backup, why I need to shut down the database before copying the files?Why can't I copy the files while the database is running too?
Please let me know.
Thanks,
Floyd
|
|
|
|
Re: Regarding Cold Backup [message #392142 is a reply to message #392140] |
Mon, 16 March 2009 10:35 |
asmfloyd
Messages: 2 Registered: March 2009
|
Junior Member |
|
|
Thanks Mahesh for the immediate response.
I)Then can you tell me how I will point the output of "backup database",to a particular folder(Say D:\backup).I did some backup by saying "backup database".But I do not know now under which path it got saved to. (:
II) Ok.So you mean like if I copy the same files while the DB is running(as a hot backup),still the same will work (till the point to which I took the backup)?
Sorry for troubling much
|
|
|
|
|