Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

akalinowski (IS/IT--Management) (OP)
2 Mar 11 14:35
i'm kinda a newbie to MySQL (i've only dealt with MS SQL 2k and up)
is there a utility like DTS / SSIS that i can use to schedule import/export of data to an odbc connection or a csv file or will it all need to be done int  some script(Ruby,PHP etc)

problem is i know T-SQL and ANSI SQL and ColdFusion and that is the extent of my coding knowledge.

akalinowski
www.olivelabs.com

vacunita (Programmer)
2 Mar 11 15:30
You can schedule backups by using the mysqldump command line utility. It should be in the bin folder of the mysql installation.

You can setup a batch file that will dump your tables and data to a file in the format you require. It can eve dump the creation routines of your table, so you get a complete backup which you can feed to MYSQL and have your database and tables back up in very little time. http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
http://behindtheweb.blogspot.com/
 

DonQuichote (Programmer)
4 Mar 11 3:50
What do you want to achieve? If you want a backup, use the mysqldump utility as suggested above.

If you want to access the data from a script, you can connect to the database from the script. If you cannot (say, because the script runs on a disconnected laptop computer) or really want a CSV file, you can also use the command-line client, but you have to do some more work, as the -B option only produces tab-delimited output. You can the use (for instance) sed to convert it into CSV.

+++ Despite being wrong in every important aspect, that is a very good analogy +++
   Hex (in Darwin's Watch)

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close