Error in Documentation

Jun 24, 2011 at 1:05 AM

In the "Restoring Content" section under "SITES", step 4 --it uses the -Force parameter which is invalid for STSADM -o import

Aug 12, 2014 at 6:55 AM
I figured someone would have updated the documentation by now. However, it looks like the documentation the WSS 3.0 Site Recycle Bin still includes the -force parameter.

For Site Collections:
STSADM –o restore –url http://<webapplication>/sites/<sitecollection> –filename <drive>:\<backupShare>\sites\BackupFile.bak

You can add the -overwrite parameter to overwrite a sitecollection. There is no -force parameter.

For Sites:
STSADM –o import –url http://<webapplication>/sites/<sitecollection>/<site> –filename <drive>:\<backupShare>\sites\BackupFile.bak

Again, there is no -force parameter for this command, either.


To get a list of parameters, just type:
stsadm -o restore
or
stsadm -o import