]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd: Add mirror snapshot schedule information 60903/head
authorN Balachandran <nibalach@redhat.com>
Mon, 2 Dec 2024 08:07:20 +0000 (13:37 +0530)
committerN Balachandran <nibalach@redhat.com>
Mon, 2 Dec 2024 10:27:34 +0000 (15:57 +0530)
Signed-off-by: N Balachandran <nibalach@redhat.com>
doc/man/8/rbd.rst

index 492dad652d211083220a77cc30452047273f36fa..6956b9e334bc1c4478d9cfc7b8bd0c13d74667f3 100644 (file)
@@ -576,7 +576,11 @@ Commands
   details for every mirror-enabled image in the pool or namespace.
 
 :command:`mirror snapshot schedule add` [-p | --pool *pool*] [--namespace *namespace*] [--image *image*] *interval* [*start-time*]
-  Add mirror snapshot schedule.
+  Add mirror snapshot schedule. The ``interval`` can be specified in
+  days, hours, or minutes using the d, h, m suffix respectively.
+  The ``start-time`` is a time string in ISO 8601 format. Not providing the
+  ``--pool``, ``--namespace`` and ``--image`` options creates a global
+  schedule which applies to all mirror-enabled images in the cluster.
 
 :command:`mirror snapshot schedule list` [-R | --recursive] [--format *format*] [--pretty-format] [-p | --pool *pool*] [--namespace *namespace*] [--image *image*]
   List mirror snapshot schedule.
@@ -1031,6 +1035,9 @@ To restore an image from trash and rename it::
 
        rbd trash restore mypool/myimage-id --image mynewimage
 
+To create a mirror snapshot schedule for an image::
+
+       rbd mirror snapshot schedule add --pool mypool --image myimage 12h 14:00:00-05:00
 
 Availability
 ============