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
Solved

Automatically backing up SharePoint 2010

Posted on 2014-02-25
2
263 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 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