Home > Common Problem > body text

Oracle database backup method

小老鼠
Release: 2024-01-24 10:55:11
Original
1261 people have browsed it

Backup method: 1. Export/Import: This is the most commonly used backup method in Oracle database. Use expdp to extract data from the database, and then use impdp to send the extracted data back to the Oracle database; 2. Cold backup: Cold backup must be performed when the database is closed. When the database is open, Performing database file system backup is ineffective; 3. Storage storage migration: This method is often suitable for raw devices; 4. Use Data Guard migration; 5. Data migration tools.

Oracle database backup method

There are many methods for Oracle database backup, including but not limited to the following:

  1. Export/Import (Expdp/Impdp or Exp/Imp): This is the most commonly used backup method in Oracle databases. Use expdp to extract data from the database, and then use impdp to send the extracted data back to the Oracle database.

  2. Cold backup: Cold backup occurs when the database has been shut down normally, and the database is consistent at this time. The files that must be copied in cold backup include: all data files, all control files, all archived redo log files, and initialization parameter files (optional). Cold backup must be performed when the database is closed. When the database is open, performing a database file system backup is invalid.

  3. Storage storage migration: This method is often suitable for raw devices. Generally, data files, control files, log files, and spfiles are all on storage (usually bare devices). We can directly mount the storage to the new machine, and then start the database on the new machine.

  4. Migration using Data Guard: Data Guard can not only be used for disaster recovery, but physical Data Guard can also be used as a migration method.

  5. Data migration tool: You can use professional data migration tools to perform backups. Common data migration tools such as: sqoop, Flyway, DB2DB, etc.

No matter which backup method is used, the purpose of backup is to restore the system with as little time and cost as possible after a failure.

The above is the detailed content of Oracle database backup method. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!