GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   MySQL Backup - How you do it? (https://gfy.com/showthread.php?t=690815)

Pimpin_J 12-29-2006 02:16 AM

MySQL Backup - How you do it?
 
Just tried it with PhpMyAdmin but it seems like the database is a way to big. 300mb++ So the browser times out. Aint got shell access, so is there any other remote tool who can handle this?

Nookster 12-29-2006 02:18 AM

easiest way i've found if you have a large database is code your own. you can code one relatively quick with php + mysql commands. :2 cents:

tical 12-29-2006 02:22 AM

phpmyadmin should have an export option, 300mb should be fine

if u can get shell access use mysqldump

edgeprod 12-29-2006 02:30 AM

That's VERY odd that it times out on 300MB. I exported a 2TB database onto a Webair server, and it was fine.

Lucky I did, too, because the farm (well, only 5 servers, so mini-cluster) at Candid Hosting shit the bed shortly thereafter. Cost me thousands and thousands in downtime and lost data for some of the other sites, but luckily, they gave me .. uh .. $130 back, I think. *grumble*

DomP_nl 12-29-2006 03:33 AM

Mysqldumper is your friend

Adultnet 12-29-2006 03:36 AM

Quote:

Originally Posted by DomP_nl (Post 11611699)

yeah should do the work..:)

studiocritic 12-29-2006 03:43 AM

if you have shell access, just do mysqldump -u[username] -p -D [databasename] > [databasename].sql

so like

mysqldump -uroot -p -D gfy > gfy.sql

then it'll ask for root's pass, enter it

it'll write a file called gfy.sql, that will include all the commands to recreate the db. gzip it up to make it smaller if u want

edgeprod 12-29-2006 03:45 AM

Quote:

Originally Posted by studiocritic (Post 11611760)
if you have shell access, just do mysqldump -u[username] -p -D [databasename] > [databasename].sql

so like

mysqldump -uroot -p -D gfy > gfy.sql

then it'll ask for root's pass, enter it

it'll write a file called gfy.sql, that will include all the commands to recreate the db. gzip it up to make it smaller if u want

Stop, you're turning me on.


All times are GMT -7. The time now is 01:46 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123