1.3.7 backup restore

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

1.3.7 backup restore

Post by AndrewB »

I have a backup with my 1.3.7 system

My Categories became messed up

The restore failed to insert many records

I read here that 1.3.7 "Restore ist buggy!"

My Question:

1. Should I manually add all the records that failed to restore in my 1.3.7 system?

OR

2. Should I upgrade to 1.3.8.beta and then try a restore?
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

I have taken a look at the exported data. Is the problem with the single quotes in the data?

Do I have an option 3. Edit the phpmyfaq-data.2003-10-12.sql file and replace the single quotes in the insert statements with 2 single quotes?

I might give this a try...
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

well. replacing the \' with \'' did not seem to help unless I messed up some way. Less where restored
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

OK.

Option 4.
- Go into phpMyAdmin and delete all the data from the tables
- Cut and paste the Insert rows from the backup file into phpMyAdmin and execute the SQL
- this seems to insert the data correctly :)

Double checking to see if all OK!
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

I have now got all 198 FAQs restored..

I have also since upgraded to 1.3.8-dev

And taken a backup using 1.3.8-dev. So, can I trust this backup to restore if I need it? Is there anyway to test this without dropping all my tables in a real restore?

I guess I can either trust the restore or build myself a Test FAQ system in my database... Sounds like fun :)
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you can trust the backup file since 1.3.8-dev. The import is bugless since the upcoming 1.3.8 beta2.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

I know :) I trust you Thorsten
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

AndrewB wrote:I know :) I trust you Thorsten
Sometimes, this is a bug fault... 8)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply