Tuesday 14 May 2013

Content DB backup and restore for site collection.

Content DB backup and restore for site collection through powershell commands.

1. Backup
stsadm.exe -o backup -filename "E:\SharePointBackups\filename_for_sitecollection" -overwrite -url  "url_of_sitecollection"

2. Restore
stsadm -o restore -url "<URL name>" -filename "<UNC path>"

No comments:

Post a Comment