Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Backup en Caliente
Completely ignoring any naming conventions or storage options,
this should do the trick:
Cold:
rman target /
shutdown immediate;
startup mount
backup database include current controlfile;
sql 'alter system archive log current';
alter database open;
Hot:
rman target /
backup database include current controlfile;
backup archivelog;
Restore:
You must find your own here; too many scenarions are possible.
You generally want to restore only what's needed.
I'd suggest to switch on controlfile autobackup (lookup the configure command); Oracle has some more incomprehensable defaults (export: compress=y is one), and not having controlfile autobackup is another. Received on Thu Apr 06 2006 - 03:50:19 CDT