Good day! I am working on a robust backup script for RBD and ran into a need to reliably determine start and end snapshots for differential exports (done with rbd export-diff).
I can clearly see these if dumping the ASCII header of the export file, e.g.:
iss@lab2-b1:/data/volume1$ strings exp-tst1-spin1-sctst1-0111-174938-2016-cons-thin.scexp|head -3
rbd diff v1
auto-0111-083856-2016-tst1t
auto-0111-174856-2016-tst1s
It appears that "auto-0111-083856-2016-tst1" is the start snapshot (followed by t) and "auto-0111-174856-2016-tst1" is the end snapshot (followed by s).
Is this the best way to determine snapshots and are letters "s" and "t" going to stay the same?
Best regards,
--
Alex Gorbachev
Storcium
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com