2012-04-07, 06:40 PM
I have a test copy of my forum http://rantcentral.hostoi.com on localhost. I'm using WampServer to test various plugins, upgrades or themes before the go on my live site.
I recently thought about the possibility of losing the data on my small forum (over 12,000 posts and other data). I figured it would be good to learn how to restore my forum from the database backups I have been keeping.
When I try to import these backups into my localhost database, I receive an error. These are the steps I took and the error message I received:
I am restoring the database in two passes (structure then data) because I was getting errors for the database to be restored being too big (8MB is my limit) so I broke them up to avoid that limitation.
Any help would be appreciated because I fear that should something happen to my forum I would not be able to restore it.
Thanks in advance.
I recently thought about the possibility of losing the data on my small forum (over 12,000 posts and other data). I figured it would be good to learn how to restore my forum from the database backups I have been keeping.
When I try to import these backups into my localhost database, I receive an error. These are the steps I took and the error message I received:
- Renamed old database from mybb to mybb1 (I have a test database with dummy posts on the localhost site)
- Created new database named mybb
- Imported the structure-only backup I made of my forum
- Import the data-only backup I made of my forum-
received this error message:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
I am restoring the database in two passes (structure then data) because I was getting errors for the database to be restored being too big (8MB is my limit) so I broke them up to avoid that limitation.
Any help would be appreciated because I fear that should something happen to my forum I would not be able to restore it.
Thanks in advance.