SharePoint Migration Practices

Source: Internet
Author: User
Tags command line ftp backup

1. Backup//In CMD use the following command

CD%SystemDrive%\Program Files\Common files\microsoft Shared\Web server Extensions\12\bin\

Stsadm.exe-o backup-url http://192.168.1.2-filename "E:\backup\2010_8_11_Backup.data" –overwrite

2. Restore//In CMD using the following command

Iisreset/stop

CD%SystemDrive%\Program Files\Common files\microsoft Shared\Web server Extensions\12\bin\

Stsadm.exe-o restore-url http://127.0.0.1/-filename "E:\Sharepoint backup\script\sharepoint_en.data"-overwrite

Iisreset/start

3. Account permissions set (very very very important)

This step is not necessary if you are using external ad for centralized validation.
The original account has been unable to log in, unless an external ad authentication is used.
Application Management-Site collection administrator-Change site collection-Web application-Select Web application
Add the Administrator account for the new system, and then go to SharePoint and delete all the original accounts.

4. Export/import User

Download Ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/addusers_x86.exe

Rename it to Addusers.exe and copy the file into the System32 folder.

(or you can not do this, put System32 just to facilitate the use of commands directly on the command line without the need to enter the full absolute path)

Export the current user (execute the following command on the server that needs to be migrated, export the current user to the C:\users.txt file):

Addusers/d:u C:\users.txt

/d:u parameter: U is necessary, if you do not add u, then the Chinese 2000 will not lead users and groups in the Chinese description.

Import the user (copy the exported TXT file to the new server and execute the following command on the new server):

addusers \ New server name/C c:\user.txt/p:e

Parameter explanation:

Computer Name: The computer name where the account is to be created

/C: Use a file to introduce a user list

File path: After the/C parameter is specified

/P:L/C/E/D: Account options, where:

L: Users need to change their password the next time they log on

C: User must not change password

E: password is always valid

D: The account is paused to use

The imported account will keep the same group information as it was exported, but the password is empty, so you need to change the password again.

The last remaining step is to give the imported account a new permission in SharePoint, and the entire migration will end.

SharePoint migration, previous attempts to use SharePoint 3.0 Central Administration for backup operations, but the system's own backup will always encounter problems when the restore failed, but fortunately in the test environment to do the operation, otherwise the server was destroyed. You have also tried to use the Backup database method for import and export backups, backupexec SharePoint Agent backups, and so on, but these methods always encounter various problems during the operation, resulting in the recovery not completing properly.

This article comes from "Life is not, fighting is endless!" "Blog, please be sure to keep this source http://soulful.blog.51cto.com/468033/372624

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/web/sharepoint/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.