Configuring Database Recoverability
Configuring Database Recoverability
Logical Backups
A logical backup of a database involves reading a set of database rows
and writing
them to a file. These records are read independently of their physical
location. In
Oracle, the Data Pump Export utility performs this type of database
backup. To
recover using the file generated from a Data Pump Export, you use Data
Pump Import.
Oracle’s Data Pump Export utility queries the database, including the
data dictionary,
and writes the output to an XML file called an export dump file. You can
export the
full database, specific users or tablespaces, or specific tables. During
exports, you can
choose whether or not to export the data dictionary information
associated with
tables, such as grants, indexes, and constraints. The file written by Data
Pump Export
will contain the commands necessary to completely re-create all the
chosen objects
and data.
Physical Backups
Physical backups involve copying the files that constitute the database.
These
backups are also referred to as file system backups because they involve
using
operating system file backup commands. Oracle supports two different
types of
physical file backups: offline backups and online backups (also known
as cold and hot
backups, respectively).
Offline Backups
Consistent offline backups occur when the database has been shut down
normally
(that is, not due to instance failure) using the NORMAL, IMMEDIATE,
or
TRANSACTIONAL option of the SHUTDOWN command. While the
database is offline,
the following files should be backed up: