Copy Files from Primary to Secondary
- Create a batch file with the following code:
echo off
robocopy /MIR /Z Z:\ {Activemq-Folder-on-secondary}\data\kahadb /xf Z:\lock > {log-file-name} (viz. aq home/data/activemq.log) robocopy /MIR /Z Y:\ {AE_HOME-folder-on-secondary}\ /xf Y:\conf\ae.properties Y:\conf\database.properties >> {log-file-name}
Substitute the place holders with appropriate folders on the Secondary.
- Run the bat file as a Windows schedule with appropriate repeat interval.