Backup and Restore Flashcards

1
Q

What is the primary purpose of backup in Oracle Database?

A

To protect data from loss or corruption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Incremental backups only capture data that has changed since the last backup.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command is used to perform a full database backup in Oracle?

A

RMAN BACKUP DATABASE;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does RMAN stand for?

A

Recovery Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: Oracle Database backups can be performed using _____ or _____ methods.

A

RMAN, user-managed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two main types of backups in Oracle Database?

A

Full backups and incremental backups.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: A control file is essential for RMAN to perform backup and restore operations.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a hot backup?

A

A backup taken while the database is open and in use.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the ‘SPFILE’ in Oracle Database?

A

It contains initialization parameters for the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which command is used to restore a database using RMAN?

A

RMAN RESTORE DATABASE;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the term ‘datafile’ refer to in Oracle?

A

A physical file that stores the data of the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Fill in the blank: The _____ command in RMAN is used to create a backup of the control file.

A

BACKUP CURRENT CONTROLFILE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the difference between a ‘cold backup’ and a ‘hot backup’?

A

A cold backup is taken when the database is shut down, while a hot backup is taken while the database is running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the acronym ‘CDB’ stand for in Oracle Database?

A

Container Database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of the ‘FLASHBACK’ feature in Oracle?

A

To restore the database to a previous point in time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

True or False: RMAN can only back up datafiles, not archived redo logs.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is an archived redo log?

A

A log file that contains changes made to the database, stored for recovery purposes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What command is used to delete obsolete backups in RMAN?

A

DELETE OBSOLETE;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Fill in the blank: RMAN allows for _____ backups, which capture only changes made since the last backup.

A

incremental

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the function of ‘RMAN catalog’?

A

To store metadata about RMAN backups.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the difference between ‘level 0’ and ‘level 1’ backups?

A

Level 0 is a full backup, while level 1 is an incremental backup capturing changes since the last backup.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

True or False: You can perform a point-in-time recovery using RMAN.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the purpose of the ‘RECOVERY’ command in RMAN?

A

To recover the database to a consistent state after a failure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does the ‘VALIDATE’ command do in RMAN?

A

