Hi Glen / Si,

In PR# 1697, the global setting *snapshot.backup.rightafter* if set to
true, it'll be the default behaviour and snapshot is copied to the
secondary storage. If set to false, then the snapshot state transitions are
mocked and Snapshot would be in BackedUp state even though it is not really
in Secondary storage, which doesn't make sense. Also, that will enable to
create a volume or template from the snapshot, which will obviously fail.

This behavior was changed with the PR
https://github.com/apache/cloudstack/pull/2081. There is a clear separation
of create and backup volume snapshot operations. The global setting
*snapshot.backup.rightafter* has been removed in PR# 2081.

-Suresh

On Thu, May 17, 2018 at 8:40 PM, Simon Weller <swel...@ena.com.invalid>
wrote:

> Glen,
>
>
> 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.
>
>
> - Si
>
>
> ________________________________
> From: Glen Baars <g...@onsitecomputers.com.au>
> Sent: Thursday, May 17, 2018 9:46 AM
> To: dev@cloudstack.apache.org
> Subject: Snapshots only on Primary Storage feature
>
>
> Hello Devs,
>
>
>
> 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.
>
> Kind regards,
>
> Glen Baars
>
> BackOnline Manager
>
>
>
> T  1300 733 328 / +61 8 6102 3276
>
> NZ +64 9280 3561
>
>
>
> www.timg.com<http://www.timg.com/>
>
>  [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>
>
> [http://images.dbonline.com.au/images/timgv3.jpg]<https://goo.gl/eAHLO7>
>
> 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.
>

Reply via email to