Solved

How to backup content database of sharepoint 2007

Posted on 2013-01-27
6
469 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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…

737 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