tiki-backup.php is completely broken. Do NOT use.

Status
Closed
Subject
tiki-backup.php is completely broken. Do NOT use.
Version
1.9.x
Category
  • Error
Feature
~Backup
Resolution status
Won't Fix
Submitted by
Marc Laporte
Volunteered to solve
Marc Laporte
Lastmod by
Marc Laporte
Rating
(0)
Description

On a clean install, I make a backup via tiki-backup.php All seems well.

However, when I try to restore:

Image
Copy to clipboard
Warning: mysql error: 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 '��I�!��m3.�ָb���J�:A�޷7�Y��|���C��O�' at line 1 in query: ��I�!��m3.�ָb���J�:A�޷7�Y��|���C��O� in lib/tikidblib.php on line 134


It seems to be caused by the special characters in the encryption of the .sql file


Broken site shows:

Image
Copy to clipboard
Notice: this site is currently unavailable. Please try again later or contact the admin.
Solution
Use TRIM
Importance
7
Priority
35
Demonstrate Bug (Tiki 19+)
Please demonstrate your bug on show2.tiki.org
 About show2.tiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.

Version: Create show2.tiki.org instance
Demonstrate Bug (older Tiki versions)
Please demonstrate your bug on show.tikiwiki.org
 About show.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.

Version: Create show.tikiwiki.org instance
Ticket ID
1287
Created
Friday 10 August, 2007 07:32:34 GMT-0000
by Unknown
LastModif
Friday 15 January, 2010 04:41:51 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


The original document is available at https://dev.tiki.org/item1287-tiki-backup-php-is-completely-broken-Do-NOT-use