Setting up a new Mac from a Time Machine backup – preserving OneDrive data
Summary
This guide helps you troubleshoot and resolve: Setting up a new Mac from a Time Machine backup – preserving OneDrive data. Follow the steps below to fix the issue.
Common Causes
Why This Article Exists
When moving to a new Mac using a Time Machine backup, it is important to understand how OneDrive interacts with the restoration process. Time Machine does not back up OneDrive "online-only" placeholder files (Files On-Demand). These placeholders exist only as pointers managed by the OneDrive app, not as actual file data on your disk. If your old Mac had Files On-Demand enabled, those placeholders will not be captured in the Time Machine backup.
The safest approach is to install OneDrive fresh on the new Mac after the Time Machine restore is complete. This allows the OneDrive client to rebuild your folder structure directly from the cloud, avoiding any conflicts or stale placeholder data carried over from the old machine.
Before starting the Time Machine backup on your old Mac: Quit the OneDrive application completely. This prevents backup consistency issues and ensures no files are mid-sync when the backup snapshot is taken.
Prerequisites
- Existing Mac with a full Time Machine backup (including the Users folder).
- OneDrive fully quit on the old Mac before the backup was taken.
- Internet connection for initial OneDrive sync — see How to fix a Mac that won't connect to a Wi-Fi network if you have connectivity issues.
- Enough local disk space to sync required files (or use selective sync).
Step-by-Step Procedure
1. Prepare the New Mac
- Boot the new Mac and complete the initial macOS setup until you reach the "Transfer Information" screen.
- Select "From a Mac, Time Machine backup, or startup disk".
- Connect the external drive containing the Time Machine backup.
- Choose the backup you want to restore and proceed. Do NOT install OneDrive yet.
2. Complete the macOS Setup (Without OneDrive)
- Finish the macOS setup steps (Apple ID, iCloud, etc.).
- Log in to your user account and verify that all local files have been restored.
3. Install OneDrive for macOS
- Download the latest OneDrive client from Microsoft.com.
- Install and launch OneDrive, then sign in with the same account used on the old Mac. If you have trouble signing in, refer to How to enable two-factor authentication (2FA) for Microsoft 365 accounts.
- During setup, choose "Files On-Demand" and select which folders to sync. Do NOT enable "Sync all files and folders" unless you have sufficient local storage.
4. Configure Files On-Demand
OneDrive Files On-Demand allows you to access files in the cloud without downloading them to your Mac. After a fresh install, OneDrive will rebuild your folder structure from the cloud:
- Click the OneDrive cloud icon in the menu bar.
- Open OneDrive preferences and go to the "Account" tab, then click "Choose folders".
- Select the folders you want fully synced locally. Leave other folders unchecked — they will appear as online-only placeholders in Finder.
- Click "OK". OneDrive will download only the selected content, leaving the rest as cloud placeholders.
5. Verify OneDrive Files
- Open Finder and navigate to the OneDrive folder in your sidebar.
- Files with a cloud icon are online-only placeholders. These are expected and should not be deleted.
- Files with a solid icon are fully downloaded to your Mac.
- If any expected folders are missing, click the OneDrive menu bar icon and select "Preferences" → "Account" → "Choose folders" to ensure the correct folders are selected for sync.
6. Force a Full Sync of Specific Files (Optional)
If you need certain files available offline:
- Right-click the file or folder in Finder.
- Select "Always keep on this device". OneDrive will download the actual file while leaving the rest as placeholders.
If you need to install additional approved software on your new Mac, see How to install approved software.
Common Pitfalls and How to Avoid Them
- Installing OneDrive before the Time Machine restore is complete — the client may attempt to sync before the system is ready, causing conflicts. Always install OneDrive after the macOS migration is finished.
- Enabling "Sync all files and folders" on a limited-capacity Mac can fill the drive and slow down the system. Use Files On-Demand and selective sync instead.
- Not signing into the same OneDrive account — you'll see a different set of files. Double-check the account email address matches what was used on the old Mac.
What to Do If Files Are Missing
- Log into OneDrive on the web and check the Recycle Bin for any missing items.
- If the files were online-only placeholders on your old Mac, they will still be safely stored in the cloud. Re-enabling the folder in OneDrive preferences will download the existing cloud files to your new Mac.
- If files are genuinely missing from the cloud, check the Recycle Bin — deleted items are retained for up to 93 days for Microsoft 365 business accounts.
- For permanently deleted files beyond the Recycle Bin retention period, contact your Microsoft 365 administrator, as they may be able to restore from the second-stage Recycle Bin in the admin centre.
Additional Resources
- How to backup photos to external drive — a good secondary backup strategy.
- Apple Time Machine documentation
If you encounter any issues during the migration, open a ticket via Open a Ticket and our team will assist.
Still Having Issues?
💻 Open a Ticket