How to take Shared Services backup using STSADM command ?
Step 1
Run the below command
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o backup -showtree
Farm\
[SharePoint_Config]\
Windows SharePoint Services Web Application\
cab case 17891\
sharepoint_admin\
murthy's SharePoint - 11816\
WSS_Content_Murthy\
MYSITE- 17665\
WSS_Content_mysite\
second MYSITE- 25772\
WSS_Content_secondMYSITE\
SharePoint - 12666\
WSS_Content_recordcenter\
SharePoint - 80\
WSS_Content_80\
vijaysi's case- 26480\
WSS_Content_vijaysi\
[WSS_Administration]\
[Web Application]\
SharePoint_AdminContent_227a83af-feb9-4de9-9f40-4312912cfc7a\
SharedServices1\
[sspadmin- 22667]\
WSS_Content_sspadmin\
[SharedServices1_DB]\
[UserProfileApplication]\
[SessionStateSharedApplication]\
[Shared Search Index]\
[SharedServices1_Search_DB]\
SharedServices2\
[second ssp admin site - 20417]\
WSS_Content_secondSSPadmin\
[SharedServices2_DB]\
[UserProfileApplication]\
[SessionStateSharedApplication]\
[Shared Search Index]\
[SharedServices2_Search_DB]\
Global Search Settings\
SSO\
[ ] - item cannot be selected.
* - not selected to be backed up.
To start the backup or restore process, run the command again omitting the -show
tree option.
Step 2
Run the command using -item switch to enter the Top level to backup in our case we are taking a backup of SharedServices1
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o backup -directory c:\sspbackup.bak -backupmethod full -item SharedServices1
Verbose: The backup/restore process included the following objects:
*Farm\
*[SharePoint_Config]\
*Windows SharePoint Services Web Application\
*cab case 17891\
*sharepoint_admin\
*murthy's SharePoint - 11816\
*WSS_Content_Murthy\
*MYSITE- 17665\
*WSS_Content_mysite\
*second MYSITE- 25772\
*WSS_Content_secondMYSITE\
*SharePoint - 12666\
*WSS_Content_recordcenter\
*SharePoint - 80\
*WSS_Content_80\
*vijaysi's case- 26480\
*WSS_Content_vijaysi\
*[WSS_Administration]\
*[Web Application]\
*SharePoint_AdminContent_227a83af-feb9-4de9-9f40-4312912cfc7a\
SharedServices1\
[sspadmin- 22667]\
WSS_Content_sspadmin\
[SharedServices1_DB]\
[UserProfileApplication]\
[SessionStateSharedApplication]\
[Shared Search Index]\
[SharedServices1_Search_DB]\
*SharedServices2\
*[second ssp admin site - 20417]\
*WSS_Content_secondSSPadmin\
*[SharedServices2_DB]\
*[UserProfileApplication]\
*[SessionStateSharedApplication]\
*[Shared Search Index]\
*[SharedServices2_Search_DB]\
*Global Search Settings\
*SSO\
Completed with 0 warnings.
Completed with 0 errors.
Backup completed successfully.
-------------------------------------------------
Operation completed successfully.
[ ] - item cannot be selected.
* - not selected to be backed up.