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

Add option: Random number or string to filenames when tables have same name #15

Open
JoeBlackSecurity opened this issue Feb 23, 2021 · 0 comments

Comments

@JoeBlackSecurity
Copy link

JoeBlackSecurity commented Feb 23, 2021

Some idiot before me dumped a massive DB (120gb dump file) with multiple tables that have the same name, into the same file. Dumping with this tool works, but overwrites the previous tables when extracting. I don't know sh at all, or even bash really, but I ended up changing it to bash and throwing $RANDOM until I got it to add a random number to the filename.

EDIT: Looks like it dumps the same table in the dump file multiple times. Not each file.

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

1 participant