Reflects the current release of Nintex for SharePoint 2016. For your version, please access assistance through the Help button in the product.

DetachDatabase

Description

This operation detaches a content database from the environment. The detach process performs the following steps:

Running this command will cause workflow history to be lost from the environment. The command is intended to be run as part of the process of migrating a SharePoint database to another environment or in other scenarios where the data stored in it will no longer be required by the environment.

The command should be run by an account with read and write access to the Nintex Workflow databases.

The command does not delete the database from the database server.

It is recommended that the “” service is stopped while running this command.

The detached database can be reattached to an environment using the AttachDatabase command.

Usage

NWAdmin.exe -o DetachDatabase -serverName serverName [-databaseName contentDatabase]

Parameters

Name Description

-serverName

The server name of the content database to detach.

-databaseName

Optional, the database name of the content database to detach. Used to differentiate two databases on the same server.