In order to display the backup execution progress in the user application, in T-SQL command BACKUP DATABASE, set a value, such as 10, for option STATS. Now, during the execution of each 10% of backup, SDAC will receive info messages from SQL Server, which can be processed in the TMSConnection.OnInfoMessage event handler. To do this, in the code you provided, replace the line 
Code: Select all
BakUpQuery := 'BACKUP DATABASE ['+DBName+'] TO  DISK = N'''+BakUpFile+'''';
with
Code: Select all
BakUpQuery := 'BACKUP DATABASE ['+DBName+'] TO  DISK = N'''+BakUpFile+'''' + ' WITH STATS = 10;';
For more information on BACKUP DATABASE, please refer to MSDN: 
https://msdn.microsoft.com/en-us/library/ms186865.aspx
The TMSDump component is used to create a T-SQL script of a backup - it does not allow to create a backup in bak format of SQL Server. For more information on TMSDump, please refer to our online documentation: 
https://www.devart.com/sdac/docs/?devar ... msdump.htm