How to set up and sync an external drive for automatic photo backups on macOS
Summary
This guide helps you troubleshoot and resolve: How to set up and sync an external drive for automatic photo backups on macOS. Follow the steps below to fix the issue.
Common Causes
Managing a large photo library can quickly consume your Mac's internal SSD storage, leading to performance issues. Moving your System Photo Library to an external hard drive frees up internal space, but because the library is no longer on your internal drive, it requires its own backup strategy. This guide explains how to relocate your photo library to an external drive, set up automatic backups with Time Machine, verify the move was successful, and safely handle the original library.
Prerequisites
- An external hard drive or SSD with a capacity larger than your current photo library.
- A second external drive for Time Machine backups (separate from the drive holding your photos).
- The photo library drive should be formatted as APFS or Mac OS Extended (Journaled) for optimal performance with macOS.
- The Photos app must be closed before moving the library.
- Approximately one to several hours, depending on the size of your library and connection speed.
Detailed Instructions
Step 1: Prepare the External Drive
- Connect your external drive to your Mac.
- Open Disk Utility using
Command + Spaceand typing "Disk Utility". - Select your external drive from the sidebar and click Erase.
- Choose APFS (recommended for SSDs) or Mac OS Extended (Journaled) (for HDDs) as the format.
- Click Erase to format the drive.
Step 2: Move the Photo Library
- Close the Photos app completely. Ensure it is not running in the background.
- Open Finder and navigate to your
/Users/[YourUsername]/Picturesfolder. - Locate the file named
Photos Library.photoslibrary. - Drag and drop this file from your internal folder to your external hard drive. This copies the library; it does not delete the original yet.
- Wait for the copy process to complete. Depending on the size of your library, this may take several hours.
Step 3: Set the New Library as the System Photo Library
- Hold down the
Optionkey on your keyboard and click the Photos app icon to launch it. - A window will appear asking you to choose a library. Click Other Library....
- Navigate to your external drive, select the
Photos Library.photoslibraryyou just moved, and click Choose. - Once Photos opens, go to the top menu and select Photos > Settings (or Preferences on older macOS versions).
- In the General tab, click the button labelled Use as System Photo Library. If it is greyed out, it is already set as the primary library.
Step 4: Verify the Moved Library Works
- With the external drive connected, confirm that the Photos app opens and displays your full library.
- Open several photos from different dates and albums to ensure they load correctly.
- Test that you can import a new photo or make a small edit and save it.
- Quit the Photos app completely.
Only proceed to the next step after you have verified that the library on the external drive opens and functions correctly.
Step 5: Handle the Original Library on Your Internal SSD
After verifying the external library works, you have two options for the original Photos Library.photoslibrary in your /Users/[YourUsername]/Pictures folder:
- Delete it to reclaim internal SSD space. Drag the original library to the Trash and empty the Trash. This is recommended if storage space is your primary concern.
- Keep it as a local backup if you want an additional copy on your internal drive. Be aware that this consumes the same amount of space as the original and may cause confusion about which library is active.
Step 6: Configure Automatic Backups with Time Machine
Moving the library to an external drive protects your internal space, but it does not provide a backup. If the external drive fails, your photos could be lost. To ensure your photos are automatically backed up, use Time Machine with a second external drive.
- Connect your second external backup drive to your Mac. This must be a separate physical device from the one holding your photo library.
- Go to Apple Menu > System Settings > General > Time Machine.
- Click Add Backup Disk and select your backup drive.
- Click Options... and ensure that your photo library drive is not in the "Exclude" list.
- Time Machine will now automatically back up your photo library whenever both the photo library drive and the backup drive are connected to your Mac.
Troubleshooting
Photos app cannot find the library
This usually happens if the external drive is not mounted or has changed its mount point. Ensure the drive is plugged in and visible in Finder before launching the Photos app. Remember that the Photos app will not work if the external drive containing the library is disconnected.
"Library is not compatible" error
This typically occurs if the external drive is formatted as ExFAT. You must reformat the drive to APFS or Mac OS Extended as described in Step 1. Be aware that formatting erases all data on that drive.
Permission errors accessing the library
If you encounter permission errors when opening the library from the external drive:
- Select the
Photos Library.photoslibraryfile in Finder. - Press
Command + Ito open Get Info. - Under Sharing & Permissions, ensure your user account has Read & Write access.
- If needed, click the lock icon to authenticate, then apply the changes to enclosed items.
Slow performance when browsing photos
- Ensure you are using a high-speed connection (USB-C or Thunderbolt 3/4).
- Avoid using USB hubs for your primary photo library; connect the drive directly to the Mac.
- Check that your drive is not nearly full, as SSDs slow down significantly when capacity exceeds 90%.
Repairing the photo library
If the library behaves unexpectedly after the move, you can attempt to repair it using the built-in Photos repair tool:
- Close the Photos app completely.
- Hold down the
CommandandOptionkeys and click the Photos app icon to launch it. - Click Repair to begin the library repair process.
- Wait for the repair to complete. This may take some time for large libraries.
If you encounter any errors during the migration or need assistance with drive formatting, please Open a Ticket.
Still Having Issues?
💻 Open a Ticket