MySQL Forums
Forum List  »  Microsoft SQL Server

Re: Scheduling MSSQL Workbench to execute or export on a daily basis to MYSQL
Posted by: Milosz Bodzek
Date: March 04, 2016 03:39AM

Well it's pretty easy. First run migration wizard in MySQL Workbench and in 'Data Transfer Setup' step choose 'Create shell script to copy the data from outside of Workbench'. Open generated file and fill with source and target db passwords. To wbcopytables command you can add --resume parameter (if you want copying only new data) or --truncate-target (if you want delete all data and copy it again). After that save your file and write in command line crontab -e to edit your crontab file. Now write your crontab job like:
0 18 * * 1-5 /path/to/copy_migrated_tables.sh
That will copy your data on 6pm every weekdays. That's it.

--
Milosz Bodzek
MySQL Developer Tools

Options: ReplyQuote


Subject
Written By
Posted
Re: Scheduling MSSQL Workbench to execute or export on a daily basis to MYSQL
March 04, 2016 03:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.