Ask Your Question

How to backup and restore keystone db ?

asked 2016-09-08 08:15:31 -0600

Tamil gravatar image

what are commands to back up keystone database and restore the same

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-08 19:20:16 -0600

Damia gravatar image

Hi Tamil,

The ops-guide covers the backups on all items, one of them being the mysql databases: (

The standard approach is using mysqldump in this fashion:

# mysqldump --opt keystone > keystone.sql

To recover, simply stop all the process related to keystone and use this command to replace the database:

# mysql keystone < keystone.sql

In addition, there is a project called Freezer that can be used to schedule backups for all items that require it on OpenStack:

edit flag offensive delete link more

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

1 follower


Asked: 2016-09-08 08:15:31 -0600

Seen: 565 times

Last updated: Sep 08 '16