Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

restore is restoring publisher (sharing DB)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vinay - 19 Feb 2008 16:55 GMT
Hi All,

I have sql 2k std. edition, having one server, removed all the replications
using sp_removedbreplication '<Database name>',
and restarted sql server,

now when i restore the backup i get database with publiser created on it,
and i am not able to delete the database...

Please help...

Signature

Thank you.
Regards,
Vinay Thakur

Vinay - 19 Feb 2008 17:27 GMT
Also,

for all new DB restore is DB with publiser...
it is specific to that server, for the same bkp if i restore on another
server it restores perfect.

Appriciate your help.

Signature

Thank you.
Regards,
Vinay Thakur

> Hi All,
>
[quoted text clipped - 6 lines]
>
> Please help...
Vinay - 19 Feb 2008 17:53 GMT
Profiler gives me this for restore.

sp_MShelp_replication_status @agent_type = 0, @exclude_anonymous = 0 go
RESTORE DATABASE [test1] FROM  DISK = N'E:\DBNMxxx' WITH  FILE = 1, NOUNLOAD
,  STATS = 10,  RECOVERY ,  REPLACE ,  MOVE N'Data' TO
N'e:\mssql2k\mssql\data\test1.mdf',  MOVE N'xxx_log' TO
N'e:\mssql2k\mssql\data\text1_log.ldf'
go
select name, DATABASEPROPERTY(name, N'IsDetached'),     (case when
DATABASEPROPERTY(name, N'IsShutdown') is null then -1 else
DATABASEPROPERTY(name, N'IsShutdown') end),     DATABASEPROPERTY(name,
N'IsSuspect'), DATABASEPROPERTY(name, N'IsOffline'),
DATABASEPROPERTY(name, N'IsInLoad'),     (case when
DATABASEPROPERTY(name, N'IsInRecovery') is null then -1 else
DATABASEPROPERTY(name, N'IsInRecovery') end),     (case when
DATABASEPROPERTY(name, N'IsNotRecovered') is null then -1 else
DATABASEPROPERTY(name, N'IsNotRecovered') end), DATABASEPROPERTY(name,
N'IsEmergencyMode'), DATABASEPROPERTY(name,
N'IsInStandBy'), has_dbaccess(name),     status, category, status2 from
master.dbo.sysdatabases
go
exec sp_helpreplicationdboption
go
use [test1]
go
exec sp_helppublication
go
exec sp_helppublication
go
exec sp_helpmergepublication
go
exec sp_helpmergepublication
go
use [master]
go
select name, DATABASEPROPERTY(name, N'IsDetached'),     (case when
DATABASEPROPERTY(name, N'IsShutdown') is null then -1 else
DATABASEPROPERTY(name, N'IsShutdown') end),     DATABASEPROPERTY(name,
N'IsSuspect'), DATABASEPROPERTY(name, N'IsOffline'),
DATABASEPROPERTY(name, N'IsInLoad'),     (case when
DATABASEPROPERTY(name, N'IsInRecovery') is null then -1 else
DATABASEPROPERTY(name, N'IsInRecovery') end),     (case when
DATABASEPROPERTY(name, N'IsNotRecovered') is null then -1 else
DATABASEPROPERTY(name, N'IsNotRecovered') end), DATABASEPROPERTY(name,
N'IsEmergencyMode'), DATABASEPROPERTY(name,
N'IsInStandBy'), has_dbaccess(name),     status, category, status2 from
master.dbo.sysdatabases
go

use [test1]
go
exec sp_helppullsubscription
go
exec sp_helpmergepullsubscription
go
sp_MShelp_replication_status @agent_type = 0, @exclude_anonymous = 0 go
sp_MShelp_replication_status @agent_type = 0, @exclude_anonymous = 0 go

Signature

Thank you.
Regards,
Vinay Thakur

> Also,
>
[quoted text clipped - 14 lines]
> >
> > Please help...
Vinay - 21 Mar 2008 21:15 GMT
Resending...... Please Suggest.

Thanks
Vinay
Signature

Thank you.
Regards,
Vinay Thakur

> Profiler gives me this for restore.
>
[quoted text clipped - 72 lines]
> > >
> > > Please help...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.