Data Replication
- Data Replication 9.8.0 HotFix 2
- All Products
CREATE LOGINdatarep_userWITH PASSWORD = 'password'; GO
use [master] CREATE USERdatarep_userFOR LOGINdatarep_user; GRANT VIEW SERVER STATE TOdatarep_user; GRANT VIEW ANY DEFINITION TOdatarep_user; GRANT SELECT TOdatarep_user; GO
use [source_mssql_database_name] CREATE USERdatarep_userFOR LOGINdatarep_user; EXEC sp_addrolemember 'db_owner', 'datarep_user' GO
use [source_mssql_database_name] EXEC sp_addrolemember 'db_backupoperator', 'datarep_user' GO
sp_configure 'remote admin connections', 1; GO RECONFIGURE; GO
The Extractor task uses one of the following methods to get the list of active virtual log files (VLFs) from the Microsoft SQL Server source:use [source_mssql_database_name] EXEC sp_addsrvrolemember @loginame= 'datarep_user', @rolename = 'sysadmin' GO
ALTER DATABASEsource_mssql_database_nameSET ALLOW_SNAPSHOT_ISOLATION ON;