JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Restore doesn't drop table and therefor can't impo (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Restore doesn't drop table and therefor can't impo
#3455
elmer (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Restore doesn't drop table and therefor can't impo 10 Months, 1 Week ago  
Exported ok, included 'Drop tables' as an option. If I look in the database-sql.sql file, the drop statements are in there:

# Table structure for table `jos_banner`
#
#
DROP table IF EXISTS jos_banner;
CREATE TABLE `jos_banner` (
...
...

However, when I try to restore the database on another host, it seems like it doesn't drop the tables and then it can't import any of the data as there already exists data. This is the error I get:

There were some errors while importing the database:
##Mysql Query:
########
CREATE TABLE `jos_banner` ( `bid` int(11) NOT NULL auto_increment, `cid` int(11) NOT NULL default '0', `type` varchar(10) NOT NULL default 'banner', `name` varchar(50) NOT NULL default '', `imptotal` int(11) NOT NULL default '0', `impmade` int(11) NOT NULL default '0', `clicks` int(11) NOT NULL default '0', `imageurl` varchar(100) NOT NULL default '', `clickurl` varchar(200) NOT NULL default '', `date` datetime default NULL, `showBanner` tinyint(1) NOT NULL default '0', `checked_out` tinyint(1) NOT NULL default '0', `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `editor` varchar(50) default NULL, `custombannercode` text, PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`));
########
##Error message: Table 'jos_banner' already exists


##Mysql Query:
########
INSERT INTO jos_banner VALUES ('1','1','banner','OSM 1','0','96','0','osmbanner1.png','http://www.opensourcematters.org','2004-07-07 15:31:29','1','0','0000-00-00 00:00:00','',''
########
##Error message: Duplicate entry '1' for key 1


This goes on and on and in the end no data is imported. What can be wrong?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Restore doesn't drop table and therefor can't impo
elmer 2007/12/06 20:29
    thread link
thread linkthread link Re:Restore doesn't drop table and therefor can't i
admin 2007/12/06 20:34
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2008!
Site powered by Joomla!