Ask Your Question

How to backup Swift

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

jomach gravatar image

updated 2013-11-11 17:57:17 -0600

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

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

fabien-boucher gravatar image

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

You can also have a look to that tool : (swiftsync)

edit flag offensive delete link more

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

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


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 -0600 )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 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



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

Seen: 555 times

Last updated: Dec 29 '13