Replace "db archive" with "db archive_deleted_raws"

There is no db archive command. This patch fixes documentation to use
the correct one.

Closes-Bug: 1981088

Change-Id: I9f9df98fb051592e4bcc20ebb90b3c3dfbf04acf
This commit is contained in:
Sergii Golovatiuk
2022-07-08 14:21:33 +00:00
parent c53ec4e488
commit b62c21a976
+4 -4
View File
@@ -258,17 +258,17 @@ stopping at 0, or use the :option:`--until-complete` option.
``YYYY-MM-DD[HH:mm:ss]``. For example::
# Purge shadow table rows older than a specific date
nova-manage db archive --before 2015-10-21
nova-manage db archive_deleted_rows --before 2015-10-21
# or
nova-manage db archive --before "Oct 21 2015"
nova-manage db archive_deleted_rows --before "Oct 21 2015"
# Times are also accepted
nova-manage db archive --before "2015-10-21 12:00"
nova-manage db archive_deleted_rows --before "2015-10-21 12:00"
Note that relative dates (such as ``yesterday``) are not supported
natively. The ``date`` command can be helpful here::
# Archive deleted rows more than one month old
nova-manage db archive --before "$(date -d 'now - 1 month')"
nova-manage db archive_deleted_rows --before "$(date -d 'now - 1 month')"
.. option:: --verbose