vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   sql backup made easy (https://vborg.vbsupport.ru/showthread.php?t=105633)

redspider 01-18-2006 12:33 PM

sql backup made easy
 
Just wanted to share a note with others. After trying to backup sql with putty, and having NO luck using the software because of not knowing how to use the commands or server shh were not working and given me an error no socket found message. I than tried with mysql panel and the data transfered was incomplete.

I found a program or script called mysqldump from an open source and is was free.
I backed up my sql and tranfered it to the new server, it was easy and I did not need to be a guru to use it

here the link if other want to use it :
click

FleaBag 01-18-2006 12:48 PM

Taking a look at this now. My current server is unreliable and old - I have a new one ready but I cannot dump my database as it is over 200mb in size. Hoping this works!

redspider 01-18-2006 01:07 PM

for me work well and did not time out is like burning a cd with under buffer protection LOL.

maroulis 01-18-2006 01:42 PM

Quote:

Originally Posted by redspider
I backed up my sql and tranfered it to the new server, it was easy and I did not need to be a guru to use it here the link if other want to use it :
click

I think it's easier to learn how to use PHPMyAdmin to do SQL dump than read GERMAN :)

redspider 01-18-2006 01:43 PM

sorry english version click

FleaBag 01-18-2006 03:55 PM

I saw the English version... ;)

phpMyAdmin does not work, it times out also - this is why I need to try this software - else my site is stuck on a dying server forever.

Guest210212002 01-18-2006 04:05 PM

I have a howto written for pretty much this exact thing. :) Check my sig.

https://vborg.vbsupport.ru/showthread.php?p=875820

redspider 01-18-2006 05:47 PM

Quote:

Originally Posted by FleaBag
I saw the English version... ;)

phpMyAdmin does not work, it times out also - this is why I need to try this software - else my site is stuck on a dying server forever.

I was getting error with putty and I did some search then I found mysqldumber and work awsome I already transfer my sql from one server to another no lost of data .

filburt1 01-18-2006 06:10 PM

mysqldump is a built-in MySQL program. I have it make daily automatic backups of my site's database via a cron job, completely transparently.

FleaBag 01-18-2006 10:44 PM

SSH doesn't seem to allow me to restore for some reason. Hence why I've reverted to PHP scripts. I'm doing a test dump using it now... Fingers crossed eh!

Guest210212002 01-18-2006 11:27 PM

Quote:

Originally Posted by filburt1
mysqldump is a built-in MySQL program. I have it make daily automatic backups of my site's database via a cron job, completely transparently.

[high]* Guest210212002 notes that anyone wondering how filburt does that should look at his how-to. :)[/high]

FleaBag 01-19-2006 10:52 AM

OK so I did the dump overnight. The database according to phpMyAdmin is 210mb... Thegzip of it is 51mb, the gunzipped file is 364mb. Does this sound right? As I've had some trouble with dumps creating databases 600mb in size/being corrupt.

redspider 01-19-2006 11:11 AM

did you try mysqldumper ?

FleaBag 01-19-2006 11:25 AM

That's what I did the dump with last night.

EDIT:

redspider you have saved my site! I'm eternally greatful. Reimported via SSH on the new server like a dream. I'll be donating to their project, only script that's managed to back up my database and I have tried many!

On a side note, phpMyAdmin says my 'collation' is 'latin1_swedish_ci'. My site certainly isn't Swedish. Is this going to be a problem?

redspider 01-19-2006 02:21 PM

Quote:

Originally Posted by FleaBag
That's what I did the dump with last night.

EDIT:

redspider you have saved my site! I'm eternally greatful. Reimported via SSH on the new server like a dream. I'll be donating to their project, only script that's managed to back up my database and I have tried many!

On a side note, phpMyAdmin says my 'collation' is 'latin1_swedish_ci'. My site certainly isn't Swedish. Is this going to be a problem?

I really dont know the anwser to that one but my guess is no.

all we need is someone to integrate this to vbulletin admin panel and this will make backup so easy for the non guru like me .

FleaBag 01-19-2006 03:06 PM

I don't think that will be allowed with the license they distribute under. But something of a similar logic would be a huge benefit. The tool included it useless on most servers with a medium to large database. I understand that SSH can solve the issue, but I have just had to move off a server that did not offer SSH - as a result I had a huge struggle getting the DB off the server. I will test the database later tonight when I finish work. :)

redspider 01-19-2006 08:03 PM

let me know if work good for you . Good luck !

FleaBag 01-20-2006 12:49 AM

It bloody worked!

redspider 01-20-2006 07:02 PM

I really happy for you. :)
all we need now is someone to make a hack that integrate this to vb .

tendo 02-03-2006 09:29 PM

this thing is awesome thanks for pointing me to it <3

redspider 02-03-2006 10:13 PM

the software have a option to create a .htaccess file or you can upload you own .

you can ask someone more advance how to create a .htaccess file my english not good enough to explain to you sorry.

tendo 02-03-2006 10:30 PM

yeah sorry i was being dumb hehe

redspider 02-03-2006 10:33 PM

no you not dumb everybody sometimes need help and here there some peeps that are willing to help with out try to give you a hard time .
so ask all you need . :)


All times are GMT. The time now is 02:58 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
  • Page Generation 0.01983 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete