Hi again

I've managed to solve the issue. It turns out that setting your source content 
database to read only prevents the "stsadm -o export" from working properly for 
some weird reason. I set the source database back to read-write mode, exported 
a site, and then imported it onto the new server with no issues whatsoever.

As a matter of interest, does anyone know why the 'export' command would fail 
if the DB is read only?

Nigel




From: [email protected] [mailto:[email protected]] On Behalf Of 
Nigel Hertz
Sent: Thursday, 20 January 2011 10:28 PM
To: ozMOSS
Subject: stsadm woes - MOSS 2007

Hi all

I'm exporting and importing teamsites... Well, at least I'm trying to.

To export, I'm using:  stsadm -o export -url 
http://oldserver/teamsites/sitename -filename D:\sitename -includeusersecurity 
-nofilecompression

To import, I'm using stsadm -o import -url http://newserver/teamsites/sitename 
-filename D:\sitename -includeusersecurity -nofilecompression

However, when trying to import, I'm getting this:  "The file  cannot be 
imported because its parent web /teamsites/sitename/teamsites/sitename does not 
exist."

I deleted the site "/teamsites/sitename" and recreated it as "/teamsites/sn" 
and it then says "The file  cannot be imported because its parent web 
/teamsites/sn/teamsites/sitename does not exist."

When I originally tested my scripts a couple of weeks ago, it all worked fine, 
however it's now giving me the above error.

The "/teamsites/" bit is a managed path, set as a wildcard inclusion (I tried 
it as an explicit inclusion as well without luck)

Does anyone have any ideas? I'm about to rip my hair out :|

Nigel


----------------------------------------------------------------
Nigel Hertz

Software Developer | Information Technology
Stockland
Level 25 | 133 Castlereagh Street | Sydney NSW 2000
T: 02 9035 2617 | F: 02 8988 2617


________________________________
Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.

_____________________________________________________________________________________________________________________________________________________________

Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to