database:oracledb:expdp
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
database:oracledb:expdp [2023/08/02 11:02] – mikoto | database:oracledb:expdp [2025/04/17 15:47] (現在) – [物理バックアップ] mikoto | ||
---|---|---|---|
行 24: | 行 24: | ||
</ | </ | ||
ディレクトオブジェクトの作成 | ディレクトオブジェクトの作成 | ||
- | < | + | < |
create directory YOUR_DATA_PUMP AS ' | create directory YOUR_DATA_PUMP AS ' | ||
</ | </ | ||
行 47: | 行 47: | ||
|LOGFILE=< | |LOGFILE=< | ||
|CONTENT=< | |CONTENT=< | ||
+ | |||
+ | ===== 物理バックアップ ===== | ||
+ | 物理バックアップを行う場合、DBFファイルをコピーすることになる。 | ||
+ | バックアップ対象のファイルを検索するには、以下のクエリを実行する。 | ||
+ | <code sql> | ||
+ | select | ||
+ | dt.tablespace_name, | ||
+ | ddf.file_name, | ||
+ | dt.status | ||
+ | from | ||
+ | dba_tablespaces dt, | ||
+ | dba_data_files ddf | ||
+ | where | ||
+ | dt.tablespace_name = ddf.tablespace_name; | ||
+ | </ | ||
+ | |||
+ | バックアップ対象のオンラインREDOログは | ||
+ | <code sql> | ||
+ | select * from v$logfile; | ||
+ | </ | ||
+ | |||
+ | コントロールファイルの場所を探すには | ||
+ | <code sql> | ||
+ | select * from v$controlfile; | ||
+ | </ |
database/oracledb/expdp.1690941779.txt.gz · 最終更新: 2023/08/02 11:02 by mikoto