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
Setting Up OneDrive on a New Mac After a Time Machine Restore
When moving to a new Mac using a Time Machine backup, OneDrive data does not transfer as expected because Time Machine does not back up OneDrive "online-only" placeholder files (Files On-Demand). These placeholders exist only as pointers managed by the OneDrive application, not as actual file data on your disk. If Files On-Demand was enabled on your old Mac, those placeholders will not be captured in the Time Machine backup.
Because of this limitation, the recommended approach is to complete the Time Machine restore first, then install OneDrive fresh on the new Mac. This allows the OneDrive client to rebuild your folder structure directly from the cloud, avoiding conflicts or stale placeholder data carried over from the old machine.
Critical warning about unsynced data: Before starting the Time Machine backup on your old Mac, quit the OneDrive application completely and verify that all important files have finished syncing to the cloud. Any OneDrive data that was not fully synced to the cloud before the backup was taken may not be recoverable from the Time Machine backup, because online-only placeholders do not contain the actual file content.
Prerequisites
- Existing Mac with a full Time Machine backup, including the Users folder.
- OneDrive fully quit on the old Mac before the Time Machine backup was taken.
- Internet connection for the initial OneDrive sync. If you have connectivity issues, see How to fix a Mac that won't connect to a Wi-Fi network.
- Enough local disk space to sync your required files, or use selective sync to limit local storage usage.
Step-by-Step Procedure
1. Restore the New Mac from Time Machine
- 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 with the migration.
- Do not install OneDrive yet. Wait until the macOS migration is finished and you are logged into your user account.
2. Complete macOS Setup
- Finish the remaining macOS setup steps, including Apple ID and iCloud sign-in.
- Log in to your user account and verify that your local files have been restored.
- Open Finder and confirm your user folders appear as expected.
3. Install OneDrive for macOS
- Download the latest OneDrive client from Microsoft.com.
- Open the downloaded installer package and follow the prompts to install OneDrive.
- Launch OneDrive from your Applications folder.
- Sign in with the same Microsoft 365 account used on your old Mac. If you have trouble signing in, refer to How to enable two-factor authentication (2FA) for Microsoft 365 accounts.
- During setup, select Files On-Demand. Do not enable "Sync all files and folders" unless you have sufficient local storage.
- Complete the setup wizard and allow OneDrive to initialise.
4. Configure Files On-Demand and Selective Sync
OneDrive Files On-Demand lets you access cloud files without downloading them to your Mac. After a fresh install, OneDrive rebuilds your folder structure from the cloud:
- Click the OneDrive cloud icon in the menu bar at the top of the screen.
- Select Help & Settings, then choose Preferences.
- Open the Account tab.
- 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 downloads only the selected content while leaving the rest as cloud placeholders.
5. Verify OneDrive Files in Finder
- Open Finder and navigate to the OneDrive folder in your sidebar.
- Files with a cloud icon are online-only placeholders. This is expected behaviour and those files should not be deleted.
- Files with a solid icon are fully downloaded to your Mac.
- If expected folders are missing, click the OneDrive menu bar icon, select Help & Settings → Preferences → Account → Choose folders, and ensure the correct folders are selected for sync.
6. Make Specific Files Available Offline (Optional)
If you need certain files available without an internet connection:
- Right-click the file or folder in Finder.
- Select Always keep on this device. OneDrive downloads 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.
Troubleshooting Missing or Conflicting OneDrive Data
Stale OneDrive Folder Conflicts
If the Time Machine restore copied a stale OneDrive folder from your old Mac, it may conflict with the fresh OneDrive installation. OneDrive may detect two different local folder structures and refuse to sync, or it may create a duplicate OneDrive folder.
- Quit OneDrive completely by clicking the menu bar icon, selecting Help & Settings, and choosing Quit OneDrive.
- Open Finder and navigate to your user folder.
- Locate any old OneDrive folder that was restored from Time Machine but is not the active OneDrive location.
- Move the stale folder to the Trash or rename it (for example, to
OneDrive - Old Mac) to prevent conflicts. - Restart OneDrive and sign in again.
- During setup, choose your preferred local OneDrive folder location and allow OneDrive to sync from the cloud.
Files Missing After Migration
- 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 remain 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