Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-30-2006, 08:35 AM   #1
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
how can I 'download' mySQL data to my HD?

I have a site that uses mySQL, the host says that they make back-ups but just to be on the safe side, how can I back up all the data which is in a mySQL table?

I'm looking for something simple and painles, like 'click here', 'press that button' and voila
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 08:37 AM   #2
MickeyG
Confirmed User
 
Join Date: May 2004
Location: South Florida
Posts: 4,134
Check out mysqldump, it creates a text file with everything you need to recreate your database.

Easy fix is to setup a crontab that runs this daily and emails / ftp's you a copy every day.

http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html
MickeyG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 08:50 AM   #3
jjjay
Registered User
 
Join Date: Jun 2005
Posts: 1,813
http://www.vbulletin.com/docs/html/m...servers_backup
jjjay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 08:52 AM   #4
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by MickeyG
Check out mysqldump, it creates a text file with everything you need to recreate your database.

Easy fix is to setup a crontab that runs this daily and emails / ftp's you a copy every day.

http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html
thanks checking out the site now, looks a bit scary with all the commands and shit, but I'll figure it out
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 08:55 AM   #5
MickeyG
Confirmed User
 
Join Date: May 2004
Location: South Florida
Posts: 4,134
Quote:
Originally Posted by Antonio
thanks checking out the site now, looks a bit scary with all the commands and shit, but I'll figure it out
the link jay posted shows a basic example of the commands

mysqldump --opt -Q -uUSERNAME -p DATABASENAME > /PATH/TO/DUMP.SQL
MickeyG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 08:57 AM   #6
kernelpanic
Too lazy to set a custom title
 
Join Date: Jan 2005
Posts: 2,961
http://www.phpmyadmin.net/home_page/index.php

If you're not familiar with MySQL maintenence, then phpmyadmin is probably the tool for you.
kernelpanic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 09:04 AM   #7
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by MickeyG
the link jay posted shows a basic example of the commands

mysqldump --opt -Q -uUSERNAME -p DATABASENAME > /PATH/TO/DUMP.SQL
ok, so I basically have two options, I can either Telnet/SSH to the server and do this manually or set a cron job and make back-ups once a week (or wahtever period I decide on)

ok, thanks guys I'll give it a try later on, and see how it works
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 09:14 AM   #8
willysbirthday
Confirmed User
 
Join Date: Feb 2004
Location: balmer
Posts: 436
I'd pay your host to do it for you after putting "download" in quotes.
__________________
oOooooooOOo
willysbirthday is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 09:24 AM   #9
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by willysbirthday
I'd pay your host to do it for you after putting "download" in quotes.
c'mon man, looks like a piece of cake
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2006, 09:27 AM   #10
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,680
Some people like to complicate siimple things ...

SSH ??? Telnet ?? to dump a mysql db ...

Do you have a Control Panel ( Cpanel, Exim, Plesk ). If yes, look for MySql and/or PhPmyAdmin.

If not, change host... will save you further questions like this, such as cronjobs
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.