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
收件人:"[email protected]"<[email protected]>
抄送:

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     : [email protected] 
Unsubscribe : https://launchpad.net/~openstack 
More help   : https://help.launchpad.net/ListHelp 
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to