TJ CSL
Search…
Backups

RBD Snapshots

To create an RBD snapshot, run
1
rbd snap create <IMAGE NAME>@<SNAP NAME>
Copied!
where <SNAP NAME> is the requested snapshot name.
For example, to snapshot virtual-machines/steeltoe with a snapshot named 20190108 :
1
rbd snap create virtual-machines/[email protected]
Copied!
We use the YYYYMMDD format as our naming convention for snapshot based on the day of the snapshot. For example, a snapshot made on January 1, 2019 would be 20190101 . Any further snapshots have a -1 (etc.) appended.

CephFS Snapshots

To create a snapshot of a CephFS directory, run:
1
mkdir <PATH TO DIR>/.snap/<SNAP NAME>
Copied!
We use the same snapshot naming convention as RBD snapshots.
Last modified 2yr ago