Page 1 of 1

MyDump Abort

Posted: Tue 11 Feb 2014 15:34
by cybsistemas
as I can abort mydump.backuptofile
Mydac 7.6.12
for now I do the following

MyDump1BackupProgress
begin
ProgressBar1.Position := percent;
Application.ProcessMessages;
If abortar then
MyDump1.Objects := [];
end;

Re: MyDump Abort

Posted: Wed 12 Feb 2014 16:32
by AlexP
Hello,

MyDump doesn't provide for breaking the backup process. For this, you can either use the code you have provided or instead of that just call the Abort method in the onBackupProgress event.

Re: MyDump Abort

Posted: Thu 13 Feb 2014 13:04
by cybsistemas
The method you use, it aborts when it finishes copying the table in progress. If someone comes up with something to abort before...

Re: MyDump Abort

Posted: Mon 17 Feb 2014 11:48
by AlexP
For the time being, there is no way to break the backup process, we will consider the possibility to such functionality in one of the next versions.