Exporting very large OneDrive content ?

EnterpriseArchitect 4,916 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.

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
906 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,015 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,761 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,167 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,219 questions
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 22,656 Reputation points Microsoft Vendor
    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