Automatically backing up SharePoint 2010

wannabecraig
wannabecraig used Ask the Experts™
on
MS SharePoint 2010 has a backup and restore tool.  We use this a lot, however I can't seem to find a place to schedule the backup to run.

Does this exist?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014
Commented:
Hi,

Use below line for batch file and schedule the Job using windows task scheduler.

----------------------------------
cd "c:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN"

stsadm -o setsitelock -url http://sps.abc.com -lock readonly

stsadm -o backup -url http://sps.abc.com -filename D:\Backup\Sharepoint2010\Backup_%date:~-4,4%%date:~-7,2%%date:~4,2%.bak -overwrite

stsadm -o setsitelock -url http://sps.abc.com -lock none
---------------------------------
Sr. System Engineer
Top Expert 2012
Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial