Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Add C<backup> to L<DBIx::Class::Storage::DBI::mysql> for support L<DBIx::Class::Schema::Versioned/backup>
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/DBIx/Class/Storage/DBI/mysql
t
.gitignore
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
README
README.mkdn

README.mkdn

NAME

DBIx::Class::Storage::DBI::mysql::backup

SYNOPSIS

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
/);

DESCRIPTION

Adds backup method to DBIx::Class::Storage::DBI::mysql.

This plugin enables LDBIx::Class::Schema::Versioned/backup when using MySQL.

FUNCTIONS

backup ( $to_dir )

writes SQL file as backup_filename to $to_dir. returns SQL filename.

backup_filename

returns filename of backup $DB_NAME-YYYYMMDD-hhmmss.sql

dump

returns dumped SQL

SEE ALSO

AUTHOR

Atsushi Nagase ngs@cpan.org

COPYRIGHT AND LICENSE

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.

Something went wrong with that request. Please try again.