PGBACKREST_DB_INCLUDE="db1:db2".Ĭommand-line options override environment options which override config file options. Options that can be specified multiple times on the command-line or in a config file can be represented by separating the values with colons, e.g. PGBACKREST_COMPRESS="n", and reset-* variants are not allowed. Boolean options are represented as they would be in a configuration file, e.g. ![]() pg1-path becomes PGBACKREST_PG1_PATH and stanza becomes PGBACKREST_STANZA. The no- prefix may be used to set a boolean option to false on the command-line.Īny option may be set in an environment variable using the PGBACKREST_ prefix and the option name in all caps replacing - with _, e.g. It may be necessary to pass a new -pg1-path to force the restore to happen in a specific path, i.e. By adding -reset-pg1-host on the command-line, pgBackRest will ignore the remote database host and restore locally. ![]() Normally, pgBackRest will error because it can see that the database host is remote and restores cannot be done remotely. This feature may be used to restore a backup directly on a repository host. Non-boolean options configured in nf can be reset to default on the command-line by using the reset- prefix. This includes all the options that may also be configured in nf. Here the command options are listed exhaustively, that is, each option applicable to a command is listed with that command even if it applies to one or more other commands. ![]() Commands are used to execute the various pgBackRest functions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |