From 6a654424e93cd1fa7f8818c6fbc1c8fe16c34b92 Mon Sep 17 00:00:00 2001 From: bwtakacy Date: Thu, 30 Jul 2015 16:00:02 +0900 Subject: [PATCH] Update help messages about keep-*-files and keep-*-days. --- expected/option.out | 6 ------ pg_rman.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/expected/option.out b/expected/option.out index 74b79f92..e6737d8f 100644 --- a/expected/option.out +++ b/expected/option.out @@ -35,14 +35,8 @@ Backup options: --keep-data-days=NUM keep enough data backup to recover to N days ago --keep-arclog-files=NUM keep NUM of archived WAL --keep-arclog-days=DAY keep archived WAL modified in DAY days - NOTE: Need to use the above two options together. - Archive log files older than both condition are deleted automatically. - ex.) --keep-arclog-files=100 --keep-arclog-days=10 --keep-srvlog-files=NUM keep NUM of serverlogs --keep-srvlog-days=DAY keep serverlog modified in DAY days - NOTE: Need to use the above two options together. - Server log files older than both condition are deleted automatically. - ex.) --keep-arclog-files=100 --keep-arclog-days=10 --standby-host=HOSTNAME standby host when taking backup from standby --standby-port=PORT standby port when taking backup from standby diff --git a/pg_rman.c b/pg_rman.c index 13aceca2..ce494e10 100644 --- a/pg_rman.c +++ b/pg_rman.c @@ -277,14 +277,8 @@ pgut_help(bool details) printf(_(" --keep-data-days=NUM keep enough data backup to recover to N days ago\n")); printf(_(" --keep-arclog-files=NUM keep NUM of archived WAL\n")); printf(_(" --keep-arclog-days=DAY keep archived WAL modified in DAY days\n")); - printf(_(" NOTE: Need to use the above two options together. \n")); - printf(_(" Archive log files older than both condition are deleted automatically.\n")); - printf(_(" ex.) --keep-arclog-files=100 --keep-arclog-days=10 \n")); printf(_(" --keep-srvlog-files=NUM keep NUM of serverlogs\n")); printf(_(" --keep-srvlog-days=DAY keep serverlog modified in DAY days\n")); - printf(_(" NOTE: Need to use the above two options together. \n")); - printf(_(" Server log files older than both condition are deleted automatically.\n")); - printf(_(" ex.) --keep-arclog-files=100 --keep-arclog-days=10 \n")); printf(_(" --standby-host=HOSTNAME standby host when taking backup from standby\n")); printf(_(" --standby-port=PORT standby port when taking backup from standby\n")); printf(_("\nRestore options:\n"));