バージョンごとのドキュメント一覧

77.2. バックアップマニフェストのファイルオブジェクト #

<title>Backup Manifest File Object</title>

The object which describes a single file contains either a <literal>Path</literal> key or an <literal>Encoded-Path</literal> key. Normally, the <literal>Path</literal> key will be present. The associated string value is the path of the file relative to the root of the backup directory. Files located in a user-defined tablespace will have paths whose first two components are <filename>pg_tblspc</filename> and the OID of the tablespace. If the path is not a string that is legal in UTF-8, or if the user requests that encoded paths be used for all files, then the <literal>Encoded-Path</literal> key will be present instead. This stores the same data, but it is encoded as a string of hexadecimal digits. Each pair of hexadecimal digits in the string represents a single octet. 単一ファイルを記述するオブジェクトは、PathキーかEncoded-Pathキーを持ちます。 通常はPathキーになります。 関連付けられた文字列値はファイルのバックアップディレクトリからの相対パスです。 ユーザ定義テーブル空間にあるファイルは、最初の2つの要素がpg_tblspcとテーブル空間のOIDであるパスを持ちます。 パスがUTF-8として正当な文字列でなかったり、ユーザが全ファイルにエンコードされたパスが使われることを要求した場合には、代替にEncoded-Pathキーがあらわれます。 これは同じデータを格納しますが、16進数の文字列としてエンコードされます。 文字列における16進数の各2つ組で1オクテットを表現します。

The following two keys are always present: 以下の2つのキーは常に含まれます。

Size

The expected size of this file, as an integer. ファイルの期待されるサイズです。整数として書かれます。

Last-Modified

The last modification time of the file as reported by the server at the time of the backup. Unlike the other fields stored in the backup, this field is not used by <xref linkend="app-pgverifybackup" />. It is included only for informational purposes. バックアップ時にサーバによって報告されたファイルの最終変更時刻です。 バックアップに格納された他フィールドと違い、本フィールドはpg_verifybackupでは使われません。 情報提供のみを目的として含まれています。

If the backup was taken with file checksums enabled, the following keys will be present: ファイルチェックサムを有効にしてバックアップが取得された場合、以下のキーが含まれます。

Checksum-Algorithm

The checksum algorithm used to compute a checksum for this file. Currently, this will be the same for every file in the backup manifest, but this may change in future releases. At present, the supported checksum algorithms are <literal>CRC32C</literal>, <literal>SHA224</literal>, <literal>SHA256</literal>, <literal>SHA384</literal>, and <literal>SHA512</literal>. このファイルのチェックサム計算で使用されるチェックサムアルゴリズムです。 今のところ、これはバックアップマニフェスト内の全ファイルで同じになりますが、将来のリリースで変更されるかもしれません。 現在サポートされるアルゴリズムは、CRC32CSHA224SHA256SHA384、および、SHA512です。

Checksum

The checksum computed for this file, stored as a series of hexadecimal characters, two for each byte of the checksum. このファイルに対して計算されたチェックサムで、チェックサムの各バイト毎に2文字の、16進数の文字列として格納されます。