
Sept 21, 2019 
Notes about doing File Migration for Dentrix and Dexis by Mark P Miller, P.E. 228-218-9523 http://primo.ws
From Server2008 (Old OEM-Server 2008R2 OS) to Server (New Dell T320-Server2016 OS)

Instructions:
On old Server, check Shadow Copies and make sure latest ShadowCopy date/time stamp is current
Navigate to C:\disks\Backup-Shortcuts\Migration and run script as administrator
Script name is RCopy-Both-Dentrix-Dexis-Shadow2.cmd
When finished, both Target Folders are opened so robo.logs can be viewed. 
Rename the logs so they are not overwritten by subsequent runs
If logs are big, copy beginning and end pieces and create a summary log
Finished

On initial runs, Dentrix took approximately 1.5 hours and Dexis about 4 hours for 6.5 hour total
----------------------------------------------------------------------------------------------------------------
RCopy-Both-Dentrix-Dexis-Shadow2.cmd
Genrated this Script to ShadowCopy Dentrix and Dexis Folders
On New Server Share C:\DENTRIX\Common and C:\DEXIS Imaging Suite, 
Run Script from Old Server at C:\disks\Backup-Shortcuts\Migration, 
Source1: C:\MyShadow\Dentrix\Common, Target: \\Server\Common
Source2: C:\Server\DEXIS Imaging Suite\DATA, Target:\\Server\DEXIS Imaging Suite\DATA 
Logs:  \\Server\DEXIS Imaging Suite\robo.log and \\Server\Common\robo.log 


@echo off
echo Be sure to check that Shadow Copy Date is current (C,Properties,Shadow Copies)
C:
cd "C:\disks\Backup-Shortcuts\Migration"
net use T: /Delete
net use T: \\Server\Common /user:user network1
net use U: /Delete
net use U: "\\Server\DEXIS Imaging Suite" /user:user network1
Call C:\disks\Backup-Shortcuts\Migration\MountLatestShadowCopy.bat C:\MyShadow\
rem net use
rem dir C:\m*.* /d
echo About to
echo RoboCopy C:\MyShadow\Dentrix\Common to T:\ 
echo RoboCopy C:\MyShadow\DEXIS Imaging Suite\Data to U:\DATA
echo 
echo Press Ctrl-C to Abort or
pause
robocopy C:\MyShadow\DENTRIX\Common T:\ /XO /S /Z /B /W:2 /R:2 /LOG:T:\robo.log /XF pagefile.sys
robocopy "C:\MyShadow\DEXIS Imaging Suite\Data" U:\DATA /XO /S /Z /B /W:2 /R:2 /LOG:U:\robo.log /XF pagefile.sys
RD C:\MyShadow
rem pause
start T:\
start U:\
---------------------------------------------------------------------------
9-22-2019
Noticed a new Folder under Dentrix, "DB" with current date stamps
made a new Script RCopy-Dentrix-Shadow.cmd to copy all Dentrix Folder including this one
Ran before proceeding with Install
---------------------------------------------------------------------------
9-22-2019
Migration Steps
1. On Old Server, Performed a manual Database Export using _ServerAdmin.exe
2. Made Backup of C:\DENTRIX & C:\DEXIS
3. 






