SharePoint - Error when restoring sharepoint site using stsadm

Asked By Rick M
26-Aug-08 10:32 AM
I am trying to restore a site to a new server farm.  Both existing and new farms are running the same version of sharepoint services.  When attempting to restore from the command line on the primary web server of the new farm, I receive an error:

Cannot complete this action.

Please try again.


The log information is below.  I only listed the messages and the log line number.  Any ideas?  I am at a loss.  I havent been able to find someone with the same setup and error messages that was able to resolve the issue.

Log line: Message:
1 ULS Init Completed (STSADM.EXE, onetnative.dll)


2 Diagnostics settings: 32768


3 Windows SharePoint Services log file                                                                                                                                                                                                                                                                                                                                                                   


4 stsadm: Running restore


5 Starting restore of site collection: 'http://sitename/', requested by: DOMAIN\admin, source: \\server\directory\backup_file.dat


6 Deleting the site at http://sitename and not deleting AD accounts.


7 Cannot complete this action.  Please try again.


8 stsadm: Cannot complete this action.  Please try again. Callstack:    at Microsoft.SharePoint.Library.SPRequest.DeleteSite(String bstrUrl, Boolean bDeleteADAccounts)     at Microsoft.SharePoint.SPSite.Delete(Boolean bDeleteADAccounts)     at Microsoft.SharePoint.SPSite.Delete()     at Microsoft.SharePoint.Administration.SPSiteCollection.Restore(String strSiteUrl, String strFilename, Boolean bOverwrite, Boolean hostHeaderAsSiteName)     at Microsoft.SharePoint.StsAdmin.SPAdminRestore.RunSiteCollectionRestore(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPAdminRestore.Run(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)


9 Now terminating ULS (STSADM.EXE, onetnative.dll)

stsadm  stsadm

26-Aug-08 11:19 AM
This link talks about lots of stsadm errors. Hope it helps you.

http://www.eggheadcafe.com/software/aspnet/29711754/stsadm-exportimport-does.aspx

Try this  Try this

26-Aug-08 11:39 AM

Hi,

When you use the RESTORE STSADM command, you don't need to prestage a site like you would for IMPORT.  Usually when I get that error, in Central Administration I can usually setup a new content database and it usually works fine after that. 

Actually there are other ways to duplicate a site. stsadm Backup/restore work expects that you are doing it for a new web application where the old one (backed up site) does not exist

 

I tried  I tried

26-Aug-08 12:04 PM
I tried restoring after building and configuring the new farm and it didn't work.  Then I created a web application on the new farm with the same name as the existing, and attempted the restore with no success.  Are there any additonal logs that exist or can be configured to capture additional information regarding the failure?
Try this...  Try this...
27-Aug-08 01:27 AM

When you use the RESTORE STSADM command, you don't need to prestage a site like you would for IMPORT.  Usually when I get that error, in Central Administration I can usually setup a new content database and it usually works fine after that. 

Actually there are other ways to duplicate a site. stsadm Backup/restore work expects that you are doing it for a new web application where the old one (backed up site) does not exist.

Backup and Restore using STSADM  Backup and Restore using STSADM
27-Aug-08 03:10 AM

There are three ways you can backup your SharePoint environment:

  1. Using the Central Administration user interface
  2. Using STSADM
  3. Using automated backup scripts

I personally never use the first option. Through my experiences with backing up MOSS and WSS Farms, I learned that the best way to run a backup and restore is through the STSADM utility. Some may argue this, but I feel extremely comfortable with STSADM since I use it for almost all my SharePoint operations, so I tend to stick with it. Also, the admin interface failed me once when I was restoring an entire farm, whereas the STSADM utility has never failed me yet.

So what are the types of backups we can perform. There are two types:

  1. Full backup
  2. Differential backup

Before you create a differential backup however, you need to at least perform a full backup for the first time. Since this post is talking about how to run backup and restore using STSADM, I'm going to skip the instructions on how to do it through the admin interface; it's pretty much self-explanatory, so I'm sure you can figure it out yourself.

To restore a site collection, use the following command line:
stsadm -o backup -url <URL of the site collection> -filename <name of the backup file>

To restore an entire farm, use the following command line:
stsadm -o restore -directory <UNC path or local drive> -restoremethod <overwrite or new>


Go through this link:
http://geeksconnected.com/muhanad/Lists/Posts/Post.aspx?List=c7e6fc19%2Dbbfc%2D4349%2Db19b%2D500d67afc925&ID=32

Create New Account
help
Setup MS Office SharePoint 2007 Test / Dev Environment Authentication Problems Hello all, i like to setup a fast clonable test / development installation of MOSS2007 under Windows 2008 SP1 (not R2) (32bit). As starting point I have choosen the Blog post from has dsiplay some warning, regarding the installation of MSSQL on a Domain Controller. My single SharePoint admin account is named SPAdmin (domain admin, mssql: security, dbcreator), the local domain ist named OWSTIMER.EXE, onetnative.dll) 03 / 04 / 2010 13:53:04.95 OWSTIMER.EXE (0x0980) 0x0988 Windows SharePoint Services Topology 0 Medium Diagnostics settings: 32768 03 / 04 / 2010 13:53:05.38 OWSTIMER.EXE (0x0980) 0x0988 Windows SharePoint Services Topology 9e7d Medium Initializing the configuration database connection. 03 / 04 / 2010 13:53:11
Alerts SharePoint After upgrading for 2 to 3 Alerts have stopped working of any user setup before point I have log: 09 / 18 / 2008 16:36:27.69 w3wp.exe (0x0C0C) 0x0E2C Windows SharePoint Services General 8xfr Verbose PermissionMask check failed. asking for 0x00000015, have 0x00000000 09 / 18 / 2008 16:36:27.69 w3wp.exe (0x0C0C) 0x0E2C Windows SharePoint Services General 8xfr Verbose PermissionMask check failed. asking for 0x00000005, have 0x00000000 09 / 18 / 2008 16 36:27.69 w3wp.exe (0x0C0C) 0x0E2C Windows SharePoint Services General 8xfr Verbose PermissionMask check failed. asking for 0x00000015, have 0x00000000 09 / 18
How add Excel Pivot Table Reports in Windows Sharepoint Services SharePoint How to add Excel Pivot Table Reporting in Windows SharePoint Services. SharePoint Portal Server Discussions Windows SharePoint Services (1) SharePoint (1) Office 2003 (1) Excel (1) Shetakeprashant
installation of web parts Hello Everyone, We have a sharepoint server configured in the following way: Server1 has: Central Administration Office SharePoint Server Search Windows SharePoint Services Help Search Windows SharePoint Services Incoming E-Mail Windows SharePoint Services Web Application Server2 : Windows SharePoint Services Incoming E-Mail
Help!!Windows Sharepoint Services Windows Internal Database Versus SharePoint Hi All, I instaleld Windows Sharepoint Services on a server and chose the "Basic" installation, which installs a Windows Internal Database. Documentation