1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00
Files
docs/source/includes/facts-versioning.rst
Andrea Longo 1f8ce6dec2 Add reference page for mc du (#783)
Create a new reference page for `mc du` and link it in the list of `mc`
commands.

Staged:

http://192.241.195.202:9000/staging/DOCS-764/linux/html/reference/minio-mc/mc-du.html

Includes drive-by fixes to make the _Optional_ notations appear in a
more consistent manner. (Including several otherwise unrelated pages.)
There's more opportunistic fixes here than I might normally do in the
same PR, but seemed better to get it over with.

Fixes https://github.com/minio/docs/issues/764

---------

Co-authored-by: Ravind Kumar <ravind@min.io>
2023-03-30 13:36:41 -06:00

48 lines
1.5 KiB
ReStructuredText

.. start-rewind-desc
Directs |command| to operate only on the object version(s) that
existed at specified point-in-time.
- To rewind to a specific date in the past, specify the date as an
ISO8601-formatted timestamp. For example: ``--rewind "2020.03.24T10:00"``.
- To rewind a duration in time, specify the duration as a string in
``#d#hh#mm#ss`` format. For example: ``--rewind "1d2hh3mm4ss"``.
|rewind| requires that the specified |alias| be an S3-compatible service
that supports :ref:`minio-bucket-versioning`. For MinIO deployments, use
:mc:`mc version` to enable or disable bucket versioning.
.. end-rewind-desc
.. start-versions-desc
Directs |command| to operate on all object versions that exist in the
bucket.
|versions| requires that the specified |alias| be an S3-compatible service
that supports :ref:`minio-bucket-versioning`. For MinIO deployments, use
:mc:`mc version` to enable or disable bucket versioning.
.. end-versions-desc
.. start-version-id-desc
*Optional* Directs |command| to operate only on the specified object version.
|versionid| requires that the specified |alias| be an S3-compatible service
that supports :ref:`minio-bucket-versioning`. For MinIO deployments, use
:mc:`mc version` to enable or disable bucket versioning.
.. end-version-id-desc
.. start-versioning-admonition
.. admonition:: Requires Versioning
:class: note
|command| requires :ref:`bucket versioning <minio-bucket-versioning>` to
use this feature. Use :mc:`mc version` to enable versioning on a bucket.
.. end-versioning-admonition