Thursday, June 2, 2011

How to perform BackUp and Restore , Import and Export Using Stsadm Tool in SharePoint

change to 12 have

Back Up:

stsadm -O BackUp -Url "Site Url" -FaleName "Physical Location"

ReStore:

stsadm -O Restore -Url "Site Url" -FaleName "Physical Location"

OR


When you back up by using the Stsadm command-line tool, you can back up individual aspects of your SharePoint Products and Technologies deployment. For example, you can back up an individual site collection or you can back up the entire farm.

To export sites from your SharePoint Products and Technologies deployment, you use the following Stsadm command.

Stsadm –o export –url -filename .cmp
To back up a site collection, you must use the following stsadm command.

stsadm –o backup –url -filename

To back up an individual database, Web application, or the entire farm, you can use the following Stsadm command.

stsadm –o backup –directory -backupmethod

Restore:

To import sites to your SharePoint Products and Technologies deployment, you use the following Stsadm command.

Stsadm –o import –url -filename .cmp

To restore a site collection, you must use the following Stsadm command.

stsadm –o restore –url -filename
To restore an entire farm you can use the following Stsadm command.

stsadm –o restore –directory -restoremethod

No comments:

Post a Comment