mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-26 11:54:25 +02:00
820485d225
This mode is not actually necessary if we consider that the core of pg_rman is the obtention of differential and full backups, the server being afterwards in charge to recover necessary WAL segments from the archive. Regression tests and documentation are updated in accordance to the changes.
71 lines
3.0 KiB
Plaintext
71 lines
3.0 KiB
Plaintext
\! sh sql/option.sh
|
|
pg_rman manage backup/recovery of PostgreSQL database.
|
|
|
|
Usage:
|
|
pg_rman OPTION init
|
|
pg_rman OPTION backup
|
|
pg_rman OPTION restore
|
|
pg_rman OPTION show [DATE]
|
|
pg_rman OPTION validate [DATE]
|
|
pg_rman OPTION delete DATE
|
|
|
|
Common Options:
|
|
-D, --pgdata=PATH location of the database storage area
|
|
-A, --arclog-path=PATH location of archive WAL storage area
|
|
-B, --backup-path=PATH location of the backup storage area
|
|
-c, --check show what would have been done
|
|
-v, --verbose output process information
|
|
|
|
Backup options:
|
|
-b, --backup-mode=MODE full or incremental
|
|
-Z, --compress-data compress data backup with zlib
|
|
-C, --smooth-checkpoint do smooth checkpoint before backup
|
|
--validate validate backup after taking it
|
|
--keep-data-generations=N keep GENERATION of full data backup
|
|
--keep-data-days=DAY keep enough data backup to recover to DAY days age
|
|
|
|
Restore options:
|
|
--recovery-target-time time stamp up to which recovery will proceed
|
|
--recovery-target-xid transaction ID up to which recovery will proceed
|
|
--recovery-target-inclusive whether we stop just after the recovery target
|
|
--recovery-target-timeline recovering into a particular timeline
|
|
|
|
Catalog options:
|
|
-a, --show-all show deleted backup too
|
|
|
|
Connection options:
|
|
-d, --dbname=DBNAME database to connect
|
|
-h, --host=HOSTNAME database server host or socket directory
|
|
-p, --port=PORT database server port
|
|
-U, --username=USERNAME user name to connect as
|
|
-w, --no-password never prompt for password
|
|
-W, --password force password prompt
|
|
|
|
Generic options:
|
|
-q, --quiet don't write any messages
|
|
--debug debug mode
|
|
--help show this help, then exit
|
|
--version output version information, then exit
|
|
|
|
Read the website for details. <https://github.com/michaelpq/pg_rman>
|
|
Report bugs to <https://github.com/michaelpq/pg_rman/issues>.
|
|
pg_rman 1.3dev
|
|
ERROR: required parameter not specified: BACKUP_PATH (-B, --backup-path)
|
|
ERROR: required parameter not specified: ARCLOG_PATH (-A, --arclog-path)
|
|
ERROR: required parameter not specified: BACKUP_PATH (-B, --backup-path)
|
|
ERROR: Required parameter not specified: BACKUP_MODE (-b, --backup-mode)
|
|
ERROR: invalid backup-mode "bad"
|
|
ERROR: required delete range option not specified: delete DATE
|
|
INFO: validate: 2009-05-31 17:05:53 backup and archive log files by CRC
|
|
INFO: validate: 2009-06-01 17:05:53 backup and archive log files by CRC
|
|
WARNING: CRC of backup file "PG_VERSION" must be 0 but FEF71BC1
|
|
WARNING: backup 2009-06-01 17:05:53 is corrupted
|
|
WARNING: syntax error in " = INFINITE"
|
|
ERROR: Required parameter not specified: BACKUP_MODE (-b, --backup-mode)
|
|
ERROR: invalid backup-mode ""
|
|
ERROR: invalid backup-mode "B"
|
|
ERROR: option -Z, --compress-data should be a boolean: 'FOO'
|
|
ERROR: invalid option "TIMELINEID"
|
|
ERROR: invalid option "BACKUP_TARGETS"
|
|
ERROR: invalid backup-mode "ENV_PATH"
|