Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-24-2004, 02:58 PM   #1 (permalink)
Inactive
 
Join Date: 10-29-03
Posts: 249
iTrader: 0 / 0%
Latest Blog:
None

Limit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the rough
MYSQL Database Backup Scripts

Do any of you know where i can find a script that will allow me to back up a whole mysql database as a sql file?
Limit is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-24-2004, 03:09 PM   #2 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
phpMyAdmin does it
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-24-2004, 03:13 PM   #3 (permalink)
Inactive
 
Join Date: 10-29-03
Posts: 249
iTrader: 0 / 0%
Latest Blog:
None

Limit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the rough
I know that lol.

Is there a way you can do it with a php page as one of my clients doesn't really know how phpmyadmin works.
Limit is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-24-2004, 04:49 PM   #4 (permalink)
Inactive
 
Join Date: 01-12-04
Posts: 999
iTrader: 0 / 0%
Latest Blog:
None

Emancipator is a jewel in the roughEmancipator is a jewel in the roughEmancipator is a jewel in the roughEmancipator is a jewel in the roughEmancipator is a jewel in the roughEmancipator is a jewel in the rough
Send a message via MSN to Emancipator
what value is it to him if he cant even use phpadmin? Or are you going to do an import function as well?

I have never done it, but it most certainly can be.
Emancipator is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-24-2004, 07:06 PM   #5 (permalink)
v7n Mentor
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,021
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
Set up a cron job that runs the following command

[code:1:00e14b2720]mysqldump -u(username) -p(password) (databasename) > (pathtofilelocation)(filename.sql)[/code:1:00e14b2720]

So lets use this format using the following peramiters

Username: JohnSmith
Password: Toga
Databasename: FratHouse
Path to File location: /home/JohnSmith/
Filename: Brothers.sql

[code:1:00e14b2720]mysqldump -uJohnSmith -pToga FratHouse > /home/JohnSmith/Brothers.sql[/code:1:00e14b2720]

This will do a mysql dump of the FratHouse database that has been setup with the user permissions of JohnSmith and a password of Toga and place the sql dump in the home directory of JohnSmith.

THen just set the cron job peramiters to run as frequent as you want. If you want to really get complex then you can add some time/date variables to the filename so that the filename is created with a time/date stamp in the filename so when the cron job runs again it does not overwrite the previous file.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-24-2004, 07:42 PM   #6 (permalink)
sim
Banned
 
Join Date: 01-23-04
Posts: 2,367
iTrader: 0 / 0%
Latest Blog:
None

sim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nice
Cant you make backup's from your sql panel? I think its on my host.
sim is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-25-2004, 03:44 AM   #7 (permalink)
v7n Mentor
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,021
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
Yes but that would not be automated.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB 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
mySQL backup yzerfontein Coding Forum 5 05-28-2007 12:12 AM
database backup on Godaddy Dustin07 Web Hosting Forum 5 03-14-2007 08:17 AM
MySQL backup ref: INSERT INTO Woody Coding Forum 4 08-10-2006 09:03 AM
Phpbb database backup Clark Web Design Lobby 5 06-23-2005 10:52 PM
How often do you backup your database? Pinyo Web Design Lobby 1 08-20-2004 12:01 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:41 PM.
© Copyright 2008 V7 Inc

Click Here