Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> RMAN Hot backup script
Hi all,
I am trying to do the hot backup through RMAN by using the following script. I keep ignoring the host command. Is there any other way to do the hot backup, if anybody have scripts which is a great help for me.
Thanks in advance.
Thanks
Leo.
# Performs hot backup.
run
{
allocate channel dev1 type disk;
sql "alter tablespace USERS begin backup"; host "c:\orante81\bin\ocopy h:\u03\oradata\test\users01.dbf g: \app\oracle\admin\test\rman_hot\users01.dbf"; sql "alter tablespace USERS end backup";sql "alter SYSTEM switch logfile";
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Oct 28 1999 - 16:36:26 CDT
![]() |
![]() |