DBIx::Admin::BackupRestore

Backup all tables in a database to XML, and restore them
Download

DBIx::Admin::BackupRestore Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ron Savage
  • Publisher web site:
  • http://search.cpan.org/~rsavage/

DBIx::Admin::BackupRestore Tags


DBIx::Admin::BackupRestore Description

Backup all tables in a database to XML, and restore them DBIx::Admin::BackupRestore is a Perl module to backup all tables in a database to XML, and restore them.Synopsis use DBIx::Admin::BackupRestore; # Backup. open(OUT, "> $file_name") || die("Can't open(> $file_name): $!"); print OUT DBIx::Admin::BackupRestore -> new(dbh => $dbh) -> backup('db_name'); close OUT; # Restore. DBIx::Admin::BackupRestore -> new(dbh => $dbh) -> restore($file_name);DescriptionDBIx::Admin::BackupRestore is a pure Perl module.It exports all data - except nulls - in all tables from one database to one or more XML files.Actually, not all tables. Table names which match /^BIN$.+$./ are discarded. This is for Oracle.Then these files can be imported into another database, possibly under a different database server, using methods restore() or restore_in_order(). Requirements: · Perl


DBIx::Admin::BackupRestore Related Software