[Openstack] cinder-snapshot -vs- cinder-backup?

Preston L. Bannister preston at bannister.us
Mon Feb 2 07:03:50 UTC 2015


Depends on your aim.

Be aware that the OpenStack community does not really have a good handle on
"backup", on efficiency at scale, and the differing levels of service.

>From the perspective of building efficient backup at scale, the existing
OpenStack APIs make almost no sense.

If your deployment is on Ceph, there are some interesting optimizations
that fit some fairly specific levels of service. But as you (seem to?) have
noted, backup into the same pool is not always what you want.

To be clear, I was tasked several months back with figuring out backup for
OpenStack, at a vendor that does a lot of at-scale backup. Easy to do
backup badly. Harder to do efficient backup at scale.

The key is that you want to backup Nova instances, not Cinder volumes. The
operation then tracks changes between backups at the Nova level, not
Cinder.  Otherwise you are copying/scanning entire volumes at the Cinder
level - not efficient. The underlying operations needed are ... not quite
there.

Thus the current confused situation around OpenStack backup. :)






On Fri, Jan 30, 2015 at 2:39 PM, Sebastien Han <sebastien.han at enovance.com>
wrote:

> One of the extra benefit could be that you’re doing backup on another Ceph
> cluster (potentially on another location).
> However this will never prevent you from corruption since if corruption
> already occurred then it will be replicated.
>
> Like Erik mentioned a catastrophic situation were you lose all the
> monitors and get corrupted fs/leveldb store (just happened to someone on
> the ceph ML) would be a disaster.
> Having another healthy cluster can be useful.
>
> > On 30 Jan 2015, at 20:35, Erik McCormick <emccormick at cirrusseven.com>
> wrote:
> >
> > It doesn't buy you a lot in that sort of setup, but it would put it in a
> different pool and thus different placement groups and OSDs. It could
> potentially protect you from data loss in some catastrophic situation.
> >
> > -Erik
> >
> > On Fri, Jan 30, 2015 at 2:08 PM, Jonathan Proulx <jon at jonproulx.com>
> wrote:
> > Hi All,
> >
> > I can see the obvious distinction between cinder-snapshot and
> > cinder-backup being that snapshots would live on the same storage back
> > end as the active volume (using that ever snapshotting that provides)
> > where the backup would be to different storage.
> >
> > We're using Ceph for volume and object storage so it seems like
> > running cinder-backup in that case (with active, snap, and backup
> > would be all in essentially the same backend) would not make a whole
> > lot of sense.
> >
> > Is my thinking right on this or are there advantages of 'backup' over
> > 'snapshot' that I'm not considering?
> >
> > -Jon
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
> Cheers.
> ––––
> Sébastien Han
> Cloud Architect
>
> "Always give 100%. Unless you're giving blood."
>
> Phone: +33 (0)1 49 70 99 72
> Mail: sebastien.han at enovance.com
> Address : 11 bis, rue Roquépine - 75008 Paris
> Web : www.enovance.com - Twitter : @enovance
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150201/56376a45/attachment.html>


More information about the Openstack mailing list