summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRajesh Tailor <ratailor@redhat.com>2022-09-10 14:29:04 +0530
committerRajesh Tailor <ratailor@redhat.com>2022-09-10 15:17:57 +0530
commit023d2b4a9ab35c27933d75d8c3fe02ea9a0929fe (patch)
tree88045d81e21f4ed683c5e838bb06d8b4ab6f18f2 /doc
parentd02d06529c7d8c868c9ceef7baf573ae9285145a (diff)
downloadnova-023d2b4a9ab35c27933d75d8c3fe02ea9a0929fe.tar.gz
Update nova-manage doc page
nova-manage doc page [1] mentioned usage of `nova-manage db archive` command, which doesn't exist. This change updates the doc page with the correct command `nova-manage db archive_deleted_rows`. [1] https://docs.openstack.org/nova/latest/cli/nova-manage.html Closes-Bug: #1981088 Change-Id: Ibcbccf87ec70e9edea61c99d4d3bcf610cc1df64
Diffstat (limited to 'doc')
-rw-r--r--doc/source/cli/nova-manage.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/cli/nova-manage.rst b/doc/source/cli/nova-manage.rst
index 8aacf965b4..0eb7256a8a 100644
--- a/doc/source/cli/nova-manage.rst
+++ b/doc/source/cli/nova-manage.rst
@@ -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