Dmitry Nikolayev > MySQL-Backup-0.04 > MySQL::Backup

Download:
MySQL-Backup-0.04.tar.gz

Dependencies

Annotate this POD (3)

Related Modules

DBA::Backup
DBD::mysql
Archive::Zip
more...
By perlmonks.org

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

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

SYNOPSIS ^

  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 ^

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 ^

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

AUTHOR ^

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

THANKS ^

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 ^

Copyright (C) 2006 by Dmitry Nikolayev

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: