Remote database backup scriptDeveloped In: PHP — Contributed by: Mysql TechRemote database backup script that will backup a database in either .zip or gzip and remotely upload it to a different server via FTP or another method. Several methods are: scp with ssh keys, rsync or even mysqldump directly. The easiest method is to create a user (backup for example) with just select as privilege and run mysqldump from cron.daily. Don't forget to allow mysqldump to connect to server from your remote location (grant select * to bakup@'yourip' identified by 'password')
PHP
很好 |
VotesWatches0 members are watching this tool
You must be logged in to track this tool.
Provide Feedback
You must be logged in to comment
|
There is no locking before starting the backup. Backup will be inconsistent with this way.