Hi,
Need advice to transfer my sophosDB in a central console to remote server.
Running SEC 4.7
updrage to SEC 5.1
what is the steps to do this?
Regards,
tedz
This thread was automatically locked due to age.
Hi,
Typically in a workgroup mode it would be setup with:
Also.. I would suggest, checking that the collation of the instance to ensure both instances are the same. The collation might be something like: "SQL_Latin1_General_CP1_CI_AS".
The command to run on both computers to check the collation would be:
sqlcmd -E -S (local)\sophos -Q "select SERVERPROPERTY('Collation')"
These should be the same. If not, you should remove and re-create the new instance, with the same collation as the old instance.
After restoring the database over the top of a database (in the case below SOPHOS47), you should run:
sqlcmd -E -S .\sophos -Q "DROP LOGIN [SERVERNAME\Sophos DB Admins]"
sqlcmd -E -S .\sophos -Q "CREATE LOGIN [SERVERNAME\Sophos DB Admins] FROM WINDOWS"
sqlcmd -E -S .\SOPHOS -d SOPHOS47 -i C:\ResetUserMappings.sql
Where, SERVERNAME is the name of your database computer as "Sophos DB ADmins" is a local group.
The above commands are to ensure that the "SOPHOS DB Admins" group is mapped correctly and therefore gives a non admin user on the computer access to the SQL objects required. Of course, if you run the SophosMangement account as an admin, this problem is not seen as typically members of Administrators are SQL admins but it's not good practice.
Regards,
Jak
Hi,
Typically in a workgroup mode it would be setup with:
Also.. I would suggest, checking that the collation of the instance to ensure both instances are the same. The collation might be something like: "SQL_Latin1_General_CP1_CI_AS".
The command to run on both computers to check the collation would be:
sqlcmd -E -S (local)\sophos -Q "select SERVERPROPERTY('Collation')"
These should be the same. If not, you should remove and re-create the new instance, with the same collation as the old instance.
After restoring the database over the top of a database (in the case below SOPHOS47), you should run:
sqlcmd -E -S .\sophos -Q "DROP LOGIN [SERVERNAME\Sophos DB Admins]"
sqlcmd -E -S .\sophos -Q "CREATE LOGIN [SERVERNAME\Sophos DB Admins] FROM WINDOWS"
sqlcmd -E -S .\SOPHOS -d SOPHOS47 -i C:\ResetUserMappings.sql
Where, SERVERNAME is the name of your database computer as "Sophos DB ADmins" is a local group.
The above commands are to ensure that the "SOPHOS DB Admins" group is mapped correctly and therefore gives a non admin user on the computer access to the SQL objects required. Of course, if you run the SophosMangement account as an admin, this problem is not seen as typically members of Administrators are SQL admins but it's not good practice.
Regards,
Jak