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

Option to get table structure only (--no-data) #180

Open
seanorama opened this issue Oct 5, 2017 · 1 comment
Open

Option to get table structure only (--no-data) #180

seanorama opened this issue Oct 5, 2017 · 1 comment

Comments

@seanorama
Copy link

Some tables, such as those used for sessions/history, only require the structure being restored.

Could there be an option to get a table but only it's structure.
e.g. exclude-tables-data: databasename.tablename

For the mysqldump plugin this would issue "--no-data" for those tables.

soulen3 pushed a commit that referenced this issue Nov 7, 2018
soulen3 pushed a commit that referenced this issue Nov 16, 2018
@soulen3
Copy link
Contributor

soulen3 commented Nov 16, 2018

I was talking with a colleague about this. He pointed out that this only lets you add options at the database level and not the table level like you request.

@soulen3 soulen3 reopened this Nov 16, 2018
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