Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Automatically backing up SharePoint 2010

Posted on 2014-02-25
2
Medium Priority
?
274 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 1000 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 1000 total points
ID: 39889355
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Loops Section Overview
Suggested Courses

972 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