2022 Developer Survey is open! Take survey.

Hot answers tagged

12 votes
Accepted

Backup and restore in Office 365

I've had this discussion with Microsoft Support in June 2014. They told me that backups are performed on all site collections on a daily basis and kept for 14 days. In order to get a restore to happen ...
user avatar
  • 25.3k
8 votes

Why I should not perform a Restore-SPSite for a copy of a site collection on the same content database?

Just look at the code snippet below and try to imagine the scenario of what will happen: using(SPSite site = new SPSite("http://somesite")) { using (SPWeb web = site.OpenWeb(SameGuid)) { ...
user avatar
  • 4,466
7 votes

How to restore content databases in SharePoint 2016

In SharePoint 2016 > Create A new web application. Then Create a new site collection. Go back to Application Management > Manage Content database. Click on Content Database name > Check Remove Content ...
user avatar
6 votes

How to restore exported list cmp file

Granular restore operations require the use of Powershell as no UI in Central Administrator exists. This cmdlet is used to restore sites, list, and libraries exported with “export site or list” ...
user avatar
  • 2,135
6 votes
Accepted

moving my site collection from root to a new managed path

Above scenario should work, as you are deleting the existing site collection then you will not see the Duplicate GUID problem. You may need to refresh the config db, in order to update the record ( ...
user avatar
  • 56.7k
6 votes

How to restore SharePoint 2016 site collection in SharePoint 2013

You can't restore to an earlier version of SharePoint. You can, however, take a database backup of a SharePoint 2013 Content Database, run a few PowerShell Scripts (Test-SPContentDatabase, Upgrade-...
user avatar
  • 25.3k
5 votes

What is the best practice to duplicate a site collection?

I found an answer, just for site collection created on web application root. Use this command to backup a site collection Backup-SPSite -Identity "http(s)://your-site-collection-url" -Path "C:\...
user avatar
  • 540
5 votes
Accepted

How can I identify missing features in a SharePoint site that has been restored from a different farm?

there are couple of ways. Run the Test-spcontentDatabase command against the content DB to get the list use this SharePoint Feature Administration and Clean Up Tool to identify and remove them You ...
user avatar
  • 56.7k
5 votes

SharePoint 2013 - restore a single site from site collection backup

You can't restore a site from site collection backup. Couple of things you can do. So big thing, if you have access to Production farm. You can export the Site from production and restore it. Use ...
user avatar
  • 56.7k
5 votes

Missing CSS after restore

Did you change any modifications on front end style loading? like manipulations in . May be previous site is loading because of that resource is cached in the browser. Just clear the cache and check ...
user avatar
5 votes

Missing CSS after restore

Links might have broken check in the network with chrome or use fiddler
user avatar
  • 636
5 votes

Delete and Restore a Site Collection

You can't restore a site you deleted with Remove-SPSite. Microsoft is assuming that you know what you are doing when using powershell to delete a site collection, so there is no possibility to restore ...
user avatar
  • 184
4 votes
Accepted

Move root site collection

Yes, You can move it. But one thing you keep in mind if you hard coded the URL in your sites then those will cause the issue and you have to manually adjust it. Couple of options to move it. 1) ...
user avatar
  • 56.7k
4 votes
Accepted

SharePoint 2013: remove orphan site entry from database

there are couple of options you can try to remove the orphan in the databases. Did you try to run the restore with force parameter? Detach the content DB wait for couple of min and re attach it try ...
user avatar
  • 56.7k
4 votes

Restore-SPSite : Access Denied

Another option that I have found for restoring a site collection to a different domain to the source domain (and where the source site collection cannot be set up with the site collection admin for ...
user avatar
  • 4,019
4 votes
Accepted

how to exchnage the urls for 2 web applications

Two easy options i am thinking about. Method # 1 Make the changes on the AAM and Update the IIS bindings. Yo may need to IIS reset at then end. Method # 2 Detach the Content Database from web App ...
user avatar
  • 56.7k
4 votes

SharePoint 2013 Site collection backup restore after CU updates

This is a common pitfall and a good reason to look into your backup routines, especially before patching as there is no way to uninstall a patch. Sadly, the only easy way would be if you have a test/...
user avatar
  • 9,491
4 votes
Accepted

Restoring a list from an Excel backup in SharePoint Online

Follow these steps: Decide on a name for the list, it will be the URL and name of the list. Go to the ‘cog’/Settings and select Add an app You will now see a list of all available apps (installed) ...
user avatar
4 votes

SharePoint backup and restore from central administration.

There are no such limitations but it will be always advisable to use the powershell/STSADM command prompt for these backup/restore activities. mainly because it can take long time and when an error ...
user avatar
  • 2,176
4 votes

Horrible mistake, Deleting instead of ending workflow

From what i understand you deleted an item from list and you want to restore it back. To do so you need to navigate to Site Settings from top ribbon (you will see this option only if you have certain ...
user avatar
3 votes
Accepted

Restore a copy of the same site collection insdie the same web application

priyanka is correct, a site collection would create a new content database on the server which would have conflicting ID's using backup and restore. You would rather need to use export and import: ...
user avatar
  • 17.8k
3 votes

Restore a copy of the same site collection insdie the same web application

You try to restore a site collection backup to the same content database from which the site backup was taken , there will be a GUID conflict. GUID for a site collection is unique and it gets stored ...
user avatar
3 votes
Accepted

Backup a site collection using central administration never ends

Couple of things to check: Make Sure Farm admin accounts having the write permission on the path. try to use different path Make sure the site is not locked check the ULS / Application Logs for clue. ...
user avatar
  • 56.7k
3 votes

Restore content database 2013

Delete your web application. Create a new one. Take care that the authentication mode is identical with the initial web application in which your backed up site collection has been created. Do not ...
user avatar
3 votes
Accepted

Restore to operation in seconds on failure?

Is it the front/app servers we are concerned about, or is it the SQL? You could create a farm where all roles (web app, application, crawl, index) are distributed to at least 2 servers (and where ...
user avatar
3 votes
Accepted

Get error after content database restore to another server

I resolved this problem, after restore content database and create web application, Mount restore content database to new web application. Mount-SPContentDatabase "MyDatabase" -DatabaseServer "...
user avatar
  • 187
3 votes
Accepted

Restore-SPSite : <nativehr> error and Content DB schema different

Your patch levels are different. Install May 2015 CU or MS15-046 to the production server, depending on what was installed in dev/test.
user avatar
  • 28.8k
3 votes
Accepted

Procedure to restore site collection from a sql db of a different farm

things are as simple as you mentioned in your question. Here are the steps. You have to perform the SQL backup of the Content Database from Source Farm Move the back file to destination server(sql) ...
user avatar
  • 56.7k
3 votes

Migrating Sharepoint2010 from Old server To new Server

The best way to perform the migration is to use the database attach method. You can do this by backing up the database and log files, restoring them onto the new SQL server, then attaching them to the ...
user avatar
  • 1,885
3 votes

Delete and Restore a Site Collection

Once you execute Remove-SPSite it goes and removes the site. Once this command finished execution you can go ahead with the whatever next command. So the answer is immediate after the execution of ...
user avatar
  • 28.2k

Only top scored, non community-wiki answers of a minimum length are eligible