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

Ignore schema #43

Closed
Camamber opened this issue Aug 30, 2019 · 2 comments
Closed

Ignore schema #43

Camamber opened this issue Aug 30, 2019 · 2 comments

Comments

@Camamber
Copy link

Camamber commented Aug 30, 2019

When i ignore some tables, it looks like okay. But then while, try restore-schema it still try to create them.
ch: 19.3.8
CLICKHOUSE_SKIP_TABLES=system.,default.test1,default..inner.

@Camamber
Copy link
Author

Camamber commented Aug 31, 2019

I found that you dont deal with skiping table during copying metadata. Why?

log.Println("Copy metadata")  
if err := copyPath(path.Join(dataPath, "metadata"), path.Join(backupPath, "metadata"), dryRun); err != nil {
    return fmt.Errorf("can't backup metadata with %v", err)
}
log.Println("  Done.")

@AlexAkulov
Copy link
Collaborator

I will fix this in the next version

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

3 participants
@AlexAkulov @Camamber and others