← Back to team overview

openstack team mailing list archive

[glance] how to export snapshot to local file system

 

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


Follow ups