Jump to content

Backup MySQL


 Share

Recommended Posts

Hi there everyone ...

I want to make a program that will save the files and database of my website. But I have no idea how to do that in autoit.

Can some one help me with some clues !? Or some examples ?

The program must save the files and DB on the computer that executes the .exe or even on a FPT server.

Thank a lot :(

Link to comment
Share on other sites

Can't you go with classical tools, like this?

Else you might have a chance using ProgAndy's mySQL UDF found using the search feature.

Edited by jchd

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Your 2 Link is not working ..

And i know there are a lot of programs out there that can do the job, but I'd like to make'it my self and I just need a little help.

I don't want others to make it for me but I was asking on the forum so I could get some clues about how to do'it ...

I'll try using un UDF for the mysql and I'll need on for FTP also.

It can be a nice project to do :)... :(

Link to comment
Share on other sites

I've corrected the link. I don't run mySQL myself so I won't be able to help you on this. Sorry.

If you run into problems with this UFD, try asking your questions in the Example Scripts forum in the mySQL thread.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

If you have physical access to the server mySQL is installed, you might look at automating the mysqldump utility.

Documentation about mysqldump can be found here.

This snippet is what I use to backup my mySQL databases

$mysqlCommand = "mysqldump " & $databaseToBackup & " > " & $fullPathToPlaceBackup   
RunWait(@ComSpec & " /c " & $mysqlCommand, "", @SW_SHOW)
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...