From 7c0f55fb80ffb6ac8e9d600cd7d1cf24e8db5f8b Mon Sep 17 00:00:00 2001 From: Pengju Jiao Date: Tue, 28 Mar 2017 09:56:19 +0800 Subject: [PATCH] Fix description for backup management Currently, there are some description of remove older backup with using '--remove-older-then' which is not exist, should use '--remove-older-than' instead. Change-Id: I172e60151549d4478f951c439e5cf248bee038ca --- FAQ.rst | 2 +- README.rst | 4 ++-- doc/source/user/freezer-agent.rst | 2 +- specs/job-backup.conf.example | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/FAQ.rst b/FAQ.rst index 3db56235..964f6141 100644 --- a/FAQ.rst +++ b/FAQ.rst @@ -46,7 +46,7 @@ FAQ Yes. Zeroed/null data is not backed up. So less space and bandwidth will be used. 11) **Does freezer remove automatically backup after some time?** - Yes. From command line the option --remove-older-then (days) can be used to + Yes. From command line the option --remove-older-than (days) can be used to remove objects older then (days). 12) **Does freezer support MySQL Backup?** diff --git a/README.rst b/README.rst index 7a83bb35..4386081e 100644 --- a/README.rst +++ b/README.rst @@ -516,7 +516,7 @@ List remote objects in container:: Remove backups older then 1 day:: - $ freezer-agent --action admin --container freezer_dev-test --remove-older-then 1 --backup-name dev-test-01 + $ freezer-agent --action admin --container freezer_dev-test --remove-older-than 1 --backup-name dev-test-01 Cinder restore currently creates a volume with the contents of the saved one, @@ -1118,7 +1118,7 @@ optional arguments: --restart-always-level RESTART_ALWAYS_LEVEL Restart the backup from level 0 after n days. Valid only if --always-level option if set. If --always- - level is used together with --remove-older-then, there + level is used together with --remove-older-than, there might be the chance where the initial level 0 will be removed. Default False (Disabled) --restore-abs-path RESTORE_ABS_PATH diff --git a/doc/source/user/freezer-agent.rst b/doc/source/user/freezer-agent.rst index 98412b0b..5a182377 100644 --- a/doc/source/user/freezer-agent.rst +++ b/doc/source/user/freezer-agent.rst @@ -816,7 +816,7 @@ Optional Arguments --restart-always-level RESTART_ALWAYS_LEVEL Restart the backup from level 0 after n days. Valid only if --always-level option if set. If --always- - level is used together with --remove-older-then, there + level is used together with --remove-older-than, there might be the chance where the initial level 0 will be removed. Default False (Disabled) --restore-abs-path RESTORE_ABS_PATH diff --git a/specs/job-backup.conf.example b/specs/job-backup.conf.example index 31fedb16..99048526 100644 --- a/specs/job-backup.conf.example +++ b/specs/job-backup.conf.example @@ -86,7 +86,7 @@ remove_from_date = False # Restart the backup from level 0 after n days. Valid # only if --always-level option if set. If --always- -# level is used together with --remove-older-then, there +# level is used together with --remove-older-than, there # might be the chance where the initial level 0 will be removed restart_always_level = False