Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Backing up Site Collections

  Asked By: Chelsea    Date: Aug 27    Category: Sharepoint    Views: 2079

I've enumerated all the top level sites and created a script to
backup site collections using stsadm.exe.
I use the syntax;

stsadm.exe -o backup -url http://portal/personal/degaetani -filename

which works fine for the top level site. I took it one step further
& tried;

stsadm.exe -o backup -url http://brportal/personal/degaetani/Report
Services -filename e:\backup\stssubbu\degaetani_Report_Services.bak

and I got the error;

"The specified URL is not a top-level Web site. The backup and
restore operations work only for top-level Web sites. Enter the URL
for a site to try the operation again.",

which coincides with the Mindsharp, "Sharepoint Admin" courseware,
Mod.13, pg.26. Yes, the enumsubwebs parameter lists all sub-sites
within a site collection, but is that all it does? Are subsites
included when backing up the top level?



9 Answers Found

Answer #1    Answered By: Laura Walker     Answered On: Aug 27

stsadm.exe backs up site  collections (top level  sites) which includes
all subsites. You can use smigrate.exe to backup  an individual subsite
with the following command:

smigrate -w "http://brportal/personal/degaetani/Report
Services" -f "e:\backup\stssubbu\degaetani_Report_Services" -e -y

However, the smigrate method does not backup any security or personal
settings. The backup file created  has an *.fwp extension which is a
FrontPage web  package file (FrontPage can also be used to backup the
subsite instead of smigrate). I have also found out that if you rename
the *.fwp file to *.cab, you can open it to see all of the files that it

Answer #2    Answered By: Nina Banks     Answered On: Aug 27

when you run stsadm  to backup  you will be getting the entire site  collection to include TopLevel Site and Subsites.

Answer #3    Answered By: Sharonda Mcfarland     Answered On: Aug 27

...and if you're interested in keeping the security settings as well, check
out this article

Let me just say that I love the SPUtil Suite. We've created  a little
auditing piece around the SPUserUtil.

Answer #4    Answered By: Kalyan Pujari     Answered On: Aug 27

I get a “Page cannot be found when trying to access this article. Any ideas?

Answer #5    Answered By: Christop Mcfadden     Answered On: Aug 27

There was an extra trailing “period” on the url...


Answer #6    Answered By: Gopal Jamakhandi     Answered On: Aug 27

Apparently the latest version just entered testing and should be out soon.

Answer #7    Answered By: Chantal Rosa     Answered On: Aug 27

Yep, stsadm.exe backs up only top-level sites  and their subsites in their
entirety. You can't back up subsites using that utility. For subsites, use
smigrate.exe. It's included with Sharepoint in the same directory as

Answer #8    Answered By: Kyla Eckert     Answered On: Aug 27

After renaming the fwp to a cab, I get files named 01000000.000. I extract to another destination & get the same name, which then says I can’t open the file. What should this open with?

Answer #9    Answered By: Alisha Holmes     Answered On: Aug 27

The files are renamed when creating the fwp file, but you can open the manifest.xml file, search for the file you need and see which file it associated with it. For example, I opened manifest.xml in Notepad and searched for the file “Summary Accounts.xls”. This is what I found:

<File Name=”Summary Accounts.xls” Src=”31000000.000”>

I can then extract 31000000.000, rename it to an xls file and open in Excel. It’s not a very user friendly process, but it works.

Didn't find what you were looking for? Find more on Backing up Site Collections Or get search suggestion and latest updates.