• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dbutil() problem

Hi guys,

I want to make a backup from 4 mysql tables of a database, but - while expecting 4 tables - I only get two of them...

The code I use for this is:

// Load the DB utility class

$prefs = array(
    'tables' => array('abstracts', 'users', 'payments', 'registrations'), // Array of tables to backup.
    'ignore' => array(), // List of tables to omit from the backup
    'format' => 'txt',
    'add_drop' => TRUE,
    'add_insert' => TRUE,
    'newline' => "\n"
// Backup your entire database and echo
echo $this->dbutil->backup($prefs);

As a result, I only get two tables. When I manipulate the array and remove the other three, so only one element is left, the sql string is displayed fine. So ther is nothing wrong with the tables.
I get approximately 5560 chars, no more (a size restriction can't be the reason I hope).

Many thanks for your help!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.