[doc] Improve description for nova-manage db purge
--before argument is currently described in ambiguous way: it is not actually used to filter entries ARCHIVED before specified date. Instead, it compares provided data with "deleted_at" value for most rows and "updated_at" or "created_at" for remaining ones. Since we already talk about time of deletion when describing --before argument of "nova-manage db archive_deleted_rows" rows, it make sense to not provide extra details here as well. Change-Id: Ib5940e88a52dc8d32303e27237e567c3481fc3dc
This commit is contained in:
parent
5095336689
commit
ac8729ac87
@ -347,11 +347,11 @@ database connection information must be configured.
|
||||
|
||||
.. option:: --before <date>
|
||||
|
||||
Delete data that was archived before ``<date>``. Accepts date strings
|
||||
in the default format output by the ``date`` command, as well as
|
||||
``YYYY-MM-DD[HH:mm:ss]``. For example::
|
||||
Delete archived rows that were deleted from Nova before ``<date>``.
|
||||
Accepts date strings in the default format output by the ``date``
|
||||
command, as well as ``YYYY-MM-DD[HH:mm:ss]``. For example::
|
||||
|
||||
# Purge shadow table rows older than a specific date
|
||||
# Purge shadow table rows deleted before specified date
|
||||
nova-manage db purge --before 2015-10-21
|
||||
# or
|
||||
nova-manage db purge --before "Oct 21 2015"
|
||||
|
Loading…
Reference in New Issue
Block a user