---
title: "What is the command to take backup and restore for sharepoint site?"  
description: "What is the command to take backup and restore for sharepoint site?"  
author: "Anonymous User"  
published: 2011-09-07  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/1205/what-is-the-command-to-take-backup-and-restore-for-sharepoint-site  
category: "sharepoint"  
tags: ["sharepoint"]  
reading_time: 1 minute  

---

# What is the command to take backup and restore for sharepoint site?

Backup command:\
stsadm -o backup -url http://moss:4002/ -filename c:\bkupsite.bak\
To restore :\
stsadm -o restore -url http://moss:4004/ -filename c:\bkupsite.bak

## Answers

### Answer by Anonymous User

Backup command:\
stsadm -o backup -url http://moss:4002/ -filename c:\bkupsite.bak\
To restore :\
stsadm -o restore -url http://moss:4004/ -filename c:\bkupsite.bak


---

Original Source: https://www.mindstick.com/interview/1205/what-is-the-command-to-take-backup-and-restore-for-sharepoint-site

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
