Gitify
Gitify copied to clipboard
add option "--ignoretables" to BackupCommand.php
What does it do ?
Add the mysqldump parameter --ignore-table.
Why is it needed ?
Sometimes you don't need to backup tables like modx_context_setting or something like that. Now you can ignore this table with gitify backup --ignoretables=modx_context_setting. I use this to do a local backup and restore to the live server, but don't want the context settings for SmartRouting.
I wonder if we should name it --ignore-table for consistency with the mysqldump syntax but other than that, this is a good improvement. Thanks @jenswittmann!
@Mark-H feel free to rename it 😸
Nice one @jenswittmann , thanks! I've renamed it.