1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/expect/help-help-001.log
David Steele 8adbcccd02 Closed #184: Change test/log directory to test/expect.
This should make it clearer that these are expect logs for regression testing.
2016-04-06 10:00:11 -04:00

91 lines
3.6 KiB
Plaintext

run 001 - base
==============
> [BACKREST_BIN] --no-config version
------------------------------------------------------------------------------------------------------------------------------------
[BACKREST_NAME_VERSION]
> [BACKREST_BIN] --no-config help
------------------------------------------------------------------------------------------------------------------------------------
[BACKREST_NAME_VERSION] - General help
Usage:
pg_backrest [options] [command]
Commands:
archive-get Get a WAL segment from the archive.
archive-push Push a WAL segment to the archive.
backup Backup a database cluster.
expire Expire backups that exceed retention.
help Get help.
info Retrieve information about backups.
restore Restore a database cluster.
version Get version.
Use 'pg_backrest help [command]' for more information.
> [BACKREST_BIN] --no-config help version
------------------------------------------------------------------------------------------------------------------------------------
[BACKREST_NAME_VERSION] - 'version' command help
Get version.
Displays installed pgBackRest version.
> [BACKREST_BIN] --no-config help --output=json --stanza=main info
------------------------------------------------------------------------------------------------------------------------------------
[BACKREST_NAME_VERSION] - 'info' command help
Retrieve information about backups.
The info command operates on a single stanza or all stanzas. Text output is
the default and gives a human-readable summary of backups for the stanza(s)
requested. This format is subject to change with any release.
For machine-readable output use --output=json. The JSON output contains far
more information than the text output, however this feature is currently
experimental so the format may change between versions.
Command Options:
--backup-host backup host when operating remotely via SSH
--backup-user backup host user when backup-host is set
--output output format [current=json, default=text]
General Options:
--buffer-size buffer size for file operations [default=4194304]
--cmd-remote pgBackRest exe path on the remote host
[default=[BACKREST_BIN]]
--compress-level compression level for stored files [default=6]
--compress-level-network compression level for network transfer when
compress=n [default=3]
--config pgBackRest configuration file
[default=/etc/pg_backrest.conf]
--repo-path repository path where WAL segments, backups, logs,
etc are stored [default=/var/lib/backup]
--repo-remote-path remote repository path where WAL segments, backups,
logs, etc are stored
--stanza command stanza [current=main]
Log Options:
--log-level-console level for console logging [default=warn]
--log-level-file level for file logging [default=info]
Use 'pg_backrest help info [option]' for more information.
> [BACKREST_BIN] --no-config help --output=json --stanza=main info output
------------------------------------------------------------------------------------------------------------------------------------
[BACKREST_NAME_VERSION] - 'info' command - 'output' option help
Output format.
The following output types are supported:
* text - Human-readable summary of backup information.
* json - Exhaustive machine-readable backup information in JSON format.
current: json
default: text