Just as a reminder, Daisy keeps application and data completely separated, so you have:
See the Daisy installation instructions for a nice figure showing all this.
You can either copy the Daisy installation directory from the current machine or download the Daisy archive again. In the last case, use the same Daisy version (see notes below) and do not use the Windows installer (see notes below). Just extract the archive.
If Java is not yet installed on the target machine (try executing java -version), do so.
Copy the repository data directory and the wiki data directory to the target machines. You will probably want to zip them to move them over as that will be more efficient and less error-prone.
If necessary, install MySQL on the target machine.
Move over the daisyrepository and activemq databases. This can be done using the mysqldump and mysql commands.
(on the source machine) mysqldump -uroot daisyrepository > daisyrepository.sql mysqldump -uroot activemq > activemq.sql (on the target machine) mysqladmin -uroot create daisyrepository mysql -uroot daisyrepository < daisyrepository.sql mysqladmin -uroot create activemq mysql -uroot activemq < activemq.sql
On the target machine, create the necessary access grants. For this, start the mysql tool on the command line:
And execute (change the statements accordingly if you did not use the default passwords, you can find the passwords Daisy expects in the myconfig.xml file located the repository data directory):
GRANT ALL ON daisyrepository.* TO daisy@'%' IDENTIFIED BY 'daisy'; GRANT ALL ON daisyrepository.* TO daisy@localhost IDENTIFIED BY 'daisy'; GRANT ALL ON activemq.* TO activemq@'%' IDENTIFIED BY 'activemq'; GRANT ALL ON activemq.* TO activemq@localhost IDENTIFIED BY 'activemq';
See the Daisy documentation.
Moving Daisy to another machine and performing a Daisy upgrade are two different tasks. If you want to upgrade Daisy, either do it before the move or after the move.
Verify that the task at hand (either the upgrade or the move) succeeded before moving on to the next task.
Daisy does not require any real installation, the application is runnable just by extracting the zip or tar.gz file. What the installation utilities (or the automated Windows installer) does additionally is initializing a data set. In the case of moving Daisy, you have already a data set, so you don't need to create a fresh one. It will only get in your way and complicate things.