Thursday, November 24, 2011

Backup script using STSADM

@echo off
echo ===============================================================
echo Back up the farm to C:\backup
echo ===============================================================
cd %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\BIN
@echo off
stsadm.exe -o backup -directory "\backup" -backupmethod full
echo completed

No comments:

Post a Comment