Top
Enterprise Postgres 17 SP1 Operation Guide

16.4.1 Copy Command for Backup

Feature

User command called from the pgx_dmpall command.

Format

The syntax for calling the copy command from the pgx_dmpall command is described below.

If the operation mode is "prepare"
copyCommandName prepare 'pathOfBackupInfoFile' 'pathOfBackupTargetListFile'
If the operation mode is "backup"
copyCommandName backup
If the operation mode is "finalize"
copyCommandName finalize 'pathOfBackupInfoFile'

Argument

The number of arguments vary depending on operation mode. The argument of each operation mode is as follows.

Operation mode

First argument

Second argument

Third argument

prepare

Operation mode

Backup information file path name

Backup target list file path name

backup

None

None

finalize

Backup information file path name

Additionally, the access permissions for the backup information file and backup target list file are different depending on the operation mode. The access permissions of each operation mode are as follows.

Operation mode

Backup information file

Backup target list file

prepare

Can be viewed by the instance administrator only

Can be viewed by the instance administrator only

backup

-

-

finalize

Can be viewed and updated by the instance administrator only

-

Return value

Return value

Description

0

Normal end

The pgx_dmpall command continues processing.

Other than 0

Abnormal end

The pgx_dmpall command terminates in error.

Description