daniloaz / myphp-backup

Simple and fast MySQL backups using PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

option to not download data from VIEWS. Separate insert statements limit config

samsong opened this issue · comments

2 options important:

  1. Use Show FULL tables instead of show tables.
    2nd column of results tell you TABLE or VIEW

  2. For View change the drop statement to drop VIEW

  3. option / hard code don't download VIEW data to sql backup

  4. option / hardcode limit for insert statements. 1 row per statement is safer for some applications and servers to avoid server crash during restore.