Backup and Restore Flashcards
What is the primary purpose of backup in Oracle Database?
To protect data from loss or corruption.
True or False: Incremental backups only capture data that has changed since the last backup.
True
What command is used to perform a full database backup in Oracle?
RMAN BACKUP DATABASE;
What does RMAN stand for?
Recovery Manager
Fill in the blank: Oracle Database backups can be performed using _____ or _____ methods.
RMAN, user-managed
What are the two main types of backups in Oracle Database?
Full backups and incremental backups.
True or False: A control file is essential for RMAN to perform backup and restore operations.
True
What is a hot backup?
A backup taken while the database is open and in use.
What is the purpose of the ‘SPFILE’ in Oracle Database?
It contains initialization parameters for the database.
Which command is used to restore a database using RMAN?
RMAN RESTORE DATABASE;
What does the term ‘datafile’ refer to in Oracle?
A physical file that stores the data of the database.
Fill in the blank: The _____ command in RMAN is used to create a backup of the control file.
BACKUP CURRENT CONTROLFILE
What is the difference between a ‘cold backup’ and a ‘hot backup’?
A cold backup is taken when the database is shut down, while a hot backup is taken while the database is running.
What does the acronym ‘CDB’ stand for in Oracle Database?
Container Database
What is the purpose of the ‘FLASHBACK’ feature in Oracle?
To restore the database to a previous point in time.
True or False: RMAN can only back up datafiles, not archived redo logs.
False
What is an archived redo log?
A log file that contains changes made to the database, stored for recovery purposes.
What command is used to delete obsolete backups in RMAN?
DELETE OBSOLETE;
Fill in the blank: RMAN allows for _____ backups, which capture only changes made since the last backup.
incremental
What is the function of ‘RMAN catalog’?
To store metadata about RMAN backups.
What is the difference between ‘level 0’ and ‘level 1’ backups?
Level 0 is a full backup, while level 1 is an incremental backup capturing changes since the last backup.
True or False: You can perform a point-in-time recovery using RMAN.
True
What is the purpose of the ‘RECOVERY’ command in RMAN?
To recover the database to a consistent state after a failure.
What does the ‘VALIDATE’ command do in RMAN?
It checks the integrity of backup sets and datafiles.