Re: Permission to restore databases and access them without being
- From: changliw@xxxxxxxxxxxxxxxxxxxx ("Charles Wang [MSFT]")
- Date: Mon, 11 Aug 2008 09:11:23 GMT
Hi Erland,
Thank you for your clarification. I misunderstood before, but anyway I had some
interesting findings here based on my test and I would like to post it here.
Yes, if the login was not existed in the old database, the RESTORE statement was
executed with the error message:
Server user '%s' is not a valid user in the database '%s'.
(Known issue in the KB article, http://support.microsoft.com/kb/240872/en-us.)
The RESTORE seemed failed, right? However it was not true. The database was actually
restored even with this error message. The problem was that the current user could not
be created in the newly restored database. However you can manually assign the
permissions with a sysadmin account. There were no data loss based on my observation.
You may further check this. I think that we can make a conclusion that even the user is
not existed in the original database at that time, the database can be restored, however
you need to manually resolve the permission issues after you restore the database.
Thank you again for your great contributions to Microsoft Managed Newsgroup and Have
a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
=========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
=========================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================
.
- Follow-Ups:
- Re: Permission to restore databases and access them without being
- From: Erland Sommarskog
- Re: Permission to restore databases and access them without being
- References:
- Permission to restore databases and access them without being sysa
- From: LenaMsdn08
- Re: Permission to restore databases and access them without being sysa
- From: Erland Sommarskog
- Re: Permission to restore databases and access them without being
- From: LenaMsdn08
- Re: Permission to restore databases and access them without being
- From: "Charles Wang [MSFT]"
- Re: Permission to restore databases and access them without being
- From: Erland Sommarskog
- Permission to restore databases and access them without being sysa
- Prev by Date: Re: Permission to restore databases and access them without being
- Next by Date: RE: What commands can a user execute
- Previous by thread: Re: Permission to restore databases and access them without being
- Next by thread: Re: Permission to restore databases and access them without being
- Index(es):
Relevant Pages
|