David Cantrell > App-Rsnapshot-1.999_00002 > utils/mysqlbackup.pl

Download:
App-Rsnapshot-1.999_00002.tar.gz

Annotate this POD

Source  

^

Author: Anthony Ettinger

License: GPL 2.0 URL: http://www.gnu.org/licenses/gpl.txt

Notes:

This script was originally written to function as a MySQL database backup script in conjunction with the open source Perl/rsync backup program "rsnapshot". rsnapshot can be found here: http://www.rsnapshot.org/

In order to backup a MySQL database remotely, the necessary database user must be able to connect remotely to the database server from your IP number (some ISPs only allow access from localhost - you may need to email your admin and ask for your ip to be given access)

It is extremely important that you secure the /etc/mysqlbackup file so only YOU can read the file, 'chmod 0600 /etc/mysqlbackup', as it will store the database passwords in plain text format.

syntax highlighting: