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

Wangpan hzwangpan at corp.netease.com
Fri Jan 18 06:26:20 UTC 2013


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130118/ab449398/attachment.html>


More information about the Openstack mailing list