Quantcast
Channel: Support Portal
Viewing all articles
Browse latest Browse all 484

Re : MS SQL database on different server

$
0
0
Please follow the below procedure to move ADAudit plus database between to different SQL servers. 

MS SQL DB Migration using Detach & Attach Method:
  • Login to Microsoft SQL Server Management Studio with proper privileges.
  • Go to Databases and right click your DB (Ex: adap), then Task --> Detatch.
  • In Detach DB Wizard: Check both the Check boxes (Drop Connections and Update Statistics), Click Ok.
  • Go to DB storage path (Ex: By default 64 bit, C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA).
  • Cut / Copy the .mdf and .LDF file (Ex: adap.mdf and adap_log.LDF).
  • Save it in the desired new location.
  • Now go to Microsoft SQL Server Management Studio.
  • Right click the Databases --> Attach
  • In Attach Databases wizard, click add button under Database.
  • Now select the corresponding .mdf file where you have stored (Ex. adap.mdf), it will automatically take the .LDF file too.
  • Click Ok (Your DB is now connected from the new location)
Once the process is completed, You may need to change the SQL Server name and database name in a conf file called  "database_params.conf " which is located under <Install-folder>\conf\

Regards,
Bruce
ADAudit Plus Team

Viewing all articles
Browse latest Browse all 484

Trending Articles