Beruflich Dokumente
Kultur Dokumente
You have taken a manual backup of a datafile using o/s. How RMAN will know
about it?
restrictions:
> Accessible on disk
> A complete image copy of a single file
Where RMAN keeps information of backups if you are using RMAN without
Catalog?
CATALOG vs NOCATALOG
Central Repository
Incremental Backup
Corruption Detection
1). copies only the filled blocks i.e. even if 1000 blocks is allocated to datafile but
500 are filled with data then RMAN will only create a backup for that 500 filled
blocks.
5). can create and store the backup and recover scripts.
RMAN offers three encryption modes: transparent mode password mode and dual
mode
What are the steps required to perform in $ORACLE_HOME for enabling the
RMAN backups with netbackup or TSM tape library software?
I can expalin what are all the steps to take a rman backup with TSM tape library
as follows
DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm.opt
DSMI_LOG /home/tmp/oracle
TDPO_NODE backup
TDPO_PSWDPATH /usr/tivoli/tsm/client/oracle/bin64
RMAN>run
{
allocate channel t1 type 'sbt_tape' parms
'ENV (TDPO_OPTFILE /usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup database include current controlfile;
release channel t1;
}
When you have multiple databases you have to set your DBID (Database Id)
which is unique to each database. You have to set this before you do any restore
operation from RMAN.
How do you enable the autobackup for the controlfile using RMAN?
How do you identify what are the all the target databases that are being backed-up
with RMAN database?
You dont have any view to identifiy whether it is backed up or not . The only
option is connect to the target database and give list backup this will give you the
backup information with date and timining.
Differencial backup: This is the default type of incremental backup which backs
up all blocks changed after the most recent backup at level n or lower.
Cumulative backup: Backup all blocks cahnged after the most recent backup at
level n-1 or lower.
How do you identify the block corruption in RMAN database? How do you fix it?
First check whether the block is corrupted or not by using this command
file# block
2 507
conn to Rman
How do you clone the database using RMAN software? Give brief steps? When do
you use crosscheck command?
Check whether backup pieces proxy copies or disk copies still exist.
1) Duplicate
2) Restore.
What is the difference between obsolete RMAN backups and expired RMAN
backups?
The term obsolete does not mean the same as expired. In short obsolete means
"not needed " whereas expired means "not found."
List some of the RMAN catalog view names which contain the catalog information?
RC_DATABASE_INCARNATION RC_BACKUP_COPY_DETAILS
RC_BACKUP_CORRUPTION
RC_BACKUP-DATAFILE_SUMMARY to name a few
RMAN Target /
run
{
Allocate channel ch1 device type sbt_tape maxpiecesize 4g
Format' D_ U_ T_ t';
sql 'alter system switch logfile';
Backup database;
backup archivelog from time 'sysdate-7';
Backup Format ' D_CTLFILE_P_ U_ T_ t' Current controlfile;
release channel ch1;
}
Steps to be followed:
What are things which play major role in designing the backup strategy?
I Believe in designing a good backup strategy it will not only be simply backup
but also a contingency plan. In this case you should consider the following:
1. How long is the allowable down time during recovery? - If short you could
consider using dataguard.
2. How long is the backup period? - If short I would advise to use RMAN instead
of user managed backup.
3. If limited disk space for backup never use user managed backup.
4. If the database is large you could consider doing full rman backups on a
weekend and do a incremental backup on a weekday.
5. Schedule your backup on the time where there is least database activity this is
to avoid resource huggling.
6. Backup script should always be automized via scheduled jobs. This way
operators would never miss a backup period.
7. Retention period should also be considered. Try keeping atleast 2 full backups.
(current and previous backup).
Cold backup: shutdown the database and copy the datafiles with the help of
O.S. command. this is simply copying of datafiles just like any other text file
copy.
Hot backup: backup process starts even though database in running. The
process to take a hot backup is
3) after copying
Hot backup when the database is online cold backup is taken during shut down period
What are the various tape backup solutions available in the market?
Outline the steps for recovering the full database from cold backup?
Explain the steps to perform the point in time recovery with a backup which is
taken before the resetlogs of the db?
Outline the steps involved in TIME based recovery from the full database from hot
backup?
Can a schema be restored in oracle 9i RMAN when the schema having numerous
table spaces?
How do you identify the expired, active, obsolete backups? Which RMAN command
you use?
List the steps required to enable the RMAN backup for a target database?
How do you verify the integrity of the image copy in RMAN environment?
Outline the steps involved in SCN based recovery from the full database from hot
backup?
Outline the steps involved in CANCEL based recovery from the full database from
hot backup?
Outline the steps involved in TIME based recovery from the full database from hot
backup?
Explain the steps to perform the point in time recovery with a backup which is
taken before the resetlogs of the db?
Outline the steps for recovering the full database from cold backup?
Outline the steps for recovery with missing online redo logs?
What is Channel? How do you enable the parallel backups with RMAN?