Hi,
we're using rbd for VM disk images and want to make consistent backups of
groups of them.
I know I can create a group and make consistent snapshots of all of them:
# rbd --version
ceph version 14.2.9 (581f22da52345dba46ee232b73b990f06029a2a0) nautilus
(stable)
# rbd create test_foo --size 1M
# rbd create test_bar --size 1M
# rbd group create test
# rbd group image add test test_foo
# rbd group image add test test_bar
# rbd group snap create test@1
But how can I export the individual image snapshots? I tried different
ways of addressing them, but nothing worked:
# rbd export test_foo@1 -
error setting snapshot context: (2) No such file or directory
# rbd export test_foo@test/1 -
rbd: error opening pool 'test_foo@test': (2) No such file or directory
# rbd export rbd/test_foo@test/1 -
error setting snapshot context: (2) No such file or directory
# rbd export test@1/test_foo -
rbd: error opening pool 'test@1': (2) No such file or directory
# rbd export rbd/test@1/test_foo -
rbd: error opening image test: (2) No such file or directory
Am I missing something?
Mit freundlichen Grüßen,
Timo Weingärtner
Systemadministrator
--
ITscope GmbH
Ludwig-Erhard-Allee 20
D-76131 Karlsruhe
Tel: +49 721 62737637
Fax: +49 721 66499175
https://www.itscope.com
Handelsregister: AG Mannheim, HRB 232782 Sitz der Gesellschaft: Karlsruhe
Geschäftsführer: Alexander Münkel, Benjamin Mund, Stefan Reger