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)
-   -   how can I 'download' mySQL data to my HD? (https://gfy.com/showthread.php?t=569840)

Antonio 01-30-2006 08:35 AM

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

MickeyG 01-30-2006 08:37 AM

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

jjjay 01-30-2006 08:50 AM

http://www.vbulletin.com/docs/html/m...servers_backup

Antonio 01-30-2006 08:52 AM

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

MickeyG 01-30-2006 08:55 AM

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

kernelpanic 01-30-2006 08:57 AM

http://www.phpmyadmin.net/home_page/index.php

If you're not familiar with MySQL maintenence, then phpmyadmin is probably the tool for you.

Antonio 01-30-2006 09:04 AM

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 :thumbsup :thumbsup

willysbirthday 01-30-2006 09:14 AM

I'd pay your host to do it for you after putting "download" in quotes.

Antonio 01-30-2006 09:24 AM

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 :pimp

directfiesta 01-30-2006 09:27 AM

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 :2 cents:


All times are GMT -7. The time now is 06:49 PM.

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