You may wish to move your Microsoft SQL Server installation to a new computer after you have installed Laserfiche. Moving your SQL Server requires three steps: installing SQL Server on the new machine, detaching the databases from the old server and attaching them to the new, and unregistering and re-registering your repositories.
To change the location of your Microsoft SQL Server installation
- Unregister your Laserfiche repository or repositories. For more information, see the Registering and Unregistering Laserfiche Repositories tech paper.
- Detach the databases associated with Laserfiche from MSSQL or MSDE. If you are using MSDE, make sure that all expansion databases are detached as well. For complete instructions on detaching a database, see the following Knowledge Base article:
1011003 HOW TO: Attaching and Detaching a Microsoft SQL Server Database
Note: When the database or databses are re-attached, they must have the same name that they originally had. Please take note of the database names before detaching.
- Install SQL Server on the new computer.
- Copy the database files to the new computer. You will need to move both the .mdf and .ldf files for each database. If you are using MSDE, you will also need to move the .mdf and .ldf files for all expansion databases.
- Attach the database or databases to the new SQL server using the same name under which they were previously attached. If you are using MSDE, you will need to attach all expansion databases as well. For complete instructions on attaching a database, see the following Knowledge Base article:
1011003 HOW TO: Attaching and Detaching a Microsoft SQL Server Database
- Register your repository or repositories again. On the "SQL Server Specific Settings" step, be sure to specify the new SQL Server computer. All other information will remain the same. For more information, see the Registering and Unregistering Laserfiche Repositories tech paper.
- Verify that the repository and its documents can be opened and viewed without problem before removing your original SQL Server installation.