Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup/Restore kafkasql based Apicurio-Registry installation #2491

Closed
christofluethi opened this issue May 9, 2022 · 3 comments
Closed

Backup/Restore kafkasql based Apicurio-Registry installation #2491

christofluethi opened this issue May 9, 2022 · 3 comments
Labels
Question Further information is requested

Comments

@christofluethi
Copy link

Hi There

Is there a recommendation/guideline for backup/restore of an existing apicurio registry?

I'm thinking about the following:

  • backup using an import/export utility (i think there was one for V1?) Is there any documentation about such a tool in V2?
  • backup underlying kafkasql-journal topic

In our case mirroring the topic is not an option.

Thanks

@carlesarnal
Copy link
Member

carlesarnal commented May 11, 2022

Hi @christofluethi,

As you correctly pointed out, for migrating from V1 to V2 we have a standalone tool that creates a zip file that can then be used to import schemas into V2.

In latest versions, there's no tool but more a feature in the UI (and, of course, the api) where you have the option to download all the artifacts in a particular installation and also the option to import them (screenshot attached). Those features are also supported in the registry client, in case that helps.

imagen

@EricWittmann
Copy link
Member

+1 to the info Carles provided. In addition, you can use the REST API if you want to automate the backup of the registry content. The REST API endpoint is here:

https://www.apicur.io/registry/docs/apicurio-registry/2.0.x/assets-attachments/registry-rest-api.htm#operation/exportData

You will need an admin level user to perform that REST API call successfully.

As for backing up the topic, that's sadly outside my area of knowledge. I'm not sure what the equivalent of a DB backup is in the Kafka world. But whatever that might be is what you could do. If Mirroring is the equivalent of a DB backup for Kafka, and if you cannot do that, then using the export API is your best bet.

@EricWittmann EricWittmann added the Question Further information is requested label May 12, 2022
@EricWittmann
Copy link
Member

(Closing this as "answered" but feel free to keep the conversation going or re-open if needed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants