Solved

Automatically backing up SharePoint 2010

Posted on 2014-02-25
2
258 Views
Last Modified: 2014-03-14
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?
0
Comment
Question by:wannabecraig
2 Comments
 
LVL 13

Assisted Solution

by:Santosh Gupta
Santosh Gupta earned 250 total points
ID: 39886808
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
---------------------------------
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 250 total points
ID: 39889355
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now