What is the best way to move or migrate Code Co-op and my projects to a new machine?
- Install Code Co-op on your new machine
- Copy over all projects preserving their absolute paths
- Copy over the database (usually the tree under c:\co-op) overwriting the new database you had created during setup
- Do not uninstall Code Co-op on the old machine at this point! You must first delete the database (stop the dispatcher first). Only after the database (c:\co-op) is deleted, can you uninstall Code Co-op.
If you are not using LAN, you're done.
If you are on a LAN, please continue with the following:
On a LAN, the simplest thing to do is to name the new machine the same name as the old machine and you are done. If you can't do this, you will have to reprogram the dispatchers to use the new network path to your new machine:
If the new machine is a Hub:
- The Hub has to change its own Public Inbox share (accessible through the Dispatcher's Collaboration Settings).
- All dispatchers on satellites have to change their Hub forwarding path (also accessible through the Collaboration Settings).
If the new machine is a satellite:
- The satellite has to change its own Public Inbox share (accessible through the Dispatcher's Collaboration Settings).
- The Hub's dispatcher has to replace forwarding paths to this satellite:
- open dispatcher's Diagnostic View on the Hub
- go to Members tab
- double-click on any project in which the satellite is enlisted
- double-click on that satellite member
- edit the forwarding path: change the machine name to the new machine
- when asked if you want to replace all paths to that satellite, answer "yes"