473,683 Members | 3,573 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php program to backup/restore mysql database?

I'm looking for a PHP program to backup and restore a mysql database.

I'm using Godaddy to host a forum. Their mysql control panel will only
restore a database of two megabytes or less. My database is over 13
megabytes in size.

Aug 1 '07 #1
4 4061
On Wed, 01 Aug 2007 16:53:03 +0000, Bootstrap Bill wrote:
I'm looking for a PHP program to backup and restore a mysql database.

I'm using Godaddy to host a forum. Their mysql control panel will only
restore a database of two megabytes or less. My database is over 13
megabytes in size.
The MySQL client software includes mysqldump which will backup and restore
any MySQL database.

(Hope no one minds me answering a MySQL question in this group)
Aug 1 '07 #2
Rik
On Wed, 01 Aug 2007 19:11:07 +0200, Ivan Marsh <an*****@you.no wwrote:
On Wed, 01 Aug 2007 16:53:03 +0000, Bootstrap Bill wrote:
>I'm looking for a PHP program to backup and restore a mysql database.

I'm using Godaddy to host a forum. Their mysql control panel will only
restore a database of two megabytes or less. My database is over 13
megabytes in size.

The MySQL client software includes mysqldump which will backup and
restore
any MySQL database.

(Hope no one minds me answering a MySQL question in this group)
Well, he asks for a PHP-script, which is on-topic, you give a MySQL
answer, which is also valid (pointing out other things are better for some
purposes then PHP is) :P . Would the OP ask _how_ to use mysqldump it gets
offtopic...

I doubt Godaddy give him access to mysqldump BTW, so quite probably the
solution will be PHP.

I'm sure there are 'out of the box' scripts around which do what the OP
wants. Don't know them though.
--
Rik Wasmus
Aug 1 '07 #3
On Wed, 01 Aug 2007 19:25:51 +0200, Rik wrote:
On Wed, 01 Aug 2007 19:11:07 +0200, Ivan Marsh <an*****@you.no wwrote:
>On Wed, 01 Aug 2007 16:53:03 +0000, Bootstrap Bill wrote:
>>I'm looking for a PHP program to backup and restore a mysql database.

I'm using Godaddy to host a forum. Their mysql control panel will only
restore a database of two megabytes or less. My database is over 13
megabytes in size.

The MySQL client software includes mysqldump which will backup and
restore
any MySQL database.

(Hope no one minds me answering a MySQL question in this group)

Well, he asks for a PHP-script, which is on-topic, you give a MySQL
answer, which is also valid (pointing out other things are better for
some purposes then PHP is) :P . Would the OP ask _how_ to use mysqldump
it gets offtopic...
I use a PHP script that runs mysqldump in the background.
I doubt Godaddy give him access to mysqldump BTW, so quite probably the
solution will be PHP.
I assumed Godaddy was a PHP script he was using for backup... I'm take it
that's a host service?
I'm sure there are 'out of the box' scripts around which do what the OP
wants. Don't know them though.
Could take a look at this:
http://www.fluffycat.com/SQL/MySQL-D...ckup-With-PHP/ (Assumes you
can write a file to the host system.)
Aug 1 '07 #4
NC
On Aug 1, 9:53 am, "Bootstrap Bill" <ad...@NOSPAMfa bsboards.com>
wrote:
>
I'm looking for a PHP program to backup and restore a mysql database.

I'm using Godaddy to host a forum. Their mysql control panel will only
restore a database of two megabytes or less. My database is over 13
megabytes in size.
Pure PHP is not likely to help you. The reason you are having issues
is that the size of browser-based upload on your server is low (but if
it were higher, you could be facing timeout issues instead). So what
you need is a desktop database management program with HTTP tunneling
functionality. Here are a few links to products that have this
functionality:

http://www.webyog.com/en/sqlyog_tunneling.php
http://sqlmanager.net/products/mysql/manager/
http://www.navicat.com/feature.html

Each of these products includes a PHP script that you place on your
server. After you do that, you can manage your remote database from
your desktop.

Cheers,
NC

Aug 1 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2570
by: Dave Moore | last post by:
Hi All, I'm looking at using PHP and MySQL for a particular website application. However, I was a bit concerned that if a PHP script went wrong then it would be possible to accidentally delete or overwrite large chunks of the data in the database which presumably would then be lost. What is the usual procedure for these situations?. Is it possible to back up a database somehow so that data from a previous time can be retrieved?. Ta,...
2
2233
by: Thomas Bartkus | last post by:
Is it safe to say that restoring the directory from a backup would that restore all database data and structure? All usr/pwd and GRANT info? Thomas Bartkus
1
751
by: heeheelim lim via .NET 247 | last post by:
i currently has an backup of a database (called ybam) in a sql script (called c:\20053131028.sql)... now i want to create a button where an user can restore the ybam database by click on restore button on the vb .net form.... what should i code in the button.... thank you very much.... ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>uDJI1ld7pkGvN6j+yhJC+A==</Id>
2
3079
by: Vikrant | last post by:
Friends, I have read DB2/UDB 8.x 'RESTORE DATABASE Command', with my 'limited' knowledge & skill. I think it should address my concern, but I want advice/ opinion / experience and any care I must take to restore DB2/UDB 8.x database 64 to 32 bit). (1) Due to hardware limitaion I can not have 64 bit DB2/UDB 8 on AIX 4.3.3 host. Let us call this as host vhost32. I can migrate 7.2EE FP11 32bit to 8.x 32 bit on vhost32. This is my test...
4
3804
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but my concern is, such big size db, I'm afraid something unexpected will destory all the effort. Who have related experience? Can you give some advice? Thanks in advance:)
1
1525
by: G. Dean Blake | last post by:
How can I backup and restore a SQLServer DB from a .net VB program? Thanks, G
6
27945
by: javelin | last post by:
I'm having difficulty searching for an answer to this challenge. Can someone give me a clue on the right keywords to use to find a discussion on this subject? All of the ones I saw appear to touch on older versions. I'm working with SQL Server 2000, and need to backup and restore only tables, because the full backup/restore appears to mess up users/security, or something or another. Thanks for the assist.
1
1850
by: peggitt | last post by:
I need help. I need code to connect my java program with a mysql database hosted by an internet service provider(domain). The java program should run locally but read and write to a database on the web
0
1188
by: Acm | last post by:
I am working with Python 2.5 and Postgresql 8.2.4. I would like to know how to perform the backup and restore operations on postgresql through a python API (e.g. psycopg2). Thank you.
0
8922
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8753
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8771
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7582
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6429
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2934
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2195
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.