Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 970 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 970 Bytes

mysql-dump-restore-tables

Cut and restore single/several tables from huge mysqldump files

Used on *nix systems with sed/grep installed

First - place your .sql mysqldump file into the same folder with app.php

Run the app:

php app.php mysql:restore

You'll have to answer a couple of questions about desired filename for restored data and usage of foreign key checks and sql mode in that file.

image

After you can choose the file to read data from

Untitled

Application reads the structure of dump file and displays the results in ordered list

Untitled

After you can type the desired table name(s) for restoration separated by comma