Home › Knowledgebase › KB-1744

iCloud Drive Sync Conflicts Overwriting POS End-of-Day Reports on macOS

Summary

This guide helps you troubleshoot and resolve: iCloud Drive Sync Conflicts Overwriting POS End-of-Day Reports on macOS. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

iCloud Drive is designed to keep documents up to date across multiple Macs, but it can cause serious data loss in a retail environment where end-of-day CSV reports are overwritten by older versions after a network interruption. If your staff iMac reconnects to the internet following an outage, iCloud may upload a stale copy of a report and create a conflicted version, replacing the most recent end-of-day export. This guide explains how to recover overwritten reports, identify conflicted copies, and pause syncing during critical close-of-business periods.

Quick Fix Steps

  1. Pause iCloud Drive syncing before running end-of-day reports.
  2. Check Finder for files named with (conflicted copy).
  3. Restore previous versions from iCloud.com if the latest CSV was overwritten.
  4. Check Time Machine backups as an alternative recovery method for macOS files.
  5. Merge the correct data into a single report and save it locally.
  6. Resume iCloud Drive syncing once the close-of-day process is complete.

Detailed Instructions

1. Pause iCloud Drive During End-of-Day Closes

Note: Menu paths differ depending on your macOS version. macOS Ventura and later use System Settings. macOS Monterey and earlier use System Preferences.

  1. Click the Apple menu (Apple) and select System Settings (Ventura+) or System Preferences (Monterey and earlier).
  2. Click Apple ID, then select iCloud from the sidebar.
  3. Next to iCloud Drive, click Options.
  4. Deselect Sync this Mac or uncheck specific folders such as Shop Reports to temporarily stop syncing.
  5. Click Done.

Note: Re-enable iCloud Drive syncing immediately after you have saved and verified your end-of-day reports so other locations remain up to date.

Warning: Check if Optimise Mac Storage is enabled in iCloud Drive settings. This feature may remove local copies of older files to save space, meaning the file may not be available locally for recovery and must be downloaded from iCloud.com.

2. Locate or Create the Shop Reports Folder

  1. Open Finder.
  2. Navigate to your iCloud Drive location, typically found at ~/Library/Mobile Documents/com~apple~CloudDocs/.
  3. Look for the Shop Reports folder.
  4. If the folder does not exist, right-click in the iCloud Drive directory, select New Folder, and name it Shop Reports.
  5. Configure your POS software to export end-of-day CSV reports to this specific folder.

3. Identify Conflict Copies in Finder

  1. Open Finder and navigate to your Shop Reports folder.
  2. Use the search bar in the top-right to search for conflicted copy.
  3. Look for filenames similar to End-of-Day Report 2024-05-20 (conflicted copy).csv.
  4. Open each conflicted copy and compare the timestamps and sales figures against your main report file.

4. Recover Older Versions via iCloud.com

  1. Open a web browser and go to https://www.icloud.com.
  2. Sign in with the Apple ID used for iCloud Drive on the retail iMac.
  3. Click iCloud Drive.
  4. Locate the overwritten report, select it, and look for the version history or restore options in the interface toolbar.
  5. Browse the available versions and select the correct end-of-day export.
  6. Click Download to save the recovered file to your Mac.

Warning: Do not simply replace the current file with an older version without checking the conflicted copy first, or you may lose legitimate sales data entered after the last successful sync.

5. Recover Files Using Time Machine

  1. Connect your Time Machine backup drive to the iMac.
  2. Open Finder and navigate to the folder containing the overwritten report.
  3. Click the Time Machine icon in the menu bar and select Enter Time Machine.
  4. Use the timeline on the right side of the screen to browse to a date before the file was overwritten.
  5. Select the correct version of the CSV report and click Restore.

6. Merge and Save the Correct Dataset

Warning: Ensure the POS application is completely closed before copying or merging CSV files. Having the POS software open may lock the file, preventing changes from being saved or causing data corruption.

  1. Open the primary CSV file and the recovered version in a spreadsheet application such as Numbers or Microsoft Excel.
  2. Compare row-by-row to identify missing transactions.
  3. Copy any missing end-of-day entries into the primary report.
  4. Save the merged file with a clear name, for example End-of-Day Report 2024-05-20 FINAL.csv.
  5. Move the file out of the iCloud Drive folder temporarily if you want to prevent further sync conflicts while you verify the data.

7. Resume iCloud Drive Syncing

  1. Open System Settings > Apple ID > iCloud (or System Preferences > Apple ID > iCloud).
  2. Click Options next to iCloud Drive.
  3. Re-enable Sync this Mac or re-check the Shop Reports folder.
  4. Click Done and allow iCloud to upload the verified report.

Troubleshooting

iCloud Drive Is Not Syncing After Reconnection

Cannot Find Version History on iCloud.com

Conflicted Copies Cannot Be Opened or CSV Data Is Corrupted

Reports Continue to Overwrite Each Other

If you are unable to recover your reports using these steps, please Open a Ticket for further assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket