Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

stsadm.exe - parsing enumsubwebs for backup?

  Asked By: Marcella    Date: Apr 13    Category: Sharepoint    Views: 1998

I am working on a Portal site that was created for my company (and the
relevant staff members at my place have left). The portal has 100s of
sites and I am trying to find a way of backing up individual sites as
well as just one-off portal backups (which are about 45gig).

I have found some good code on Technet that parses the enumsites
parameter with stsadm and backs up sites that way. Unfortunately, and
I am not sure why, the only way to see the sites in my portal is using
enumsubwebs, not enumsites - possibly because the url rule used is
http://[sps_server]/[site_name] rather then
http://[sps_server]/sites/[site_name]? Does anyone know if it is
possible to parse the enumsubwebs parameter instead? I have replaced
enumsites with enumsubwebs in the Microsoft vbs script but it fails
(and I am no good at script) and nothing in technet makes any
reference to it.



1 Answer Found

Answer #1    Answered By: Damon Garner     Answered On: Apr 13

In this URL:

[site_name] is a Subweb.

In this URL:

[site_name] is a top-level Web of its own site  collection in a managed
path called "sites".

You can iterate all of the subwebs using enumsubwebs.

You can iterate all of the site collections in a managed path using

Didn't find what you were looking for? Find more on stsadm.exe - parsing enumsubwebs for backup? Or get search suggestion and latest updates.