Best way to backup/restore?

mrweaver - June 17, 2009 - 13:19

I use the dba module to create sql backup files. But, these files won't install as backups because of crap like this:

'tablename" varchar(255) NOT NULL default '                                                                                                                                ';

I have to go into every outputed create database statement and remove these spaces. It's a pain in the ass. Is the backup module better?

What is the best Drupal way of backing up a database? I'm no database administrator, which may be obvious. I need to learn a better way.

thanks

mrweaver

I use either phpmyadmin which

Ascenti0n - June 17, 2009 - 13:52

I use either phpmyadmin which is commonly available or I use Navicat 8. Both are very capable of creating SQL dumps and restores.

WTF are all of these spaces anyway?

mrweaver - June 17, 2009 - 15:15

I just tried the backup and migrate module, with no success. What are all of these spaces that are inserted in the create statements for the database tables? They aren't even in the data.

Finished products are for decadent minds. -- Isaac Asimov

 
 

Drupal is a registered trademark of Dries Buytaert.