Re: Snapshots only on Primary Storage feature
This feature was implemented in 4.9 by my colleague Nathan Johnson. You enable it by changing the global setting snapshot.backup.rightafter to false.
The PR is reference here: https://github.com/apache/cloudstack/pull/1697
We have the exact same use case as you, as we also use Ceph.
From: Glen Baars <glen@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 17, 2018 9:46 AM
Subject: Snapshots only on Primary Storage feature
I have been thinking about a feature request and want to see what people think about the use case.
We use KVM + Ceph RBD as storage.
Currently, when a client takes a snapshot, Cloudstack takes a Ceph snapshot and then uses qemu-img to export to secondary storage. This creates a full backup of the server. Clients want to use this as a daily snapshot and it isn’t feasible due to the space requirements.
We would like create the snapshot only on primary storage. It is replicated offsite and fault tolerant. I can see that the download snapshot and create template features may be an issue.
I have seen the below features in the recent releases and wondered if this was the direction that the development was going.
Separation of volume snapshot creation on primary storage and backing operation on secondary storage.
Bypass secondary storage template copy/transfer for KVM.
T 1300 733 328 / +61 8 6102 3276
NZ +64 9280 3561
[http://images.dbonline.com.au/images/fb.png] Facebook<https://www.facebook.com/TheInformationManagementGroup> [http://images.dbonline.com.au/images/li.png] LinkedIn<http://www.linkedin.com/company/the-information-management-group?trk=hb_tab_compy_id_2724246>
Watch a short video about what we do!<https://www.youtube.com/watch?v=scLGLwSIFQc>
This e-mail may contain confidential and/or privileged information.If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
This e-mail is intended solely for the benefit of the addressee(s) and any other named recipient. It is confidential and may contain legally privileged or confidential information. If you are not the recipient, any use, distribution, disclosure or copying of this e-mail is prohibited. The confidentiality and legal privilege attached to this communication is not waived or lost by reason of the mistaken transmission or delivery to you. If you have received this e-mail in error, please notify us immediately.