[Openstack-operators] [openstack-operators][glance]how to export a snapshot from glance to local file system

Abel Lopez alopgeek at gmail.com
Fri Jan 18 06:16:24 UTC 2013


Pretty much, yes.
You'll want to make sure the instance has been shutdown or paused, you can
do that on the compute node if it's not responding.
I believe that the default snapshot format will be RAW, so keep that in
mind when adding to glance later. Verify with the 'file' command.

On Thu, Jan 17, 2013 at 10:03 PM, Ajiva Fan <aji.zqfan at gmail.com> wrote:

> dear all,
>
> i have deployed openstack essex on ubuntu 12.04 precise, there are
> some instances running for couple of days
> now the server becomes unstable, so i want to save my instances'
> snapshot to remote file system in order to use them in a new
> environment. i find that there is no such command in glance, so what
> should i do?
>
> i guess i can achieve it by following steps:
> 1. snapshot instance
> 2. locate the snapshot file in /var/lib/glance/images/xxxxxxxxxxx
> 3. copy this file to a remote host
> 4. upload this file by 'glance add' as disk_format=qcow2 to a new
> openstack environment
>
> is it correct? and is there any convenient way?
>
> thanks for any help
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130117/f622232e/attachment.html>


More information about the OpenStack-operators mailing list