Directory Sizer 2 - Database Move
How to move the database to a new machine
- If you have not already done so, install SQL Server 7, 2000 or MSDE on the
new machine. If you need MSDE, you can download it from the
downloads page.
- Using the Directory Sizer Setup program
(see downloads),
install a fresh database, and install the Directory Sizer Central service.
- Stop MS SQL Server service on both machines. If the SQL Server machine
is a database server for other applications, you will need to do this during downtime.
- On the old machine, deinstall the old Directory Sizer Central service: click on Start, Run, and enter
dszCentr -remove
- Copy the dszDB_Data.mdf and dszDB_Log.ldf files from the old machine to the new machine,
replacing those on the new machine. By default these files were placed in a folder called DirSizerDB
off the root of the disk with the most free space.
- Start SQL Server on the new machine.
- On the old machine, either start SQL Server, or if no longer required, disable it through
Services, or deinstall it.
- On the new machine, run fixPasswords.exe and enter
new passwords for the web SQL logins.
- On the Directory Sizer web server, edit dszWeb\include\dszConnection.asp and change pwd=whatever1
to pwd=yournewuserpassword.
- Edit dszWeb\admin\dszConnection.asp or dszWeb\admin\dszConnectionA.asp depending on which exists
on your system, and change pwd=whatever2 to pwd=yournewadminpassword.
- No action is required on the remote Directory Sizer Scanner machines.