473,372 Members | 924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

BackUp Tables from MySql in ASP

Happy new year.
I am looking for code that will go through all tables in MYSQL db and
transfer records into text or excel files.
Thanks
Jan 1 '07 #1
3 1918
The MySQL Server should have it's own ability to do that, just like MS SQL
Server does. It should be able to do it on a schedule. Then you just copy
the "backup file" somewhere safe or burn it to disk or whatever. The right
solution is not ASP or text files or excell.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------

"Michael" <mi**************@intergraph.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Happy new year.
I am looking for code that will go through all tables in MYSQL db and
transfer records into text or excel files.
Thanks

Jan 2 '07 #2
Hi Philip. thank you for respond. I am trying to provide to my customer
solution that will store the backup somewhere on shared hosting place or
local machine, so I don't think he will have access for maintenance of DB,
also I am very like to provide transparent solution, I mean - pressing
button in admin area the process will be running and store files on server
or on local machine. So my point to make script that will be initialized by
user. I know the php with cron can do it, but ASP does not. After that the
admin will be responsible for restore process from these files. My
experience tells me do not trust only on server abilities. Thanks again
Michael
"Phillip Windell" <@.wrote in message
news:Og**************@TK2MSFTNGP04.phx.gbl...
The MySQL Server should have it's own ability to do that, just like MS SQL
Server does. It should be able to do it on a schedule. Then you just copy
the "backup file" somewhere safe or burn it to disk or whatever. The
right solution is not ASP or text files or excell.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------

"Michael" <mi**************@intergraph.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>Happy new year.
I am looking for code that will go through all tables in MYSQL db and
transfer records into text or excel files.
Thanks


Jan 2 '07 #3
"Michael" <mi**************@intergraph.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
admin will be responsible for restore process from these files. My
experience tells me do not trust only on server abilities.
My experience is to not trust the ASP. The server doing it's own thing
independent of the ASP is the most dependable. The Backup file can be
stored in a location reachable from the site,...the file can be downloaded
by the customer with a simple link if they are wanting to store their own
copy of the backup file. I know of no way to backup the database using ASP
nor do I know of any way to restore from the backup copy without the
customer sending you the file and having you restore it yourself. These are
functions unique to the type of Database Server you are using and are part
of what it does, not what the web server does. There may be a way,...but it
is way beyond me.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------

Jan 2 '07 #4

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

Similar topics

3
by: James | last post by:
HI, I'm looking for a script that will allow users/admins to have a one click backup solution for a MYSQL Database.. 'BACK DATABASE' button, click and its done... The a restore option, that...
6
by: Mosher | last post by:
Hi all, I am wanting to automatically do dump of a mysql database nightly using cron and some kind of script that will email the whole db structure to me (as an attachment or as plain text in my...
0
by: Jean Hagen | last post by:
Hi, I'm a new user of MySQL on Linux. I have been an Oracle DBA; and know that anyone familiar with Oracle takes backup procedures very seriously.... Anyone have recommendations for nightly...
2
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
3
by: Reuben Pearse | last post by:
Hi all, I've just converted the tables in a big database (approx 27 million records) from MyISAM to InnoDB. When I was using MyISAM I backed up the database by stopping MySQL and then copying...
2
by: Raffi | last post by:
I use the --all-databases switch to backup my entire database. Sometimes there's a need to restore individual databases or tables form the backup file. What command should I use for this? ...
1
by: Rajesh Kapur | last post by:
I have about 20 databases in a single MySQL instance running 4.0.21 on RHEL3. I have a healthy mix of MyISAM and InnoDB tables. Howerver these two types do not mix within a single database. A...
0
by: newman | last post by:
Dear all, I have mysql 4.1.11 on my current server, i need my database restore another server.. (another server mysql version is 4.1.11 same.) And now... I just created new my database to new...
2
by: GS | last post by:
Implemented web application using MySQL to maintain inventory of the office PC's/laptops/Routers/hubs and other stuff, here we are using MySQL as back-end Database on Linux Operating system. I need...
2
by: Ben | last post by:
Hi at all, I read this contribute on www.php.net about backup of mysql databases and/or tables using PHP system function with this script I tryed to write a custom script to save only one...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.