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

Implementation --restore-table-mapping #937

Closed
raspreet-vunet opened this issue Jun 25, 2024 · 2 comments · Fixed by #944
Closed

Implementation --restore-table-mapping #937

raspreet-vunet opened this issue Jun 25, 2024 · 2 comments · Fixed by #944
Milestone

Comments

@raspreet-vunet
Copy link

It looks like the tool doesn't support restoring a table backup to a table with a different name. In clickhouse, we can do this by using the [AS [db.]table_name_in_backup] clause in the RESTORE TABLE. For the restore related commands, we can have an option similar to --restore-database-mapping which can be used to accomplish this.

@Slach
Copy link
Collaborator

Slach commented Jun 25, 2024

you are welcome to make pull request

@Slach Slach changed the title No way to restore backup to a different table name Implementations --restore-table-mapping Jun 26, 2024
@Slach Slach changed the title Implementations --restore-table-mapping Implementation --restore-table-mapping Jun 26, 2024
@raspreet-vunet
Copy link
Author

sure

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

Successfully merging a pull request may close this issue.

2 participants