We could not make this feature ready in FWH 17.02.
If you like to help by testing this new feature, we would be glad to send revised libs to you by email for your testing and feedback.
If interested, please send email to me
nageswaragunupudi [at] gmail [dot] com
#include "fivewin.ch"
function Main()
local oCn
oCn := mysql_Connect( "localhost", "fwh", "gnrao", "secret" ) // DB selected is FWH
oCn:BackUp( NIL, "c:\mysqlbackups\" )
return nil
Build this exe in c:\fwh\samples folder.
Now use Windows TaskSheduler to run this program every night at 03:00 AM silently using SYSTEM user account.
Every morning this program creates a new folder with the weekday name and creates a backup in that folder. Exampple
c:\mysqlbackups\monday\fwh.sql
c:\mysqlbackups\tuesday\fwh.sql
etc.
I use MariaDB/MySql Backup with great satisfaction .
Now I have two SQL Server databases. One is client and the second is on the server .
I use MariaDB/MySql Backup for the backup on the server , and MariaDB/MySql Restore on the client.
I saw that with mysqldump you can do it in one operation :
mysqldump --host=127.0.0.1 --port=3306 -uxxx -px mastronipe arti | mysql --host=192.168.0.254 --port=3306 -uxxxx -pxxxx mastropalmare
can you do the same with MariaDB/MySql Backup ? or there is a better way to replicate 2 databases ?
You can use the same backup/restore for any mysql/mariadb database whether your main application uses ADO or FWMariaLibs or any other libs like Dolphin,etc.
But this logic is not at all useful to any other database like MSSQL., Oracle, etc.