I have a pretty big db in MySql and I need to backup it every day or so.
I need to be able to make backups from any computer, so I thought about making a php script to do this, and putting this PHP script online (offcourse with password protection and authorization, etc., so that only I I can access it).
I wonder how this is done right?
What commands should be used, and is it possible to change the backup settings (for example, Add AUTO_INCREMENT value = true )?
I would be grateful for examples ...
Also, if this is a bad method (unsafe or possibly giving bad backups with bad sql files), which other method would be preferable? I have shell access and I have VPS (ubuntu server).
My Mysql version 5.1
thanks
user188962
source share