There are occasions when the site and site collection recycle bins are insufficient for recovering deleted content.
Examples
· When a site itself is deleted it does not go into a recycle bin.
· When the various thresholds for the recycle bins have been exceeded.
Restore Process
Restore is performed as three steps:
· Restore of a content database
· Inside SharePoint Central Administration, Unattached Content Database Recovery
· Powershell on SharePoint Application Server
Restore of a content database
Ask Infrastructure team to restore a copy of the intranet content database to database server with a different name. It is important to have a different name otherwise the production content database will be overwritten.
Unattached Content Database Recovery
Open the Central Administration site
Navigate to Back and Restore \ Recover Data from an Unattached Content Database
Enter the Database Server and Database Name of the restored database.
In the Operation to Perform I used Export Site or List but could also use Browse Content.
Click Next
Select the Site Collection, Site and optionally List to restore. Click Next
In the File Location enter something relative to application server e.g. \\melap01\f$\export.cmp
Click Start Export.
Wait for it to finish, use the Refresh button to check status.
Create a Temporary Site to receive the restored content
Too high risk to restore directly into the production site so create a new temporary restore site somewhere, ideal candidate would be beneath the site where the content is missing from.
Open SharePoint 2010 Management Shell (PowerShell) prompt on application server.
Type: Import-SPWeb
When prompted for the identity, enter the URL for the new restore site.
When prompted for the path, enter the path for the backup file that you created in previous step, e.g. \\MELAP01\F$\export.cmp
Click Enter.
Open the generated log file and check for errors.
Navigate to the temporary site and examine restored content. Pull out required documents and upload to the required site, check with user before deleting temporary site.
Delete .cmp file and log form MELAP01.
Monday, 25 July 2011
Wednesday, 13 July 2011
Changing Date Format In SharePoint
To change a date format to YYYY-MM-DD, follow the below steps:
+ On the root site go to Site Actions
+ Site Settings
+ Under site Administration, click Regional Settings, select appropriate Time Zone
Finding the GUID for a SharePoint List
+ Navigate to List Settings -
+ Copy the Url from the browser address bar into Notepad. It will look something like:
http://portal/sites/projectest /_layouts/listedit.aspx?List=%7B47CCC9C7%2D4D5A%2D47CB%2D920C%2DB64B4C16F16D%7D
+ Delete everything before and including “List=”.
{47CCC9C7-4D5A-47CB-920C-B64B4C16F16D}
+ Copy the Url from the browser address bar into Notepad. It will look something like:
http://portal/sites/projectest /_layouts/listedit.aspx?List=%7B47CCC9C7%2D4D5A%2D47CB%2D920C%2DB64B4C16F16D%7D
+ Delete everything before and including “List=”.
- Change “%7B” to “{”
- Change all “%2D” to “-“
- Change “%7D” to “}”
{47CCC9C7-4D5A-47CB-920C-B64B4C16F16D}
Subscribe to:
Posts (Atom)