.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Using SharePoint2010 Mangement Shell how to take site backup and resotre ?

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

Hi Friends,

   I am Ali, I Need to take site(site collection) backup and restore it to another site.

1. I am able to take backup and restore using STSADM, but i heared that we should not use this method for SharePoint 2010.

2. We should take backup and restore using with PowerShell.

and checked for powershell backup cmd( "

Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} -Item <WebApplicationName> [-Verbose]

 but it was a complete  webapplication backup.

I am confused, Can i take the complete webapplicaiton backup and restore it to another server ?

Please anybody explain me about taking backup, resore and overwrite the Web Application using PoweShell .



MD.Liakath ali

View Complete Post

More Related Resource Links

Not able to create a new site from a previous backup

Hi,   I want to create a new site from a backup. I did the restore process in Central Admin. I gave new appplication URLand new content database name in the last page of restore process. I  tried restore several times  but always the following error msg is showing in backup and restore status.   Error Status TEST 600 6/30/2008 11:22 AM Object TEST 600 (previous name: TEST PORTAL) failed in event OnRestore. For more information, see the error log located in the backup directory. SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=TEST 600 Parent=SPWebService is being updated by WSS\Administrator, in the OWSTIMER process, on machine WSS. View the tracing log for more information about the conflict. WSS_Content_TEST_PORTAL_600 Completing restore 6/30/2008 11:29 AM Object WSS_Content_TEST_PORTAL_600 (previous name: WSS_Content_TEST_PORTAL) failed in event OnPostRestore. For more information, see the error log located in the backup directory. SPException: Cannot attach database to Web application. Use the command line tool or Central Administration pages to attach the database manually to the proper Web Application.   I am also showing the log file details below. Log File Details   [06/30/2008 11:19:44 AM]: Verbose: Using directory: \\wss\TEST\Backup\spbr0003\.[06/30/2008 11:19:44 AM]: Ve

how to add custom site collection template in central admin site in SharePoint2010?

hi all, how can we add custom template in cendtral admin in sharepoint 2010? In 2007, we can add by using the stsadm tool addtemplate operation....but 2010 tremplate is saved as a solution file not a .stp file...so how we can add this template in central admin site in SharePoint 2010? Please give me some suggestions...... thanks in advance.....

version dependency while backup restore of SharePoint 2007 Site Collections


hi all

I am aware of a version dependency on the stsadm -o backup/restore operation.

But will the same dependency exist for a content DB backup restore..

i.e. for example will we able to restore a content DB backup taken from a server with version say to a server with say assuming that the versions of SQL is the same in both cases.

Will the version difference in SQL create issues

Thanks in advance




Backup-export blog from My Site

We use Sharepoint2007 for e-portfolio-purpose on our graduate school of teaching at Leiden University. I'm wondering if it is possible for our students themselve to backup (or export) their My Site-blog

backup and restore site collection



I'm just trying to move a site collection to a different server (to a virtual machine). I used the backup and restore feature in central administration but I'm not able to view the site on the new server. Is there some step I am missing during this migration?


Thank you

remove backup from backup process used in sharepoint administration site



We have a sharepoint and using sql 2008r2 server.  We found that everyday it backup to a folder spbrXXXX where XXXX is a serial #.  It also has a xml document that track its backup.  In each of these folders is a butch of bak file.  When I check the sharepoint admin site, it said it is backing up everyday to this folder.  How can i remove those folders that are more than 2 weeks?  I need to have a way to control this folder from continuously growing.  Our sharepoint is only a few weeks old and the folder is 36Gig big already.

thx, Ted.

Trigger MSSQL backup from linux shell


At our company we have one Microsoft SQL (2008R2) server and all other solution runs on linux/unix.The automated backup-system does all its backup from a shellscript.

Now here`s my question: 
Is there any way to trigger a MSSQL backup from a linux shell? 
I only need to trigger it, and I can pick it up in the file system later.


Backup & Restore sharepoint site



I want to be able to back & restore of subsite in same application, or in another application, or another server. I want to make backup of site and restore it whereever I want :)



How to Deploy MOSS Site Collection using backup/restore with DB attach

Can anyone give pointers on Deploying Moss Sites from Development Environment to Production Envirnment Using backup/restore with DB attach?? TIA
Thanks, Devi Prasad M

How to Specify Content Database for a Site Collection Restore from Backup


I have prepared code that first creates a new Content Database within a specified Web Application, then restores a Site Collection backup to that same Web Application.  Unfortunately, the Restore doesn't provide an option to select the Content Database that was just created.  So, is there something that I might do to ensure that the Site Collection gets restored to the Content Database of my choice, programmatically?  If not, is there something I can do to change the Content Database for the newly restored Site Collection?  All ideas would be appreciated.

Thank you,


Backup/Restore 404 File not found error ;Site site created besed on Custom Site Template




I am using SharePoint (Version: 12.0.6318.5000). The scenario is like that;

  • I have created a Site Collection and under that I have 2 sub sites and under each sub sites again I have a sub site (Site Collection [level 1]>>>SubSite+Lists [level 2]>>>SubSite+ Lists [level 3]>>>Lists, Doc. Library and Picture Library

How to take backup of navigation links in publishing site?


Hi All,

In publishing sharepoint site, I am adding top navigation links and quick launch links mannually (using modify navigation option). Since, number of links are more, I want to know where these links are stored so that I can take backup of just navigation settings.


Rahul Babar

Dot Net, Sharepoint, Infopath Developer

Why wss 3.0 backup site throwing email notification for completed task




We have taken backup and restore site in different box with all document and workflow (including workflow status) using STSADM.


Now the new backed up site is sending email notification for completed task from new box where task status is showing as completed.


Is it something that we also need to take backup of workflow runtime also? Not sure


Please advice.

Regards Sudip Misra sudipmisra@hotmail.com +91-9916768623 Bangalore

Site or Site Collection backup for first time Production deployment



I want to know if there is any issue using Site or Site Collection backup for first time Production deployment for either collaboration/Publishining site.



sharepoint site backup by stsadm command



I am having moss2007 production server.I am taking backup of site using command. My command is

C:/Program files/common files/Microsoft shared/Web Server Extension/12/BIN/stsadm -o backup -url http://fsplintranet/ -filename \\\image\backup.dat

When i run this command backup process  starts, but after some time it terminates. Showing error is:

Action cannot be completed, Please try again.


Please suggest how to complete this backup.

Thanks in advance.

Regards urvinit

How to backup and transfer WSS 3.0 site to a new Server


I am trying to find a best practices guide for backing up my Sharepoint Services 3.0 site and moving to a brand new server without having to rebuild the entire site.

I have attempted to backup the DB and move as well as the sharepoint directories without success. Perhaps there is an application or best method for doing this?

Thank you

civitas hall

Report throwing error in on new WSS Site created from backup of existing WSS Site.



We are using wss 3.0 and SSRS 2008.

We have taken a backup of WSS site and Report server DB from server1 and restorted the same on server2.

But when we are trying to access the report on this new server(Server 2) then we are facing this error -

The item 'http://server2:12121/sites/aaram/reports/Report Library/Administrator/ReportName.rdl' cannot be found. (rsItemNotFound).

When we redeploy the report the issue gets resolved. But this does not seem like a good solution as its not feasible to redeploy all the reports again.

Can someone please suggest a solution for this issue?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend