Solved

How to backup content database of sharepoint 2007

Posted on 2013-01-27
6
473 Views
Last Modified: 2013-02-05
How to backup content database of an existing site collection in sharepoint 2007 and use this backup database in different site collection.

Is this possible?
0
Comment
Question by:PagodNaUtak
[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
  • 3
  • 2
6 Comments
 
LVL 32

Accepted Solution

by:
Jamie McAllister MVP earned 250 total points
ID: 38825910
Certainly you can restore databases and reattach. This could restore your e.g. Site Collection to a new farm.

Are you talking about using this as a way to duplicate Site Collections in the same farm as that could be problematic?

Simple case here;

http://geekswithblogs.net/WorldofTray/archive/2010/02/23/how-to-connect-to-a-restored-content-database-in-sharepoint.aspx
0
 
LVL 38

Assisted Solution

by:Justin Smith
Justin Smith earned 250 total points
ID: 38827143
Unless the site is over 30 GB or so, just use site level backup/restore.  Of course, this would require you to restore the site to either a different web app, or different content database on the same web app.

stsadm -o backup -url http://urlofsite -FileName "C:\path\file.bak"

stsadm -o restore -url http://urlofnewsite -FileName "same as above"

http://technet.microsoft.com/en-us/library/cc263441.aspx

__________________________________________________________________________
Follow me on Twitter!  @justinsmith317
0
 
LVL 8

Author Comment

by:PagodNaUtak
ID: 38829570
Are you talking about using this as a way to duplicate Site Collections in the same farm as that could be problematic?

Yes, but not really. What I want to accomplished is backup the content database, then delete all subsite except for one subsite which is subsiteA. Then in the original content database I will delete the subsiteA. After setting the content database, I will create a new site collection then use the backup content database for the new site collection.

I am thinking that by doing this, I am able to move the subsiteA to a new content database. Will this work? If so, please let me know how? Also, Will this be problematic?
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 38

Expert Comment

by:Justin Smith
ID: 38829632
Im not really following you. Site collections can be moved to other db's by a command. Subsites can't be split from their site collection and placed in a separate db.

You could use a third party app to export a subsire and promote to a site collection. If that is your goal.
0
 
LVL 8

Author Comment

by:PagodNaUtak
ID: 38833726
Hi Ach1lles,

Thanks, your understanding is correct. what I need to do is to split subsite from their site collection and placed it in a separated db.

Is there really no option at all?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 38833788
No.  Other than making the subsite a site collection, with a 3rd party tool.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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. …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

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