Skip to content

Commit

Permalink
Update help messages about keep-*-files and keep-*-days.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwtakacy committed Jul 30, 2015
1 parent b648335 commit 6a65442
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions expected/option.out
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 0 additions & 6 deletions pg_rman.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 6a65442

Please sign in to comment.