Blog Home  Home RSS 2.0 Atom 1.0 CDF  
{Patrick Tam Dot Net} - August, 2007
Patrick's Web and Moblog About Nothing
 
 Monday, August 13, 2007

Migrate content by using import/export

The import/export feature is based on the new Content Migration APIs. With import/export, you can migrate either subsites or entire site collections, and you can import a subsite into an existing site collection. Like the Smigrate.exe utility in the previous version, import/export requires that the site you import to already exists. Note that import/export does not include some site settings, such as Recycle Bin state and alerts.

To use import/export to migrate a site or site collection, use the following process:

1.

Export the subsite or site collection by using the following command:
c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe

Stsadm.exe -o export -url <URL> -includeusersecurity

2.

In Central Administration, on the Manage Content Databases page, set to offline all databases except the one that currently contains the subsite or site collection.

3.

Create a blank site or site collection to contain the content you are importing.

4.

Import the subsite or site collection by using the following command:

Stsadm.exe -o import -url <URL> -includeusersecurity

The includeusersecurity parameter specifies that you want to import the security settings for the subsite or site collection. If you do not need the security settings, you can omit this parameter.

OR

Migrate a site collection by using backup/restore

If you want to migrate an entire site collection, you can do so by using the backup and restore operations with the Stsadm.exe command-line tool. First, back up the site collection you want to move, then delete it from the current database and take the database offline. Then, restore the site collection to the new URL. Be sure that there is no site collection already at the new location, or the restore operation will fail.

 

If there is a site collection at the destination and you want to overwrite it, you can use the overwrite parameter with the restore operation.

To use backup/restore to migrate a site collection, use the following process:

1.

Back up the site collection by using the following command:

Stsadm.exe -o backup -url <URL> -filename <filename.dat>

2.

In Central Administration, on the Manage Content Databases page, set to offline the database that currently contains the site collection.

3.

Restore the site collection by using the following command:

stsadm.exe -o restore -url <URL> -filename <filename.dat>

4.

In Central Administration, on the Manage Content Databases page, set to online the database that originally contained the site collection.

8/13/2007 5:20:30 PM (Pacific Daylight Time, UTC-07:00)  #      Computer and Gadgets  | 
 Wednesday, August 01, 2007
Okay, this one took me a while to figure out, but nonetheless I found it and will share it.

In order to turn off or disable the MySite or MyLinks functionality you need to be an Sharepoint administrator.

Go to the Central Administration Web Page
Click on the link for Shared Services Administration
     --If you have more than one SSP, select the one that is running the MySites functionality
Under "User Profiles and My Sites" click Personalization Services Permissions

Select the group you want to limit the functionality for.  More than likely you will just have NTAuthority\Authenticated Users.

In the next screen you will see a list of checkboxes,
     --To disable MySites uncheck "Create Personal Site"
     --To disable MyLinks uncheck "Use Personal Features"

8/1/2007 5:47:37 PM (Pacific Daylight Time, UTC-07:00)  #      Computer and Gadgets  | 
Copyright © 2008 Partick Tam. All rights reserved.