![]() |
Backing up with Mysqldumper
I'm trying to use Mysqldumper to backup my database, but it only makes a 8mb file everytime i run it, while my database is 40mb.
How do I make it do the full backup? |
How are you backing up? Through the browser or crontab?
|
Through the browser. I don't know how crontab works
|
I suggest you ask at the support site for the software you are using.
|
Does the browser say dump finished when it finishes backing up (at the bottom of the page)?
|
I can't see dump finished when the backup has ended. Here's what I get when it has finished:
Code:
http://i15.tinypic.com/8bqzfwh.gif My database details: 139 Tables, 81737 Records, 42.29 MB I haven't touched any of the default settings, apart from directory protection |
You do realize that is a compressed file, uncompress the backup file and import it into a "NEW TEST DB" and compare it to your live site.
|
Yep, the dump should be complete. It's just compressed, that's why it's smaller.
|
Alright, when I unzipped it, it went on the 40megs. Thanks guys.
I've got another problem though. The backup was made from a 3.6.8 live board and I've installed 3.7 b3 on my local machine. However, when I try to restore the database to the 3.7 installation from mysqldumper, I get some errors, like that: Quote:
Quote:
|
Do your members post non-English characters?
|
The characters you are seeing are what happens when you do a dump of non text data from the database (in this case avatar pictures). There are a couple of solutions.
1) Toggle the settings in your ACP so that all images are stored on disk instead of in the database. This will remove the need for the avatar table altogether 2) I have never used mysqldumper, but the program it is based on (mysqldump) allows you to set --hexblob so that binary data is hex encoded (removing the weird characters, and most importantly the quotes). I assume mysqldumper will do the same. |
I've read in other posts on the forum that mysqldumper and other php backups will also cause this problem.
Apparently the best way to avoid this problem is to restore by SSH. Would someone be kind enough to guide me through this process? I'm using Putty on XP Pro and want to restore the database on my local machine. |
|
All times are GMT. The time now is 08:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|