Skip to content

Instantly share code, notes, and snippets.

@fdr
Created October 19, 2011 21:52
Show Gist options
  • Save fdr/1299801 to your computer and use it in GitHub Desktop.
Save fdr/1299801 to your computer and use it in GitHub Desktop.
A snapshot of the usage strings in WAL-E
$ wal-e --help
usage: wal-e [-h] [-k AWS_ACCESS_KEY_ID] [--s3-prefix S3_PREFIX]
{backup-fetch,backup-list,backup-push,wal-fetch,wal-push,delete}
...
WAL-E is a program to assist in performing PostgreSQL continuous
archiving on S3: it handles pushing and fetching of WAL segments and
base backups of the PostgreSQL data directory.
optional arguments:
-h, --help show this help message and exit
-k AWS_ACCESS_KEY_ID, --aws-access-key-id AWS_ACCESS_KEY_ID
public AWS access key. Can also be defined in an
environment variable. If both are defined, the one
defined in the programs arguments takes precedence.
--s3-prefix S3_PREFIX
S3 prefix to run all commands against. Can also be
defined via environment variable WALE_S3_PREFIX
subcommands:
{backup-fetch,backup-list,backup-push,wal-fetch,wal-push,delete}
backup-fetch fetch a hot backup from S3
backup-list list backups in S3
backup-push pushing a fresh hot backup to S3
wal-fetch fetch a WAL file from S3
wal-push push a WAL file to S3
delete operators to destroy specified data in S3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment