Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2008, 03:57 PM
computerbar's Avatar
Pligg Donor
Pligg Version: 9.9.5
Pligg Template: yget,lemontwi
 
Join Date: Nov 2007
Location: UK
Posts: 79
Thanks: 32
Thanked 9 Times in 8 Posts
Restore Mysql Database from your Backup folder

Say you have made a backup of your database and it is about 50MB.
you can not upload/import more than 10MB in phpmyadmin
so how you do it?

I have just found out this BigDump today and thought would share it with you.

follow instructions below

download bigdump from here about 10Kb http://www.ozerov.de/pphlogger/dlcou...de/bigdump.zip

Unzip and you will find bigdump.php
open it with any text editor (notepad)

Find this and replace ENTER with your database details etc

// Database configuration

$db_server = 'ENTER';
$db_name = 'ENTER';
$db_username = 'ENTER';
$db_password = 'ENTER';

then Create the working directory (e.g. dump) on your web server and CHMOD it to 777.

Move/Upload bigdump.php and your dump files (.sql, .gz from pligg backup folder) via FTP to the working directory

Run the bigdump.php from your browser via URL like http://www.yourdomain.com/dump/bigdump.php

first click on Structure.sql and when it is done go back/start again with database.sql

It worked for me and took only 2 minutes.

full instructions and developer page
BigDump: The Staggered MySQL Dump Importer

hope it would help some pliggers
__________________
PeekLocal

Unmissable pligg Mods..
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
No Categories After File Backup Restore gen3ric General Help 2 08-22-2008 03:38 PM
My MySQL database kills host's cpu fightlinker Customization Assistance 32 07-24-2008 12:38 AM
Database restore failed. DuckFat General Help 4 03-09-2007 03:48 AM
Does the Backup function really backup the ENTIRE database? pligguser99 General Help 1 10-08-2006 07:47 PM
MySQL backup / restore failure beta5.8 gr8rcake General Help 0 01-23-2006 01:39 AM


Search Engine Friendly URLs by vBSEO 3.2.0