Beruflich Dokumente
Kultur Dokumente
{
ALLOCATE CHANNEL d1 device type disk format /tmp/%U;
backup database;
}
The backup pieces are stored in /tmp directory
Which contain two pieces one is for full backup and another is for controlfile (where autobackup was on)
5.Check the DBID
sql>select dbid from v$database;
DBID
3386862614
Copy dbid
number and remember the sid
6.Now moving this two backup pieces to new machine at tmp directory
#scp -r
NEWMACHINE
1.First change the permission for tmp (ex:- oracle@#chown oracle tmp
and backup pieces too #chown oracle o1-c-1p33popo3po2p
#chown oracle 09opqucsdj)
2.export ORACLE_SID=dbase1
oracle@./rman
RMAN>connect target /
3.Set DBID
RMAN> set dbid 3386862614
executing command: SET DBID
4.RMAN> startup nomount