Exporting very large OneDrive content ?

EnterpriseArchitect 6,041 Reputation points
2024-05-24T14:59:25.73+00:00

How can I save OneDrive for Business files to my local PC as a ZIP file (many or single)?

I have OneDrive with a total of 3.4 TB and various directories, the largest of which is the camera Roll directory, with each subdirectory comprising 300-400 GB and 200,000+ files.

So I'm trying to figure out if there's a script or method for doing it better.

Thank you, in advance.

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 31,606 Reputation points Microsoft External Staff
    2024-05-27T07:44:34.0666667+00:00

    Hi @EnterpriseArchitect ,

    In fact, judging from the size of your file, even if you use a script, it won't be much faster. There are three methods for your reference:

    1. Directly select the file and then download it. In this way, the file will be directly packaged into a zip file and downloaded.

    User's image

    1. Sync.

    User's image

    1. Using PowerShell.

    https://www.sharepointdiary.com/2021/09/how-to-download-all-files-from-onedrive-for-business.html

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    The latter two methods require you to download the file locally first and then compress it.

    Hope this helps you.


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.