Solved

Automatically backing up SharePoint 2010

Posted on 2014-02-25
2
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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. …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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