![]() | |||||||||||||||||||
| |||||||||||||||||||
This Blog contains information about Microsoft products like Sharepoint, SQL, IIS, ASP.net and More. This Blog contains Facts about diffrent Products and will advance gradually, Do leave me comments to make this Blog useful and Informative and better
Showing posts with label Restore. Show all posts
Showing posts with label Restore. Show all posts
Tuesday, July 31, 2012
Backup and Recover SharePoint like a time traveler
Saturday, June 16, 2012
Restore Web applicaton using SQL server tools in SharePoint 2010
There are some limitations to restore the whole web applicartion using SQL restore but we can use DB associated with Web Application using SQL tools
To restore databases associated with a Web application by using SQL Server tools
- The account must be a member of the sysadmin fixed server role.
- All stored procedures must be finished before a restore if any procedure is running stop SharePoint Timer service and wait for several minutes for any currently running stored procedures to finish.
- Do not restart the service until after you restore the databases.
- Now we are all set open SQL management studio and expand Database server
- Select the DB you want to restore > Right Click > Tasks > Restore > Database.
- In the Restore Database dialog box, specify all required information
- Open Options.
- In the Restore options section, select only Overwrite the existing database
- Recovery state section specify details as per your requirements
- Click OK
Restore a web applicaiton using Central Admin in SharePoint 2010
- Open Central Administration > Home page > Backup and Restore section > click Restore from a backup.
- The process consists of 3 steps
Step 1
Select Backup to Restore page > from the list of backups > select the backup job that contains the farm or Web application backup > and then click Next
Step 2
Select Component to Restore page > select the check box that is next to the Web application > and then click Next.
Step 3
Select Restore Options page > in the Restore Component section > make sure that Farm\<Web application>appears in the Restore the following content list.
3. In the Restore Only Configuration Settings section, make sure that the Restore content and configuration settings option is selected.
4. In the Restore Optionssection, under Type of Restore, select the Same configurationoption. A dialog box appears that asks you to confirm the operation. Click OK
5. Click Start Restore.
Restore a Web application in SharePoint 2010 using Windows PowerShell
- Open SharePoint 2010 Management Shell.
- At the Windows PowerShell command prompt, type the following command:
Restore-SPFarm -Directory <BackupFolderName> -RestoreMethod Overwrite -Item <WebApplicationName> [-BackupId <GUID>] [-Verbose]
3. If you do not specify the value of the BackupID parameter, the most recent backup will be used.
4. You cannot restore a Web application by using a configuration-only backup.
5. You can view the backups for the farm by typing the following
Get-SPBackupHistory -Directory <BackupFolderName> -ShowBackup
Restore a site collection using Windows PowerShell in SharePoint 2010
1. Open SharePoint 2010 Management Shell.
2. At the Windows PowerShell command prompt
3. Type the following command, and then press ENTER:Restore-SPSite -Identity <Site collection URL> -Path <Backup file> [-DatabaseServer <Database server name>] [-DatabaseName <Content database name>] [-HostHeader <Host header>] [-Force] [-GradualDelete] [-Verbose] 4. If you want to restore the site collection to a specific content database, use the
DatabaseServer and DatabaseName parameters to specify the content database. 5. If you do not specify a content database, the site collection will be restored to a content database chosen by Microsoft SharePoint Server 2010.
6. If you are restoring a host-named site collection, use the
Identity parameter to specify the URL and use the HostHeader parameter to specify the URL of the Web application that will hold the host-named site collection.7. If you want to overwrite an existing site collection, use the
Force parameter.Sunday, June 10, 2012
Restore databases instantly
| |||||||||||||||||||||||
Saturday, June 9, 2012
How to restore content database using SQL server in SharePoint 2010 ?
- If the Windows SharePoint Services Timer service is running, stop the service and wait for several minutes for any currently running stored procedures to finish.
- Do not restart the service until after you restore the content databases.
- Open SQL Server Management Studio
- Connect to the database server.
- Right-click the Database that you want to restore > Tasks > Restore > Database.
- In the Restore Database dialog box, specify the destination and the source, and then select the backup set or sets that you want to restore.
- In the Select a page pane, click Options.
- In the Restore options section, select only Overwrite the existing database.
- In the Recovery state section:
- If you have included all the transaction logs that you must restore, select RECOVER WITH RECOVERY.
- If you must restore additional transaction logs, select RECOVER WITH NORECOVERY.
- The third option, RECOVER WITH STANDBY is not used in this scenario.
- Click OK to complete the recovery operation.
- Repeat steps 4 through 10 for each database that you are restoring.
- Start the Windows SharePoint Services Timer service.
Subscribe to:
Posts (Atom)


