Moving NW2013 Databases
Moving NW2013 Databases
5. This saves a backup of the NW2013DB to the default directory of "C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\Backup\" under the filename "NW2013DB.bak".
1
On the server you are moving the Nintex Workflow database to:
1. Copy the previously backed up " NW2013DB.bak" file to the default directory "C:\Program Files\Microsoft
SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\"
2. From the SQL Server Management Studio right-click on Databases and select Restore Database...
3. Select From device and then Specify file (...).
4. Click on add and browse for your backed-up database file. In this case "NW20013DB.bak".
5. Ensure you check the Restore box next to the database you are restoring and then enter NW2013DB as
the To database:. Click Ok and Ok again.
6. The database has now been moved and is ready to be connected to Nintex Workflow.
Reconnecting to the existing database
Stage 1 - Connect the new configuration database
1. Navigate to SharePoint Central Administration, and open the Nintex Workflow Managemen section.
2. Choose Database Setup under Nintex Workflow Management.
4. Enter the new details and select the Connect to an existing database checkbox.
5. Click Ok.
Stage 2 - Update the references to the content databases
1. In the Database Management screen, you will see the content databases still point to the old server.
2. On any SharePoint web front end server, open SharePoint 2013 Management Shell.
3. Type the following command, placing your server names in the quoted areas of the command
(YourNewServerName).
nwadmin o updatecontentdatabase servername YourOldServerName newservername
YourNewServerName
4. Restart IIS and the Windows SharePoint timer service from services.msc.
5. If you check the database management page again, the content database references should be up to date.
Alternatively, you can also manage the content database references manually. This has the same effect as running
the NWAdmin command.
1. Open the configuration database in your database management tool.
2. Open the table called Databases.
3. You will see the content database details listed. You can update the Server name column as required and
submit the change.
4. Restart IIS and the Windows SharePoint timer service from services.msc and the process should be
complete.