MySQL::Backup - Perl extension for making backups of mysql DBs.


MySQL-Backup documentation  | view source Contained in the MySQL-Backup distribution.

Index


NAME

Top

MySQL::Backup - Perl extension for making backups of mysql DBs.

SYNOPSIS

Top

  use MySQL::Backup;
  my $mb = new MySQL::Backup('database','127.0.0.1','user','password',{'USE_REPLACE' => 1, 'SHOW_TABLE_NAMES' => 1});
  print $mb->create_structure();
  print $mb->data_backup();

DESCRIPTION

Top

MySQL::Backup should be useful for people, who needed in backuping mysql DBs by perl script and doesn't want to use mysqldump or doesn't able to do this.

Main Methods

Params

Params could be set on creating, like shown in example, or/and set/changed as you should see below:

SEE ALSO

Top

DBI, DBD::mysql and http://dev.mysql.com

AUTHOR

Top

Dmitry Nikolayev <dmitry@cpan.org>, http://perl.dp.ua/resume.html

THANKS

Top

Thanks for DotHost Hosting Provider: http://dothost.ru for their Tech. support.

Also, Thanks to Dree <dree@perl.it> for his comments and suggestions.

COPYRIGHT AND LICENSE

Top


MySQL-Backup documentation  | view source Contained in the MySQL-Backup distribution.