Ask Your Question
2

How to backup Swift

asked 2013-09-27 11:36:30 -0500

jomach gravatar image

updated 2013-11-11 17:57:17 -0500

torgomatic gravatar image

Hello everyone,

I have a relative simple question. I know that for realability swift provides no lost of data. But how about recovery from logical errors. In another words : if the application deletes data from the swift cluster, how can i get the data back ? In traditional Environments you have a backup from the data a make a recovery. Because the usability for enterprise needs to be sure that we can recover from application errors.

Regards. Jorge

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-12-29 06:02:09 -0500

fabien-boucher gravatar image

updated 2013-12-29 06:03:02 -0500

You can also have a look to that tool : https://github.com/stackforge/swiftsync (swiftsync)

edit flag offensive delete link more
0

answered 2013-09-27 13:32:00 -0500

FreshPow gravatar image

Well, you could use the X-Copy-From metadata to copy the objects to another container. There is also X-Container-Sync-... for container synchronization. You'll need to be careful with large files that have manifests most likely.

edit flag offensive delete link more

Comments

Hi there, But in that way you cannot get point in time recorvery for all objects...

jomach gravatar imagejomach ( 2013-12-12 13:08:31 -0500 )edit

I think you'd really have to write your own script. The swift CLI right now seems to me to be incredibly lame, so I'd probably just use curl. Run it in cron.

FreshPow gravatar imageFreshPow ( 2013-12-12 13:56:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-09-27 11:36:30 -0500

Seen: 484 times

Last updated: Dec 29 '13