I am trying to find the best way to accomplish the following: Move an existing share point application's content and meta databases, back them up and restore them to a different machine. In order to do this I am using the stsadm tool as follows: To backup, I use this command:
stsadm -o backup -url http://devpn-004:1234 -directory c:\sharePointBackup -filename testBackup.bak -backupmethod full -percentage 10
To restore, I use this command:
stsadm -o restore -url %1 -directory c:\sharePointBackup -restoremethod overwrite -percentage 10
The backup completes successfully. However, when I try to restore, I get the following errors:
Provisioning of the web application, SharePoint - 1234, has encountered the following error: System.ArgumentException: The IIS Web Site you have selected is in use by SharePoint.
You must select another port or hostname.
Object MySharepointDB1234 failed in event OnRestore. For more information, see the error log located in the backup directory.
SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
The machine on which the restore takes place already has an existing web application at the port specified, and since the overwrite flag is used, I would expect no errors. I would appreciate any help and insight on the best practice to backup from machine a and restore to machine b a complete application.
Did you provision the application before doing a restore? I would provision a test site collection to validate that the application is working before trying to restore a site collection to it.
I'm not familiar with the %1 for the URL, you may want to specify the actual url.
Question : User has changed his name in the active directory and wants see his mysite with the new URL. Can we follow the steps given below: ○ Take the backup of the existing site collection (Stsadm -o export) ○ Goto SSP -> User profile -> remove Personal site URL -> Save ○ Ask her to click on the "Mysite" Link ○ New site collection will be created for her ○ Import the old collection content (Stsadm -o import) ○ you may need to change the site title of the new site collection after the import.
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I met with strange SharePoint internal error when click some links on a web site. I have tried to use SPTraceView (http://sptraceview.codeplex.com/) to dump related logs, I find the following error logs, any ideas what is wrong? I am not sure whether in my scenario, using SPTraceView is the best way to diagnose, any better ideas to diagnose? Application Server Job failed for service instance Microsoft.Office.Server.Search.Administrator.SearchServiceInstance(xxxxxxxx-xxx GUID) Reason: access to file "C
I try to perform a restore using stsadm. When the operation completes, I get the following message: Restore failed for Object [Sharepoint Database Name] in event OnPostRestore. For more information, see the error log located in the backup directory. However, I am unable to find the error log. What is the "backup directory" that the message mentions? Also, it appears like the error has to do with my SP database. What could be causing it? Thanks!
I'm trying to create a site collection via stsadm. I do: STSADM -o createsite ` -url "<url>" ` -title "<title>" ` -description "<desc>" ` -lcid 1033..., at the Powershell prompt I get only the following output: User cannot be found. If I look into the ULS logs, I see the following related logs (truncated a bit for clarity): Creating site http... as to how to fix this problem? (Just to note, I created a web application via stsadm with the same user credentials and that worked fine.)
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. I am using the following backup and restore process to backup from site...? Step 1: (from source machine1) backup stsadm.exe -o backup -url http://machine1 -filename e:\backup.dat Step 2: (from destination machine2) create a site collection http://machine2/sites/site2 and create a new content database Step 3: (from destination machine2) stsadm.exe -o restore -url http://machine2/sites/site2 -filename e:\backup.dat -overwrite
How can you change the SharePoint 2010 Central Administration site so that it works over SSL, rather than a random port over http? Other sites on the server may also use SSL, so would use a host... binding without defining an IP address... suggesting that wildcard ip's may work (and the same certificate used on different sites). Is it just a case of configuring the site in IIS as you would any other secure site, or do you also have to run 'stsadm' to tell SharePoint you have done this as well?
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. And I am using command, stsadm -o restore -url http://machinename:8090/siteabc -filename c:\backup\siteabc.bak But met with the following error -- there is a web site already exist on "/siteabc". Please specify a new URL or using -overwrite. How to check whether there is a web site called "/siteabc" already exists? Not sure whether tools like SharePoint Manager could detect this?
We have taken over a site where My Sites are placed in the Intranet web application. I want to migrate the My Sites to a dedicated host site. From what i have been able to find out so far, I will need to do an STSADM -o backup of each personal site and restore it into the new content database. I will be automating this process using PowerShell. Has anyone tried this? Any caveats i need to be aware of? Since i need to move site collections out of an existing content database into another, as far as i can see i cannot use a simple SSP migration. Any help appreciated :-) EDIT: I wrote
After following Spence Harbar's Rational Guide to implementing SharePoint Server 2010 User Profile Synchronization (http://www.harbar.net/articles/sp2010ups.aspx) exactly (and having it work several times for other implementations) in this particular instance, starting the user profile synchronization service generates the following errors (these can be found in the windows logs of the server... is in the right groups with the right permissions. Thoughts? UPDATE The SQL Server now has the following error, repeatedly: Event 17806 SSPI handshake failed with error code 0x8009030c, state 14 while