backup problem

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
rboulle
Posts: 7
Joined: Mon May 16, 2005 7:53 am
Location: Toulouse
Contact:

backup problem

Post by rboulle »

Hi,

When i backup my faq, i get a file (eg : phpmyfaq-data.2005-10-12.sql). When i try to upload it (without modifying it) I get the message : it doesn't seem to be a phpmyfaq backup file. I am using 1.5.2

I posted something about this problem before but, i would like to know if this problem is solved with version 1.6 ?

Thanks for your help and your great job !
Rémi.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this is a known bug and the fix will be included in 1.5.3 coming this weekend.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

or you can ...

Post by jazcyk »

use another backup tool!
rboulle
Posts: 7
Joined: Mon May 16, 2005 7:53 am
Location: Toulouse
Contact:

Post by rboulle »

Hello,

Wich one so ?

The matter is that I use a python script to convert a *.tex file into a phpmyfaq_backup.sql file.

That way I work on my *.tex file (that allow me to produce *.pdf or *.ps or *.html files) and from times to times, i stuff the faq with my *.tex file using a script.

If anyone has got a better idea, that would be great !
Thanks a lot.
Rémi.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the backup/restore tool in phpMyFAQ works quite nice in version 1.5.3.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rboulle
Posts: 7
Joined: Mon May 16, 2005 7:53 am
Location: Toulouse
Contact:

Post by rboulle »

Hi Thorsten,

Yes I upgrade my version to 1.5.3. It works fine for me !

I just need to modify all my scripts converting a *.tex file to a *.sql one

If you have any documentation about how the backup.sql files are created (kind of specifications) I would be interested.

Thanks a lot.
Rémi.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the creation is quite simple. I take all records and build INSERT statements. At the beginning of the file I add a marker to check if the file is a phpMyFAQ backup file.

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