mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-21 11:42:02 +02:00
Fix help for --log parameter
This commit is contained in:
parent
c3c301cdef
commit
c21fa15b64
19
src/help.c
19
src/help.c
@ -63,7 +63,7 @@ help_pg_probackup(void)
|
||||
|
||||
printf(_("\n %s version\n"), PROGRAM_NAME);
|
||||
|
||||
printf(_("\n %s init -B backup-path\n"), PROGRAM_NAME);
|
||||
printf(_("\n %s init -B backup-path [-l]\n"), PROGRAM_NAME);
|
||||
|
||||
printf(_("\n %s set-config -B backup-dir --instance=instance_name\n"), PROGRAM_NAME);
|
||||
printf(_(" [--log-level=log-level]\n"));
|
||||
@ -84,7 +84,7 @@ help_pg_probackup(void)
|
||||
printf(_("\n %s show-config -B backup-dir --instance=instance_name\n"), PROGRAM_NAME);
|
||||
|
||||
printf(_("\n %s backup -B backup-path -b backup-mode --instance=instance_name\n"), PROGRAM_NAME);
|
||||
printf(_(" [-C] [--stream [-S slot-name]] [--backup-pg-log]\n"));
|
||||
printf(_(" [-C] [-l] [--stream [-S slot-name]] [--backup-pg-log]\n"));
|
||||
printf(_(" [-j num-threads] [--archive-timeout=archive-timeout]\n"));
|
||||
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
|
||||
printf(_(" [--compress-level=compress-level]\n"));
|
||||
@ -95,12 +95,12 @@ help_pg_probackup(void)
|
||||
printf(_(" [--replica-timeout=timeout]\n"));
|
||||
|
||||
printf(_("\n %s restore -B backup-dir --instance=instance_name\n"), PROGRAM_NAME);
|
||||
printf(_(" [-D pgdata-dir] [-i backup-id] [--progress]\n"));
|
||||
printf(_(" [-D pgdata-dir] [-l] [-i backup-id] [--progress]\n"));
|
||||
printf(_(" [--time=time|--xid=xid [--inclusive=boolean]]\n"));
|
||||
printf(_(" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n"));
|
||||
|
||||
printf(_("\n %s validate -B backup-dir [--instance=instance_name]\n"), PROGRAM_NAME);
|
||||
printf(_(" [-i backup-id] [--progress]\n"));
|
||||
printf(_(" [-i backup-id] [-l] [--progress]\n"));
|
||||
printf(_(" [--time=time|--xid=xid [--inclusive=boolean]]\n"));
|
||||
printf(_(" [--timeline=timeline]\n"));
|
||||
|
||||
@ -108,7 +108,7 @@ help_pg_probackup(void)
|
||||
printf(_(" [--instance=instance_name [-i backup-id]]\n"));
|
||||
|
||||
printf(_("\n %s delete -B backup-dir --instance=instance_name\n"), PROGRAM_NAME);
|
||||
printf(_(" [--wal] [-i backup-id | --expired]\n"));
|
||||
printf(_(" [--wal] [-i backup-id | --expired] [-l]\n"));
|
||||
|
||||
printf(_("\n %s add-instance -B backup-dir -D pgdata-dir\n"), PROGRAM_NAME);
|
||||
printf(_(" --instance=instance_name\n"));
|
||||
@ -130,15 +130,16 @@ help_pg_probackup(void)
|
||||
static void
|
||||
help_init(void)
|
||||
{
|
||||
printf(_("%s init -B backup-path -D pgdata-dir\n\n"), PROGRAM_NAME);
|
||||
printf(_("%s init -B backup-path -D pgdata-dir [-l]\n\n"), PROGRAM_NAME);
|
||||
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
|
||||
printf(_(" -l, --log store messages in a log file\n"));
|
||||
}
|
||||
|
||||
static void
|
||||
help_backup(void)
|
||||
{
|
||||
printf(_("%s backup -B backup-path -b backup-mode --instance=instance_name\n"), PROGRAM_NAME);
|
||||
printf(_(" [-C] [--stream [-S slot-name]] [--backup-pg-log]\n"));
|
||||
printf(_(" [-C] [-l] [--stream [-S slot-name]] [--backup-pg-log]\n"));
|
||||
printf(_(" [-j num-threads] [--archive-timeout=archive-timeout]\n"));
|
||||
printf(_(" [--progress] [--delete-expired]\n"));
|
||||
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
|
||||
@ -152,6 +153,7 @@ help_backup(void)
|
||||
printf(_(" -b, --backup-mode=backup-mode backup mode=FULL|PAGE|PTRACK\n"));
|
||||
printf(_(" --instance=instance_name name of the instance\n"));
|
||||
printf(_(" -C, --smooth-checkpoint do smooth checkpoint before backup\n"));
|
||||
printf(_(" -l, --log store messages in a log file\n"));
|
||||
printf(_(" --stream stream the transaction log and include it in the backup\n"));
|
||||
printf(_(" --archive-timeout wait timeout for WAL segment archiving\n"));
|
||||
printf(_(" -S, --slot=SLOTNAME replication slot to use\n"));
|
||||
@ -193,6 +195,7 @@ help_restore(void)
|
||||
printf(_(" --instance=instance_name name of the instance\n"));
|
||||
|
||||
printf(_(" -D, --pgdata=pgdata-dir location of the database storage area\n"));
|
||||
printf(_(" -l, --log store messages in a log file\n"));
|
||||
printf(_(" -i, --backup-id=backup-id backup to restore\n"));
|
||||
|
||||
printf(_(" --progress show progress\n"));
|
||||
@ -216,6 +219,7 @@ help_validate(void)
|
||||
printf(_(" --instance=instance_name name of the instance\n"));
|
||||
printf(_(" -i, --backup-id=backup-id backup to validate\n"));
|
||||
|
||||
printf(_(" -l, --log store messages in a log file\n"));
|
||||
printf(_(" --progress show progress\n"));
|
||||
printf(_(" --time=time time stamp up to which recovery will proceed\n"));
|
||||
printf(_(" --xid=xid transaction ID up to which recovery will proceed\n"));
|
||||
@ -246,6 +250,7 @@ help_delete(void)
|
||||
printf(_(" -i, --backup-id=backup-id backup to delete\n"));
|
||||
printf(_(" --expired delete backups expired according to current\n"));
|
||||
printf(_(" retention policy\n"));
|
||||
printf(_(" -l, --log store messages in a log file\n"));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user