What Happens to Clipboard Data in Backups? (Time Machine, iCloud, and Cloud Backup Tools)
Quick answer: macOS’s live clipboard is held in memory and is never backed up. A clipboard manager is different. Maccy saves your history to a database file in its app container inside your Library folder, and Time Machine and most backup tools copy that file like any other. Anything you copied and kept in history can therefore sit in old backups, even after you delete it in the app.
Say you copied a database password at 9:14 on Tuesday, pasted it into a terminal, and cleared your Maccy app history ten minutes later. Is it gone? From the app, yes. From the Time Machine snapshot taken at 10:00, probably not.
This article follows that password through each layer of a typical Mac setup: the system clipboard, Maccy mac’s storage, local snapshots, external and cloud backups, and a restore onto a new Mac. At each step it says what is stored and what you can do about it.
Is the macOS clipboard itself included in backups?
No. The system pasteboard (what you fill with ⌘C) is managed by a background service and held in memory. It is not a file in your user folder. Restart your Mac and it is empty, and there is nothing for Time Machine to copy.
Universal Clipboard, which lets you copy on a Mac and paste on an iPhone, is a transient transfer between nearby devices signed in to the same Apple Account. It is not stored as iCloud backup content.
The picture changes once something records the clipboard to disk. Clipboard managers do exactly that, and that is where backups come in.
Where does Maccy store clipboard history on disk?
Maccy clipboard keeps its history in a local database inside its sandbox container, under your user Library folder. On current versions the path is approximately:
~/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy/
The exact filename and format have changed between major versions as the app’s persistence layer evolved, so check your own install rather than trusting any article, including this one.
To see what is there:
ls -lh ~/Library/Containers/org.p0deje.Maccy/Data/Library/Application\ Support/Maccy/ Three points matter for backups:
- Nothing leaves your Mac through Maccy. Maccy is local-first, with no account and no sync service. Any copy of your history outside this Mac exists only because a backup tool made it.
- It is not in a cache folder. Time Machine skips
~/Library/Caches, but an app container’s Application Support directory is ordinary user data and is included. - The history is whatever you let Maccy save. By default it keeps text, images, and files, up to a configurable item limit (200 by default, as far as I know ).
What does each backup method do with that data?
| Backup method | Includes Maccy history? | Notes |
|---|---|---|
| Time Machine (external drive or network) | Yes, by default | Keeps multiple historical versions. Encrypted only if you enable „Encrypt Backup” for that destination. |
| APFS local snapshots | Yes, temporarily | Created by Time Machine on the internal disk and pruned automatically, usually within about a day. They are protected by FileVault if it is on. |
| Disk cloners (Carbon Copy Cloner, SuperDuper) | Yes, if the user folder is included | Whole-volume clones copy everything. Snapshot or archive features keep old versions, depending on settings. |
| Cloud backup services (Backblaze, Arq, etc.) | Depends on tool and exclusions | Check the product’s default exclusion list for ~/Library. Version retention means deleted history may persist remotely. |
| iCloud Drive (Desktop & Documents sync) | No | It syncs those folders, not ~/Library. It is sync, not a full-system backup. |
| Migration Assistant to a new Mac | Yes | Copies user data and app data, so your history can arrive on the new Mac. |
Does deleting a clipboard item remove it from old backups?
No. A backup is a snapshot in time, and deleting something today does not reach into yesterday’s snapshots. When you clear history in Maccy, only the live database changes. Earlier Time Machine versions of that file still contain whatever was in it when they were taken.
Two further wrinkles are worth knowing:
- Deleted does not always mean overwritten. Database engines often reuse space lazily, so a freshly deleted record can linger in the file for a while before it is overwritten or compacted. I would not rely on „I deleted it a minute ago” as a security boundary.
- The history is one file, not many. You cannot selectively purge one copied password from Time Machine. Your options are to leave the backups alone or to delete every backup of the whole file.
How do I keep clipboard data out of backups?
There are three layers, in order of effectiveness. The first is the strongest because data that never reaches the database cannot be backed up.
1. Don’t record sensitive copies in the first place
Most password managers mark their clipboard writes with a „concealed” pasteboard type, a convention documented at nspasteboard.org. Maccy respects the standard concealed marker out of the box, but the exact list of ignored types is worth checking yourself.
- Open Maccy → Settings → Ignore.
- Under Applications, add apps whose clipboard contents should never be saved (password managers, banking apps, terminals you use for secrets).
- Under Pasteboard types, confirm the concealed and transient types appear in the list.
- Use the regex ignore option for patterns you can recognize, such as API key prefixes. Test it, because a regex that is too broad will silently drop things you wanted.
Menu names shift between releases, so treat these as pointers rather than exact labels.
2. Shrink what is there to back up
- Lower the history size in Settings → Storage so less accumulates.
- Turn off saving for content types you do not need. Images and files are the bulkiest and often the most revealing, since screenshots and copied documents are far richer than text.
- If you want history to be short-lived, enable clearing on quit if your version offers it.
This limits future backups. It does not touch old ones.
3. Exclude the folder from Time Machine
If you would rather not back up clipboard history at all, exclude the container:
- GUI: System Settings → General → Time Machine → select your backup disk → Options → add the folder to the exclusion list. The container is in a hidden Library folder, so press ⌘⇧. in the file picker to show hidden items.
- Terminal: a path-based exclusion that survives the folder being recreated, which needs admin rights:
sudo tmutil addexclusion -p ~/Library/Containers/org.p0deje.Maccy
tmutil isexcluded ~/Library/Containers/org.p0deje.Maccy
The trade-off is real: if you restore from backup, you lose your clipboard history. For most people that is an acceptable loss, since clipboard history is ephemeral by nature.
How do I remove clipboard history that is already in Time Machine?
Open Time Machine from the menu bar, navigate to the folder containing the file, select it, and use the contextual menu to choose Delete All Backups of…. This removes every stored version of that item. It is all-or-nothing, so you will lose the history of that file across the whole backup, which is usually what you want here.
Do this after you have excluded the folder, or the next backup will simply add a fresh copy. If you also want to get rid of the live data, clear Maccy’s history first.
Is a backup of clipboard data actually a risk?
It depends on your threat model, so here is a calibrated view rather than a scare.
| Scenario | Real risk? |
|---|---|
| Encrypted Time Machine disk in your home | Low. Backup data is only readable with the password. |
| Unencrypted external drive that travels with your laptop bag | Meaningful. Anyone holding the drive can read your history file. |
| Shared NAS or Time Capsule-style destination | Depends on who has access to the share and whether the backup is encrypted. |
| Cloud backup with client-side encryption | Low to moderate. Check retention policy for deleted file versions. |
| Selling or handing down a Mac after Migration Assistant | Easy to overlook. Clear history before migrating if you want a clean start. |
Maccy’s history is only as exposed as the weakest copy of it. FileVault on the Mac and „Encrypt Backup” on the backup disk close most of the realistic gaps. Excluding the folder and ignoring sensitive apps close the rest.
A practical audit in five minutes
- Check what Maccy is saving: look at Settings → Storage and Ignore.
- Check whether Time Machine encrypts: System Settings → General → Time Machine, then look for the lock icon on your destination.
- Check FileVault: System Settings → Privacy & Security → FileVault.
- Decide on exclusion: if you copy secrets regularly, exclude the container.
- Check third-party backup tools: look at their exclusion and version-retention settings.
The short version
The clipboard itself leaves no trace in backups, but a clipboard manager’s history is a normal file, and normal files get backed up with versions. Deleting an item clears it from the live app and nowhere else. If you work with secrets, stop them from being recorded in the first place, encrypt your backups, and exclude the history folder if you can live without restoring it.
Maccy is free and open source, and you can inspect exactly what it stores in the project repository. What do you copy most often that you would never want sitting in a backup? That list is the best starting point for your ignore rules.
FAQ
Does Time Machine back up my clipboard?
Not the live clipboard, which exists only in memory. It does back up a clipboard manager’s saved history file, because that is ordinary app data in your Library folder.
Does iCloud back up Maccy’s clipboard history?
No. Maccy has no sync, and iCloud Drive’s Desktop & Documents sync does not cover your Library folder. Universal Clipboard transfers are transient and not part of an iCloud backup.
Can I exclude clipboard history from backups?
Yes. Add Maccy’s container folder to Time Machine’s exclusion list, or use sudo tmutil addexclusion -p with the path. Your history will not be restored if you later recover from backup.
If I clear Maccy history, is it removed from my backups?
No. Backups keep earlier versions of the file as they were. To remove them, delete all backups of the history file from within Time Machine.
Will my clipboard history transfer to a new Mac?
Usually yes. Migration Assistant copies app data from your user account, so history can arrive on the new Mac. Clear it first if you want a fresh start.
If you want to try it yourself, maccy.at is a free, open-source clipboard manager for macOS — the clipboard history guide covers the rest.