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

Creating backup of specific tables #1381

Open
bhushanvadgave opened this issue Sep 4, 2023 · 2 comments
Open

Creating backup of specific tables #1381

bhushanvadgave opened this issue Sep 4, 2023 · 2 comments

Comments

@bhushanvadgave
Copy link

Requirement

In our rqlite database, we maintain 2 kinds of tables - 1. System/Internal tables and 2. User tables. System tables are used for maintaining the data related to the system's internal workflows. As part of the backup process, which is automated, we would like to backup or create a dump of only User tables.

Solution expected

Sqlite's .dump command supports the creation of SQL dumps for specific tables by accepting table names as input. Similarly, Rqlite can support this by accepting table names in curl -s -XGET localhost:4001/db/backup?fmt=sql -o bak.sql API.

@otoolep
Copy link
Member

otoolep commented Sep 4, 2023

Sounds like a reasonable request. I can look into after I ship 8.0, which I need to focus on for now.

@bhushanvadgave
Copy link
Author

Sure. Thanks.

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

No branches or pull requests

2 participants