-
Thomas Maurel authored
Added a --drop option to allow us to automatically drop the target database on the target server if this one already exist. Added an --update option to be able to sync a database between two servers, This option do not use a temp directory and copy straight to the target database after having done a flush and lock. The update option uses rsync with checksum and update, so that we use checksum to know what tables have changed and then we don't overwrite newer tables in the target database. Please note that this option will only copy updated MYD and frm files, MYI files are excluded from rsync as we run an optimize on the target database after the copy
Thomas Maurel authoredAdded a --drop option to allow us to automatically drop the target database on the target server if this one already exist. Added an --update option to be able to sync a database between two servers, This option do not use a temp directory and copy straight to the target database after having done a flush and lock. The update option uses rsync with checksum and update, so that we use checksum to know what tables have changed and then we don't overwrite newer tables in the target database. Please note that this option will only copy updated MYD and frm files, MYI files are excluded from rsync as we run an optimize on the target database after the copy
Loading