ceph-csi/internal/rbd
Madhu Rajanna 0837c05be0 rbd: set scheduling interval on snapshot mirrored image
Mirror-snapshots can also be automatically created on a
periodic basis if mirror-snapshot schedules are defined.
The mirror-snapshot can be scheduled globally, per-pool,
or per-image levels. Multiple mirror-snapshot schedules
can be defined at any level.

To create a mirror-snapshot schedule with rbd, specify
the mirror snapshot schedule add command along with an
optional pool or image name; interval; and optional start time:

The interval can be specified in days, hours, or minutes
using d, h, m suffix respectively. The optional start-time
can be specified using the ISO 8601 time format. For example:

```
$ rbd --cluster site-a mirror snapshot schedule
  add --pool image-pool --image image1 24h 14:00:00-05:00
```

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-07-06 14:41:48 +00:00
..
clone.go rbd: restart thick-provisioned PVC cloning after aborting 2021-06-18 06:25:56 +00:00
controllerserver_test.go rbd: no need to flatten thick-provisioned images 2021-06-18 06:25:56 +00:00
controllerserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
driver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
encryption.go cleanup: remove unnecessary calling of .String() when logging 2021-05-25 18:02:11 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
mirror.go cleanup: remove unnecessary calling of .String() when logging 2021-05-25 18:02:11 +00:00
nodeserver_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
nodeserver.go rebase: update kubernetes to v1.21.2 2021-07-01 03:35:23 +00:00
rbd_attach.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
rbd_journal.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
rbd_util_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
rbd_util.go rbd: set scheduling interval on snapshot mirrored image 2021-07-06 14:41:48 +00:00
replicationcontrollerserver_test.go rbd: set scheduling interval on snapshot mirrored image 2021-07-06 14:41:48 +00:00
replicationcontrollerserver.go rbd: set scheduling interval on snapshot mirrored image 2021-07-06 14:41:48 +00:00
snapshot.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00