Re: database owner
- From: "Dan Guzman" <guzmanda@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Oct 2007 07:00:16 -0500
Are there any necessary steps I should take or correct this setup? (I hope this explanation was understandable)
Having the backupexec account probably won't do any harm as long as the Windows account exists. To ensure a database owner is never orphaned, I use 'sa' as the database owner unless I have a reason to do otherwise. You can use sp_changedbowner to specify the desired owner. For example:
USE MyRestoredDatabase
EXEC sp_changedbowner 'sa'
GO
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Andy.I" <Andy.I@xxxxxxxxxxxxxxxx> wrote in message news:5B2D9624-7F22-4AA4-AB1B-F48C01F180DC@xxxxxxxxxxxxxxxx
Hi
I have recently migrated several databases between 2 SQL server 2K servers, and used backupexec in this process.
Backup from old server, and db restore to new server. Migrated all logins with a stored procedure I found in MS's knowledgebase.
Now on the new server the backupexec user account is database owner on all the migrated databases. I do not have a dedicated login for this user on the server, but this account is member of a administrators group in the sql server and this group is dedicated at dbo on all databases and belongs to the sysadmin servers role. So this way all rights are inherited from the group membership.
My question is, will this create any issues? The way I see it, the sid of the database owner, doesn't exist in the syslogins table in the master DB, and it doesn't exist as an own login in sysusers on the database in question, even if it is a member of the administrators group on the database.
I use SQL Server 2000 Sp4 with mixed security.
Are there any necessary steps I should take or correct this setup? (I hope this explanation was understandable)
/A
.
- Follow-Ups:
- Re: database owner
- From: Andy.I
- Re: database owner
- References:
- database owner
- From: Andy.I
- database owner
- Prev by Date: database owner
- Next by Date: Re: database owner
- Previous by thread: database owner
- Next by thread: Re: database owner
- Index(es):
Relevant Pages
|
|