backup icon indicating copy to clipboard operation
backup copied to clipboard

Ignore specific tables with parameter or only dump some tables

Open Warafux opened this issue 7 years ago • 2 comments

Hello, thank you for the package, it is very useful! But I needed to ignore a specific table,in fact, the one that manages the backups. So I decided to improve the package and here it is.

The use is simple, just add the parameter --ignore-tables and type inside the tables (sepparated with commas) that you want to ignore, example: php artisan backup:mysql-dump my_backup --ignore-tables='backups,clients'

EDIT: I also added the "only these specific tables" feature. It is used with the argument --tables which will override the --ignore-tables argument. php artisan backup:mysql-dump my_backup --tables='backups,clients'

Thank you again!

Warafux avatar Aug 06 '18 14:08 Warafux

Fixing the style errors...

Warafux avatar Aug 06 '18 14:08 Warafux

I don't understand the last style error. I'm done trying to style the code. 🤣

Warafux avatar Aug 06 '18 15:08 Warafux