Moving SharePoint On Prem to cloud

Simona Bushevska 1 Reputation point
2022-12-03T12:15:19.57+00:00

Do you have any suggestion of what the best approach is when moving SharePoint on prem to cloud? What should we take in consideration, some common question to have in mind, best practices from your personal opinion?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,229 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,611 Reputation points
    2022-12-05T01:27:12.607+00:00

    Hi @Simona Bushevska
    If you want to store documents in Document library, you could use sync function to store them in OneDrive:

    266963-image.png

    Or if you want to store the whole sites, you could back up the site first, then store it in could. Below is a method to back up and restore a site using SharePoint 2019 Management Shell (according to your SharePoint version):

    You could use two SharePoint Server 2019 Management shell command to achieve your requirement:

    1.Use this command to back up your site collection

     Backup-SPSite -Identity "http://sp/sites/luyi" -Path "C:\backup\portal.bak" -Force -NoSiteLock -Confirm:$False  
    

    2.Just copy the backup file to the cloud, if you want to restore it on your server, you could use this SharePoint Server 2019 Management shell command to restore this site collection from your PC location:

     Restore-SPSite "http://sp/sites/luyi" -Path "C:\backup\portal.bak" -Force -Confirm:$False   
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.