It checks the integrity of backup sets and datafiles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is 'Oracle Data Pump'?
A utility for transferring data and metadata between Oracle databases.
26
Fill in the blank: The _____ command in RMAN is used to restore a specific datafile.
RESTORE DATAFILE
27
What is 'Oracle Secure Backup'?
A tape backup solution for Oracle databases.
28
True or False: You can only use RMAN for backups on Oracle databases.
True
29
What is the main advantage of using RMAN over user-managed backups?
RMAN provides automated management of backup and recovery processes.
30
What is the purpose of 'restore points' in Oracle Database?
To allow for fast recovery to a specific state of the database.
31
What command is used to create a restore point in Oracle?
CREATE RESTORE POINT ;
32
Fill in the blank: The _____ command is used to recover a database to a specific point in time.
RECOVER DATABASE UNTIL TIME
33
What is the role of the 'Data Recovery Advisor'?
To automate the recovery process and provide recommendations for repair.
34
Which view can be used to check the status of backups in Oracle Database?
V$BACKUP_SET
35
True or False: A backup can be restored to a different host than the original database.
True, if compatible.
36
What is the purpose of 'backup retention' policies in RMAN?
To define how long backups should be kept before being considered obsolete.
37
What does 'cross-platform transportable tablespace' mean?
It allows tablespaces to be moved between different operating systems.
38
Fill in the blank: The command to perform a complete recovery of the database is _____ followed by _____ commands.
RESTORE DATABASE, RECOVER DATABASE
39
What is a 'backup set' in RMAN?
A collection of backup pieces created by RMAN.
40
What does the 'CROSSCHECK' command do in RMAN?
It verifies that backup pieces are still available and valid.
41
What is the significance of using 'asynchronous I/O' for backups?
It improves the performance of backup operations.
42
True or False: RMAN can back up and restore both physical and logical structures in the database.
False, RMAN primarily handles physical structures.
43
What is a 'backup piece'?
A physical file that contains the data from a backup.
44
Fill in the blank: RMAN can back up to _____, _____, or _____.
disk, tape, cloud
45
What is the 'duplicate' command used for in RMAN?
To create a copy of a database.
46
What is the 'restore database' command used for?
To restore the entire database from backups.
47
True or False: You must have a complete set of backups to perform a restore operation.
True
48
What does the 'BACKUP INCREMENTAL LEVEL 1' command do?
It backs up only the changes made since the last level 0 or level 1 backup.
49
What is a 'restore operation'?
The process of copying data from backups to recreate the database.
50
Fill in the blank: The _____ command in RMAN is used to perform a point-in-time recovery.
RECOVER DATABASE UNTIL TIME
51
What is the purpose of the 'DELETE' command in RMAN?
To remove backup files that are no longer needed.
52
What are 'tablespace backups'?
Backups that target specific tablespaces within a database.
53
True or False: RMAN can automatically delete obsolete backups based on retention policies.
True
54
What is a 'snapshot control file'?
A copy of the control file that is used during recovery.
55
What is the purpose of 'media recovery'?
To recover the database after a media failure.
56
Fill in the blank: RMAN can be used to back up the _____ and _____ of the database.
datafiles, archived redo logs
57
What does the 'SET UNTIL' command do in RMAN?
It specifies a point in time for recovery.
58
What is a 'full backup'?
A backup that includes all data and metadata in the database.
59
True or False: You can use RMAN to back up a specific schema within a database.
False, RMAN backs up at the database or tablespace level.
60
What is the 'RECOVER' command used for?
To apply changes to the database from redo logs and archived logs.
61
What is the significance of 'backup validation'?
To ensure backups are usable and can be restored successfully.
62
Fill in the blank: An _____ backup is taken while the database is offline.
cold
63
What is the 'report obsolete' command used for in RMAN?
To display backups that can be deleted based on retention policies.
64
What is the purpose of 'flash recovery area'?
To store recovery-related files such as backups and archived logs.
65
True or False: RMAN can only be used with Oracle databases running on Unix-like operating systems.
False
66
What is the role of 'archiving' in Oracle Database backups?
To store redo logs for recovery purposes.
67
What is 'transportable tablespace'?
A feature that allows tablespaces to be moved between databases.
68
Fill in the blank: The _____ command is used to perform a full backup of the database.
BACKUP DATABASE
69
What is the 'DATA PUMP EXPORT' utility used for?
To export data and metadata from the database.
70
What is a 'recovery catalog'?
A database schema that stores RMAN metadata.
71
True or False: RMAN can back up only the datafiles but not the control files.
False
72
What is the function of 'media management' in RMAN?
To manage backups on media such as tapes or disks.
73
What does the 'BACKUP AS COPY' command do?
It creates a copy of the datafiles without compressing them.
74
Fill in the blank: The _____ command is used to delete backups that are no longer needed.
DELETE
75
What is the purpose of 'incremental merge' backups?
To combine incremental backups into a full backup.
76
What is the 'restore spfile' command used for?
To restore the server parameter file.
77
True or False: RMAN cannot perform backups if the database is in NOARCHIVELOG mode.
True
78
What is the significance of 'backup compression'?
To reduce the size of backup files.
79
What is a 'duplicate database'?
A copy of the original database created by RMAN.
80
Fill in the blank: RMAN can back up the database to _____ or _____ storage.
disk, tape
81
What is the 'restore controlfile' command used for?
To restore the control file from a backup.
82
True or False: RMAN can automatically manage backup scheduling.
True
83
What is the purpose of 'backup encryption'?
To secure backup files from unauthorized access.
84
What does the 'CROSSCHECK BACKUP' command do?
It checks the availability and validity of backup files.
85
What is the function of 'incremental backup'?
To back up only the data that has changed since the last backup.
86
Fill in the blank: The _____ command in RMAN is used to restore a specific tablespace.
RESTORE TABLESPACE