Cake Dbo Database Backup

by arielmobvox
Backups structure and data from cake's database dbo datasources supported by Cake dbo package. Works with any cake dbo datasource, like MySQL, PostgreSQL, SQL Server, and others.

Usage

Clone from Git Hub: http://github.com/mobvox/Cake-Database-Backup

$ cake backup

To backup all tables structure and data from default datasource

Report

More on Plugins

Advertising

Comments

  • prakash posted on 05/08/11 04:40:50 PM
    Fixing:

    before foreach loop:

    $config = ConnectionManager::getInstance()->getDataSource($dataSourceName)->config;

    inside foreach loop:

    $table = str_replace($config['prefix'], '', $table);
  • prakash posted on 05/08/11 04:18:00 PM
    It doesn´t work with table prefixes
login to post a comment.