Ask Your Question
2

swift object migration from one devstack to another devstack

asked 2015-03-21 16:00:35 -0500

bishtsanddev gravatar image

is it possible in openstack to migration of object from one devstack to another

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-23 14:16:02 -0500

I'm not sure what the point would be since it's just unstructured data, how many objects are we talking about. I would recommend you just pull the data down into an image, save to root disk and migrate the image over then just upload everything back to swift. Or just use any network storage option to easily copy/migrate the data over. Good luck.

edit flag offensive delete link more
0

answered 2015-03-23 16:55:07 -0500

echiu gravatar image

updated 2015-03-23 16:55:23 -0500

In devstack, the data for Swift is stored in the source tree by default (in $DEST/swift/data) and can be moved by setting SWIFT_DATA_DIR. The specified directory will be created if it does not exist.

To migrate your data, copy this directory from the old devstack instance to the new instance.

You can change this in the localrc configuration

SWIFT_DATA_DIR=$DEST/data/swift
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-21 16:00:35 -0500

Seen: 147 times

Last updated: Mar 23 '15