DBIx::Class::Storage::DBI::mysql::backup
package MyApp::Schema;
use base qw/DBIx::Class::Schema/;
our $VERSION = 0.001;
__PACKAGE__->load_classes(qw/CD Book DVD/);
__PACKAGE__->load_components(qw/
Schema::Versioned
Storage::DBI::mysql::backup
/);
Adds backup
method to DBIx::Class::Storage::DBI::mysql.
This plugin enables LDBIx::Class::Schema::Versioned/backup when using MySQL.
writes SQL file as backup_filename to $to_dir. returns SQL filename.
returns filename of backup $DB_NAME-YYYYMMDD-hhmmss.sql
returns dumped SQL
DBIx::Class::Schema::Versioned
Atsushi Nagase ngs@cpan.org
Copyright (C) 2011 Atsushi Nagase ngs@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.