TMyBackup

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ashlar64
Posts: 75
Joined: Thu 04 May 2006 18:56

TMyBackup

Post by ashlar64 » Tue 12 Dec 2006 20:09

Hello,

I am using the TMyBackup component. My MySQL server is running on a Liunx box. I have a directory that I would like to have the backup of all my tables placed in. /backup/ (I put this in the Path property of the component)
I have changed the permissions on this directory to all (777).

I have set the Mode property to tmText and left the other properties to default.


Now it makes backups of all my tables but it doesn't put it int he correct directory...in fact it renames the files to something like:

/backup/Scheduler <--- thats the actual filename and not a directory path and filename

Is this a slight bug?


Also is there a way to confirm that the backup is identical to the whats in the database?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 14 Dec 2006 12:37

Please check if the correct SQL statements are sent to MySQL Server. You should set the Debug option of TMyBackup to True and add MyDACVCL unit to the uses clause to backtrace all SQL statements sent to the server by TMyDump.

Post Reply