Ask Your Question
1

What is the best solution to back up a project's network settings and restore them later?

asked 2019-11-29 09:47:39 -0500

jengbers gravatar image

I am looking a solution for the following situation. I have created a complex network setup in a project that includes multiple networks, routers, security groups, etc. I am now in a situation where I have to change considerable parts of the setup, but I would like to take a 'snapshot' of the current situation so that I can revert to that situation if things stop working. As long as I have access to the database, this is reasonably straight-forward, but what if I am an end user?

I have looked at the backup solutions provided by Karbor and Freezer and the commercial TrilioVault.Those are interesting for backups on a regular basis, but the problem I want to solve does not require an automated backup.

The OpenStack client allows exporting the contents of a security group or network as json, but as far as I understand, they can not be imported later.

The solution I am leaning towards is suggesting to export a project to a HEAT template using https://opendev.org/x/flame (Flame). This seems like the best solution in theory, but people are reporting different levels of succes using flame for the generation of HEAT templates.

Is there any approach I am overlooking? What, if any, is the solution you would use in this scenario?

edit retag flag offensive close merge delete

Comments

1

Perhaps direct APIs are the best approach. Usually, the data structures returned by the show APIs like GET /v2.0/networks/{network_id} are similar to the create API structures, e.g. POST /v2.0/networks. And they are all JSON.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-29 14:35:31 -0500 )edit
1

We are dumping the current metadata structure to have something to restore an environment with, but those dumps can not be easily restored.

jengbers gravatar imagejengbers ( 2019-12-02 04:25:05 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-12-30 21:44:41 -0500

Maybe this https://wiki.openstack.org/wiki/Raksha#VM_Backup (Raksha) OpenStack project. Which is a scalable data protection service for OpenStack.

According to its documentation, Raksha allows you to backup network mappings and other resources of an instance. Read more at:

  • Documentation https://wiki.openstack.org/wiki/Raksha
  • Client code at https://github.com/DPaaS-Raksha/python-rakshaclient (https://github.com/DPaaS-Raksha/pytho...)
  • Project was on LaunchPad but somehow it is presently gone at https://launchpad.net/python-rakshaclient (https://launchpad.net/python-rakshacl...)

Did anyone try Raksha? We have not yet tried it at Ubertus. But if we do we will be happy to share our findings.

edit flag offensive delete link more

Comments

@Francewhoa thanks for the suggestion! It looks like Raksha is very much undeveloped these dates. What I understand from the Trilio site that Trilio grew out of Raksha. "Murali Balcha and some colleagues created the Raksha project, which focused on providing non-disruptive and scalable data protect"

jengbers gravatar imagejengbers ( 2020-02-27 04:09:31 -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: 2019-11-29 09:47:39 -0500

Seen: 83 times

Last updated: Nov 29 '19