RMAN RESTORE ends with ORA-01180: can not create datafile

I was doing RMAN RESTORE database for refreshing developers’ stand and stuck on next situation:

run{
SET UNTIL SCN 18508482749;
SET NEWNAME FOR DATABASE TO ‘/oradata1/oradata/XXX/%b’;
RESTORE DATABASE;
RECOVER DATABASE;
}
creating datafile file number=1 name=/oradata1/oradata/XXX/system01.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/08/2012 13:27:26
ORA-01180: can not create datafile 1
ORA-01110: data file 1: ‘/oradata1/oradata/XXX/system01.dbf’ Continue reading
Advertisements