Configurable db dumper #1290
Unanswered
cretueusebiu
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How would you go about configuring the db dumper instance in the BackupJob class ?
I see there is a config option for
DbDumper::useCompressor()
since that's common among all db dumpers, but say for instance I want to to setMySql::skipLockTables()
it wouldn't make much sense to have a config option for that since it's only for MySql.I was thinking to use maybe an event where you pass the db dumper instance. Something like this:
Now all you would need is a listener and you can call any method on the dumper.
What do you think ?
Beta Was this translation helpful? Give feedback.
All reactions