Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Problem with character encoding after restore

$
0
0

Replies: 0

Hallo,

yesterday, we needed for the first time a backup due to a severe hardware problem on the server. Well, things did not go smoothly. I donwloaded the DB tar.gz file from my Dropbox account to my workstation.

1. Upload of the sql file via a client (HeidiSQL): The character encoding was wrong, and the restore did not work at all. This is a common problem after dowloading from a linux system to windows and back to linux.

2. Upload of the ZIP file via phpmyadmin: out-of-memory-error. We have 256 MB PHP RAM, but that was not enough.

3. Upload of the ZIP file via adminer: out-of-memory-error.

4. I uploaded the tar.gz file to the server and extracted it there. Then I restored the database via the SSH console (Putty). Bingo! That worked like a charm. No timeouts and no problems with character encoding.

Eventually, everything worked out really well. But this was far from a one-click-restore and far beyond what the average WP user could do.

The lesson: always test your backups under real-life conditions. Never rely on theory!

Any ideas on how to improve my workflow?

  • This topic was modified 16 minutes ago by MKJ2.

Viewing all articles
Browse latest Browse all 59525

Trending Articles