Copy and Attach the INOW Database Files to the New Location - Moving INOW Database from SQL Server to another SQL Server Machine - Foundation 24.1 - Foundation 24.1 - Ready - Perceptive Content - external

Moving INOW Database from SQL Server to another SQL Server Machine

Platform
Perceptive Content
Product
Moving INOW Database from SQL Server to another SQL Server Machine
Release
Foundation 24.1
License

We recommend copying files instead of moving so that you can successfully retain the original files. The following steps explain how to copy the files that you have identified in the Identify the INOW Database Files in an earlier section of this document.

To copy the files, complete the following steps.

  1. Copy all the INOW database files manually at a new location.
  2. Adjust the file path for each FILENAME to reflect the respective current location.
  3. If you have added files to your database, add those additional files to the following command.
    The list of files that were displayed when you performed the query to identify database files should be copied to the new location and included in the command.
  4. In SQL Server Management Studio, on the toolbar, click New Query.
  5. Copy and paste the following command set in the Query tab.

USE master 
GO 
CREATE DATABASE INOW ON 
( FILENAME = N'E:\MSSQL\DATA\INOW.mdf' ), 
( FILENAME = N'E:\MSSQL\DATA\INOW.ldf' ), 
( FILENAME = N'E:\MSSQL\DATA\INOW.ndf' ) 
FOR ATTACH 
 GO
  1. On the toolbar, click Execute.
  2. To view the newly attached INOW database in the list, refresh the list of databases.