<div dir="auto"><div><div dir="auto"><div data-smartmail="gmail_signature" dir="auto">On Sun, Mar 8, 2020, 5:55 PM Alfredo De Luca <<a href="mailto:alfredo.deluca@gmail.com">alfredo.deluca@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi Sean. Sorry for the late reply. </div><div class="gmail_default" style="font-family:verdana,sans-serif">What we want to do is backing up snapshots in case of a complete compute lost of as a plan for disaster recovery. </div><div class="gmail_default" style="font-family:verdana,sans-serif">So after recreating the environment we can restore snapshots and start the VMs again.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Cheers</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 4, 2020 at 10:14 PM Sean McGinnis <<a href="mailto:sean.mcginnis@gmx.com" target="_blank" rel="noreferrer">sean.mcginnis@gmx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/4/20 9:58 AM, Gorka Eguileor wrote:<br>
> On 03/03, Alfredo De Luca wrote:<br>
>> Hi all.<br>
>> We have our env with Openstack (Train) and cinder with CEPH (nautilus)<br>
>> backend.<br>
>> We are creating automatic volumes snapshots and now we'd like to export<br>
>> them as a backup/restore plan. After exporting the snapshots we will use<br>
>> Acronis as backup tool.<br>
>><br>
>> I couldn't find the right steps/commands to exports the snapshots.<br>
>> Any info?<br>
>> Cheers<br>
>><br>
>> --<br>
>> *Alfredo*<br>
> Hi Alfredo,<br>
><br>
> What kind of backup/restore plan do you have planned?<br>
><br>
> Because snapshots are not meant to be used in a Disaster Recovery<br>
> backup/restore plan, so the only thing available are the manage/unmanage<br>
> commands.<br>
><br>
> These commands are meant to add an existing volume/snapshots into Cinder<br>
> together, not to unmanage/manage them independently.<br>
><br>
> For example, you wouldn't be able to manage a snapshot if the volume is<br>
> not already managed. Also unmanaging the snapshot would block the<br>
> deletion of the RBD volume itself.<br>
><br>
> Cheers,<br>
> Gorka.<br>
<br>
If the intent is to use the snapshots as a source to backup the volume<br>
data, leaving the actual volume attached and IO running but still<br>
getting a "static" view of the code, then you would need to create a<br>
volume from the chosen snapshot, mount that volume somewhere that is<br>
accessible to your backup software, perform the copy of the data, then<br>
delete the volume when complete.<br>
<br>
I haven't used Acronis myself, but the issue for some backup software<br>
could be that the volume it is backing up from is going to be different<br>
every time. Though you could make sure it is mounted at the same place<br>
so the backup software at least *thinks* it's backing up the same thing.<br>
<br>
Then restoring the data will likely require some manual intervention,<br>
but that's pretty much always the case when something goes wrong. I<br>
would just recommend you test the full disaster recovery scenario to<br>
make sure you have that figured out and working right before you<br>
actually need it.<br>
<br>
Sean<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><i><b>Alfredo</b></i></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br><div></div></div></div></div></blockquote></div></div><div dir="auto"><span style="font-family:sans-serif">Is there a reason not to use the cinder backup feature? This function works for me backing up ceph volumes to swift. Once the backup is in swift it's very easy to pull it down to replicate it somewhere else. There are also other backup targets using the built in provider. </span><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">It's worth checking out.<br></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><div><span style="font-family:sans-serif">Donny Davis</span><br style="font-family:sans-serif"><span style="font-family:sans-serif">c: 805 814 6800</span><br></div></div></div></div>
</blockquote></div></div></div>