[Openstack] [glance] how to export snapshot to local file system

Umar Draz unix.co at gmail.com
Fri Jan 18 07:29:05 UTC 2013


Hi,

Why you are not use this


glance image-download <Image ID> --file filename.img


Br.

Umar
On Fri, Jan 18, 2013 at 11:26 AM, Wangpan <hzwangpan at corp.netease.com>wrote:

> **
> I think you are right, and copy /var/lib/glance/images/xxxxxxxxxxx to
> remote host is the fastest way.
> You can check the snapshot by using it create an instance in the new
> openstack environment.
>
> 2013-01-18
>  ------------------------------
>  Wangpan
>  ------------------------------
>  *发件人:*Ajiva Fan
> *发送时间:*2013-01-18 14:08
> *主题:*[Openstack] [glance] how to export snapshot to local file system
> *收件人:*"openstack at lists.launchpad.net"<openstack at lists.launchpad.net>
> *抄送:*
>
>  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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Umar Draz
Network Architect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130118/3730a1bb/attachment.html>


More information about the Openstack mailing list