Files
raven/docs/8.0/ayanova/docs/ops-config-backup-pgdump-path.md
2021-11-29 21:00:23 +00:00

978 B

BACKUP UTILITY "pg_dump" PATH SETTING

This setting controls where AyaNova will find the PostgreSQL pg_dump utlity for automated backups.

Default

Default is empty.

If no override is specified AyaNova will assume the utility is on the environment PATH.

Overriding

AyaNova expects the pg_dump utility path to be provided by an environment variable or command line parameter named

AYANOVA_BACKUP_PG_DUMP_PATH

The value specified should be a string containing a fully qualified file path to the pg_dump utility.

Example command line parameter

ayanova.exe --AYANOVA_BACKUP_PG_DUMP_PATH="/usr/lib/postgresql/14.1/bin/" (not real)

Example environment variable

Windows

set "AYANOVA_BACKUP_PG_DUMP_PATH=c:\Program files\postgresql\14.1\bin" (not real)

Linux / MAC

export AYANOVA_BACKUP_PG_DUMP_PATH="/usr/lib/postgresql/14.1/bin/" (not real)

If both a command line parameter and an environment variable are set the command line parameter takes precedence.