RE: Move site in hierarchy

From: Wei-Dong XU [MSFT] (v-wdxu_at_online.microsoft.com)
Date: 08/24/04


Date: Tue, 24 Aug 2004 04:34:34 GMT

Hi Brian,

So far as I know, the smigrate may provide some assistance for you
regarding this issue. Please see my steps for you:
1. assume there are three sites as you described
Top-Level
A (url: http://>/a)
|
--B (url:
http://>/a/b)
   |
   --C (url:
http://>/a/b/c)

2. you can use the smigrate.exe utility from the folder
%programfiles%\Microsoft Shared\web server extensions\60.
use the command below to backup each site
smigrate -w
http://>/a -f <path>/onlya.fwp -e
* e means to exclude the sub site
smigrate -w
http://>/a/b -f <path>/onlyb.fwp -e
smigrate -w
http://>/a/b/c -f <path>/onlyc.fwp -e

After the three command execution, we have three backup package of the each
site A ,B ,C.

3. then delete these sites A, B, C; after the removing, create one Site
called B under the top-level site (url:
http://>/b); please
don't apply any template to the site if applied we can't restore B to the
new created site
Then use this command to restore the site B
smigrate -r -w
http://xman:8/b -f onlyb.fwp

4. create one sub site under B call A (url: http://>/b/a).
smigrate -r -w
http://xman:8/b/a -f onlya.fwp

5. create a sub site under a for c (url: http://>/b/a/c)
smigrate -r -w
http://xman:8/b/a/c -f onlyc.fwp

In addition, if there is lots of site in your site hierachy, with the help
of stsadm(create site as below), I'd suggest you can write one bat file to
perform the backup and restore for chaning the hierachy.
stsadm -o createweb -url http://>/<web name>
* this command will create one site without one template.

Please feel free to let me know if you have any further question.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • Re: vista backup restore
    ... can you pl search for vhdmount.exe on your c: or drive on wihch virtual pc is installed and try out the command that i have provided below. ... Should I install virtual server? ... did you use the "backup and restore center" advanced restore flow -> files ...
    (microsoft.public.windows.vista.file_management)
  • Re: vista backup restore
    ... virtual pc is installed and try out the command that i have provided below. ... Should I install virtual server? ... backup application is not able to find the backups. ... the backups done prior to os reinstall - you can use the advanced restore ...
    (microsoft.public.windows.vista.file_management)
  • Re: vista backup restore
    ... virtual pc is installed and try out the command that i have provided below. ... Should I install virtual server? ... backup application is not able to find the backups. ... the backups done prior to os reinstall - you can use the advanced restore ...
    (microsoft.public.windows.vista.file_management)
  • Re: vista backup restore
    ... command prompt as mentioned below. ... Should I install virtual server? ... backup application is not able to find the backups. ... to restore files ...
    (microsoft.public.windows.vista.file_management)
  • Re: Deleted log file
    ... You'll probably have to restore from backup. ... Run the following command from the ... that means the databases is inconsistent and you ...
    (microsoft.public.exchange2000.general)