How To Move Sharepoint Site To Another Server

Moving a SharePoint site to another server requires careful planning and execution. It is essential to follow a step-by-step guide to ensure a successful transition. In this article, we will provide you with a comprehensive overview of the necessary steps to move your SharePoint site to another server.

If you are looking to move a single SharePoint site, you can follow these steps:

  1. Install SharePoint Server on the new machine.
  2. Remove the SharePoint_config and wss_content databases from the new server.
  3. Restore the databases from the old server to the new server.
  4. Run the SharePoint Central Administration and check for any errors.
  5. If you encounter problems with the above method, you can try backing up and restoring the site collection instead.
  6. Make sure to re-deploy any custom solutions or CSS files on the new server.

If you want to migrate the entire SharePoint environment to a new server, here are the steps to follow:

  1. Install SharePoint Server 2019 on the new server.
  2. Join the new server to the existing SharePoint farm.
  3. Gradually add new servers running Windows Server 2019 to the farm and remove the old servers running Windows Server 2012 R2 one by one.
  4. Upgrade the SQL servers to SQL Server 2019.
  5. Migrate the SharePoint databases from the old SQL servers to the new SQL servers using the Database Migration Assistant.
  6. Backup the old farm and restore it to the new server.

Before moving site collections to a different content database, ensure that the destination database already exists and that the source and destination databases are on the same instance of SQL Server. You can use PowerShell and the Move-SPSite command to move site collections between databases. It is also important to determine the size of the site collection and have enough free space on the destination hard disk. Additionally, you can use PowerShell to archive and trim audit data before moving the site collection.

Please note that these steps are general guidelines and may not be suitable for all SharePoint environments. It is recommended to consult documentation and seek assistance from a SharePoint expert when performing server migrations.

Steps to Move SharePoint Site to Another Server

Follow these steps to efficiently move your SharePoint site to another server:

  1. Install SharePoint Server on the new machine.
  2. Remove the SharePoint_config and wss_content databases from the new server.
  3. Restore the databases from the old server to the new server.
  4. Run the SharePoint Central Administration and check for any errors.

If you encounter problems with the above method, you can try backing up and restoring the site collection instead. Make sure to re-deploy any custom solutions or CSS files on the new server.

Migrating the Entire SharePoint Environment to a New Server

If you want to migrate the entire SharePoint environment to a new server, you can follow these steps:

  1. Install SharePoint Server 2019 on the new server.
  2. Join the new server to the existing SharePoint farm.
  3. Gradually add new servers running Windows Server 2019 to the farm and remove the old servers running Windows Server 2012 R2 one by one.
  4. Upgrade the SQL servers to SQL Server 2019.

Migrate the SharePoint databases from the old SQL servers to the new SQL servers using the Database Migration Assistant. Backup the old farm and restore it to the new server.

Moving Site Collections between Databases

Before moving site collections to a different content database, ensure that the destination database already exists and that the source and destination databases are on the same instance of SQL Server. You can use PowerShell and the Move-SPSite command to move site collections between databases. It is also important to determine the size of the site collection and have enough free space on the destination hard disk. Additionally, you can use PowerShell to archive and trim audit data before moving the site collection.

Moving a single site collection involves using the Move-SPSite command with the source and destination database names. Moving multiple site collections can be done by getting all site collections from the source database and using the move command with the destination database.

Action Command
Move single site collection Move-SPSite -Identity “http://sitecollectionurl” -DestinationDatabase “destinationdatabasename”
Move multiple site collections Get-SPSite -ContentDatabase “sourcedatabasename” | Move-SPSite -DestinationDatabase “destinationdatabasename”

Please note that these steps are general guidelines and may not be suitable for all SharePoint environments. It is recommended to consult documentation and seek assistance from a SharePoint expert when performing server migrations.

Migrating the Entire SharePoint Environment to a New Server

If you want to migrate your entire SharePoint environment to a new server, follow these steps:

  1. Install SharePoint Server 2019 on the new server.
  2. Join the new server to the existing SharePoint farm.
  3. Gradually add new servers running Windows Server 2019 to the farm and remove the old servers running Windows Server 2012 R2 one by one.
  4. Upgrade the SQL servers to SQL Server 2019.
  5. Migrate the SharePoint databases from the old SQL servers to the new SQL servers using the Database Migration Assistant.
  6. Backup the old farm and restore it to the new server.

To ensure a successful migration, it is crucial to follow these steps in sequence and consult the appropriate documentation. It is also recommended to seek assistance from a SharePoint expert when performing server migrations.

Moving Site Collections between Databases

Before moving site collections to a different content database, it is important to ensure that the destination database already exists and that the source and destination databases are on the same instance of SQL Server. To move site collections between databases, you can make use of PowerShell and the Move-SPSite command.

When moving a single site collection, use the Move-SPSite command with the source and destination database names. For moving multiple site collections, retrieve all site collections from the source database and execute the move command with the destination database.

Additionally, it is crucial to determine the size of the site collection and ensure that there is enough free space on the destination hard disk. PowerShell can also be used for archiving and trimming audit data before moving the site collection.

Considerations for Moving Site Collections between Databases:
Ensure destination database exists
Source and destination databases on the same SQL Server instance
Determine site collection size and available free space
Use PowerShell and Move-SPSite command
Archive and trim audit data before moving site collection

These steps and considerations will help ensure a smooth migration of site collections between databases in SharePoint. As always, it is recommended to consult relevant documentation and seek the guidance of a SharePoint expert for specific requirements and configurations.

Remember, successful migration of your SharePoint site or environment to a new server requires careful planning, thorough preparation, and attention to detail. With the right approach and expertise, you can seamlessly transition your SharePoint site to another server and enjoy the benefits of an updated environment.

Moving Site collections between Databases

When moving site collections between databases, specific steps and considerations need to be taken into account. PowerShell is a powerful tool that can simplify the process and ensure a smooth transition. The Move-SPSite command is particularly useful for moving site collections between databases.

Before getting started, it is important to determine the size of the site collection and ensure that there is enough free space on the destination hard disk. This will prevent any potential issues during the move. PowerShell can help in determining the size of the site collection.

To move a single site collection, you can use the Move-SPSite command with the source and destination database names. This command will handle the entire process of moving the site collection, including the metadata, permissions, and content. It is a convenient and efficient way to transfer site collections between databases.

If you need to move multiple site collections, you can first get all the site collections from the source database using PowerShell. Then, you can use the Move-SPSite command with the destination database to move each site collection one by one. This allows for a systematic and controlled migration process.

Additionally, PowerShell can be used to archive and trim audit data before moving the site collection. This helps in reducing the size of the site collection and ensures a more efficient transfer.

It is important to note that these steps are general guidelines and may not be suitable for all SharePoint environments. It is recommended to consult documentation and seek assistance from a SharePoint expert when performing server migrations. However, with the proper use of PowerShell and the Move-SPSite command, moving site collections between databases can be a straightforward and successful process.

Meet the Author

Abdul Rahim has been working in Information Technology for over two decades. Learn how Abdul got his start as a Tech Blogger , and why he decided to start this Software blog. If you want to send Abdul a quick message, then visit his contact page here.