1.

Solve : batchfile to backup sharepoint web application?

Answer»

I am trying to write a batch file that will backup a WEB application, we have a multi-tennant farm so I WANT to promt the end user to type in the siteID
i.e. 110xx-Auth01 to 11010-Auth01

What I have so far is:

@echo off
echo ===============================================================
echo Back up site to \\s604414dc4vw74\11005\
echo Change 110xx-Auth01 to the site you are backing up in integration
echo ===============================================================
@echo off
pause >CON
REM variables to replace - VERIFY before continuing - hit ctrl+c to cancel script
set /p siteid stsadm.exe -o backup -DIRECTORY \\s604414dc4vw74\11005\ -backupmethod full -ITEM "Farm\Windows SharePoint Services Web Application\110xx-Auth01" -nositelock

echo completed

Thanks for the help.



Discussion

No Comment Found