You may find that you need to move the Time Clock MTS data file manually to a new computer. This could happen because your computer has crashed or because you’ve setup the software temporarily on one PC and then want to move it to a production computer for actual use. This blog entry describes a couple of ways that you can do this.
First some terminology.
Source PC: The computer you want to move the data from.
Destination PC: The computer you want to move the data to.
Method 1 : Using Time Clock MTS to move your Database
- Share a directory on the Destination PC you can access from the Source PC. You will need to allow full read/write permissions on this directory because you’re going to be copying a file there.
- Run Time Clock MTS on the Source PC and log in as the administrator. Go to the Tools->Options-> System Options Menu.
- Move the database to the shared directory on the Destination PC, you can find more information on how to do this in the System Options Help Topic.
- Install Time Clock MTS on the Destination PC.
- On the destination PC open the file timeclock.ini in Windows Notepad. If you’ve got Windows Vista or Windows 7 this file will be in the directory c:\ProgramData\Time Clock MTS\, on Windows XP it will be in the directory C:\Documents and Settings\All Users\Application Data\Time Clock MTS\. Note that you may need to Show Hidden Files and Folders to see this directory whatever version of Windows you happen to be using.
- Once you’ve got the file timeclock.ini open in Windows Notepad look for an entry called DatabaseLoc and enter the path to the timeclock.mdb file you placed in the shared directory you setup in Step 1 above.
- Run Time Clock MTS on the Destination PC, you should now be connected to the database you setup on the source PC.
Method 2 : Manually Moving the Database
- Install Time Clock MTS on the Destination PC.
- Copy the file timeclock.mdb from the Source PC. If you’ve got Windows Vista or Windows 7 this file will be in the directory c:\ProgramData\Time Clock MTS\Database\, on Windows XP it will be in the directory C:\Documents and Settings\All Users\Application Data\Time Clock MTS\Database\. Note that you may need to Show Hidden Files and Folders to see this directory regardless of what version of Windows you happen to be using.
- Paste the file copied above into the appropriate directory on the Destination PC replacing the file that is there. If you’ve got Windows Vista or Windows 7 this directory will be c:\ProgramData\Time Clock MTS\Database\, on Windows XP it will be c:\Documents and Settings\All Users\Application Data\Time Clock MTS\Database\. Note that you may need to Show Hidden Files and Folders to see this directory whatever version of Windows you happen to be using.
- Run Time Clock MTS on the Destination PC, you should now be connected to the database you setup on the source PC.