Objective: To migrate ADManager Plus from one version of Microsoft SQL server to another.
Solution: You can use any one of the following built-in methods from Microsoft SQL to migrate the ADManager Plus data from one version of Microsoft SQL server to another.
Log in to the Microsoft SQL Server Management Studio.
Right-click on the DB that you wish to move, click Tasks and then click Detach.
In the Detach DB window that pops up, select the Drop Connections and Update Statistics options, and click OK.
Navigate to the storage path of the DB. For instance, C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA.
Copy the .mdf and .LDF files (Ex: admp.mdf and admp_log.LDF) and save the files in the desired location.
Log in to Microsoft SQL Server Management Studio, right click on the destination database, click on Tasks, and click Attach.
In the Attach DB window that pops up, click Add.
Select the .mdf file that you saved in step 5 and click OK.
Note: When you select the .mdf file, the .LDF file gets selected automatically.
Navigate to the installation folder of ADManager Plus. Go to the \conf folder and open the database_params file.
Change the SQL server location and DataBase name, so that the product is pointed to the new DB.
Method 2: Using the Import Data Method:
Log in to the Microsoft SQL Server Management Studio.
Right click on the DB to which you wish to move the data, click on Tasks and click on Import Data.
In the SQL Server Import and Export window that opens up, click Next.
In the Data Source window that opens up, specify the following:
Server Name:
Authentication (used to login to SSMS)
Database
Note: In the Data Source drop down, select SQL Server Native Client if it is not selected already.
Click Next.
Under the Destination windows, enter the following details:
Server Name (This will be detected automatically. You can also change the destination using this option).
Authentication
Database (This will be detected automatically. You can also change the destination using this option)
Note: In the Data Source drop down, select SQL Server Native Client if it is not selected already.
Click Next.
Under the Specify Table Copy or Query field, choose the Copy Data From One or More Tables/Views and click Next.
Under Select Source Tables and Views field, choose the tables to be copied from source, and use the Edit Mappings to select the tables from the left column. Select particular table operations and click Next.
Select the Run Immediately option and click Next.
Click Finish.