phpBB backup restore woes

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Arthur_Tuxedo
Sith Acolyte
Posts: 5637
Joined: 2002-07-23 03:28am
Location: San Francisco, California

phpBB backup restore woes

Post by Arthur_Tuxedo »

I tried uploading my zipped database via phpMyAdmin, and got this message:
Error message wrote:Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unclosed quote @ 91
STR: '
SQL:
INSERT INTO phpbb_search_wordlist (word_text, word_id, word_common) VALUES('�', '8159', '0');


SQL query:

INSERT INTO phpbb_search_wordlist (word_text, word_id, word_common) VALUES('�', '8159', '0');

MySQL said: Documentation
#1062 - Duplicate entry '?' for key 1
I had previously tried using bigdump.php, which said that it completed successfully, but didn't actually import anything.

This is getting ridiculous. There's no way it should be this hard just to restore a friggin' backup. Can someone please help me? I posted this on the phpBB forums this morning, and nobody even looked at it, much less responded.
"I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark." - Muhammad Ali

"Dating is not supposed to be easy. It's supposed to be a heart-pounding, stomach-wrenching, gut-churning exercise in pitting your fear of rejection and public humiliation against your desire to find a mate. Enjoy." - Darth Wong
User avatar
Arthur_Tuxedo
Sith Acolyte
Posts: 5637
Joined: 2002-07-23 03:28am
Location: San Francisco, California

Post by Arthur_Tuxedo »

I uploaded from scratch and it threw the same error.
"I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark." - Muhammad Ali

"Dating is not supposed to be easy. It's supposed to be a heart-pounding, stomach-wrenching, gut-churning exercise in pitting your fear of rejection and public humiliation against your desire to find a mate. Enjoy." - Darth Wong
User avatar
Arthur_Tuxedo
Sith Acolyte
Posts: 5637
Joined: 2002-07-23 03:28am
Location: San Francisco, California

Post by Arthur_Tuxedo »

Crisis averted. Managed to upload it using bigdump. The problem before was that I wiped it clean and therefore there was no config file. Anyway, it's working now. Thanks for the help. :)
"I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark." - Muhammad Ali

"Dating is not supposed to be easy. It's supposed to be a heart-pounding, stomach-wrenching, gut-churning exercise in pitting your fear of rejection and public humiliation against your desire to find a mate. Enjoy." - Darth Wong
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

In future, remember that phpmyadmin does not handle very large files well. With a huge DB like mine (which is pushing 3 GB before compression, and more than 600MB even with bzip2 compression), it would be insane to even attempt to upload it through phpMyAdmin.

Eventually, any phpBB admin (or an admin of any large database-driven content) must learn how to work the command-line for uploading and backup/restore of database contents.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Arthur_Tuxedo
Sith Acolyte
Posts: 5637
Joined: 2002-07-23 03:28am
Location: San Francisco, California

Post by Arthur_Tuxedo »

Well, I'm hoping to put off having to do that for as long as possible. :) I at least have the basics down, now, even though I wasn't able to successfully upload a database using SSH.
"I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark." - Muhammad Ali

"Dating is not supposed to be easy. It's supposed to be a heart-pounding, stomach-wrenching, gut-churning exercise in pitting your fear of rejection and public humiliation against your desire to find a mate. Enjoy." - Darth Wong
Post Reply