Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log Shipping error

Status
Not open for further replies.

djj55

Programmer
Feb 6, 2006
1,761
US
Hello, With SQL 2000 I am getting an error
Error 14261: The specified plan_name ('DB1.MyDB_logshipping') already exists.
One thing that I do not understand is the name I entered was LogShipping_MyDB. This was after I executed
Code:
execute msdb..sp_delete_log_shipping_primary 
    @primary_server_name = N'DB1', 
    @primary_database_name = N'MyDB'

execute msdb..sp_delete_log_shipping_plan 
    @plan_name = 'MyDb_logshipping'

execute msdb..sp_delete_log_shipping_plan 
    @plan_name = 'DB1.MyDb_logshipping'
The first said complete the last two said does not exist.

I have created other log shipping today and they seem to be working.

Any ideas?

djj
 
Have you looked in the actual log shipping tables in the MSDB database to see if the plan does indeed exist?

Thanks

J. Kusch
 
Thank you for the reply.

I did look into any table that started 'log' or had 'plan' in the name.

Nothing out of line, and no MyDB.

So after getting your reply, I looked on the destination server and found it there (log_shipping plans).


Thank you,
djj




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top