Hi,
This is Rohit Nirkhe from India.U want some help regarding doing hot backup.
Hot backup is done when ur database can't be shutdown.It is meant for databases running 365*24*7 days.
This kind of backup requires ur database in archivelog mode.If ur database is in noarchivelog mode(default),shutdown the database with normal,immediate,transactional.Dont use abort option;
SVRMGR> shutdown immediate/normal/transactional
Change ur init.ora parameters for putting ur database in archive log mode.
In init.ora
LOG_ARCHIVE_START=true (Arch process will
automatically archive ur log
files)
LOG_ARCHIVE_DEST=dest (destination where ur
archived log files will be
kept)
LOG_ARCHIVE_FORMAT="%s.arc" (format for arch files)
Startup ur database in mount state and
SVRMGR > startup mount pfile=<parameter file>
SVRMGR> alter database archivelog (changes ur database
into archivelog and
reflects ur control file)
SVRMGR > alter database open
U can find out the status of it from v$database view.
After putting ur database into archivelog mode ,all ur previous backup taken when ur database was in noarchivelog mode has become obsloete.
To take backups for ur archivelog database,put each tablespace in ur backup mode and then take the backup.
SVRMGR> alter tablespace SYSTEM begin backup;
SVRMGR> host copy c:\system.dbf a:
SVRMGR> alter tablespace SYSTEM end backup;
Perform the above steps to backup all ur tablespaces one-by-one.At the same time also backup the archived log files which were getting generated while the backup was going.This backup of tablespace files + archived log files will be applied in case of any failure to the database. If u have any kind of doubts please contact me at this email id
rohitsn@hotmail.com
Bookmarks