Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 368 Bytes

File metadata and controls

19 lines (14 loc) · 368 Bytes

mysql-backup

Super full smart backup of all databases mysql

Configuration and change path backup or ignore databases

vi smart-backup.sh 

Start create full backup

sh smart-backup.sh 

For import use this command

for SQL in *.sql; do DB=${SQL/\.sql/}; echo importing $DB; mysql $DB -f -u root -p'yourPassword' < $SQL; done