Pages

Tuesday, March 9, 2010

Create a batch file to do a sharepoint backup

Type the following to notpad

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

No comments:

Post a Comment