Procedure to move LocalDB to a SQL server is as following:




SQL database role
On database level, for console-only users in standard environments, the database roles db_datareader and db_datawriter are sufficient.
db_owner is needed, for example, for database activities related to updating to a new Scout version. The same applies for performing any configuration and maintenance activities on the database.
The users must be mapped to the default schema dbo.
For environments with SQL Server clusters, additional permissions such as VIEW SERVER STATE and VIEW ANY DEFINITION are required.
This article explains procedure of moving LocalDB to an SQL server.