Bear Special Backup and Versioning - Shortcuts
The Bear built in backup functions has some limitations, so in wait for the developer to improve on this, I made a couple of new Apple Shortcuts:
- Bear Special Backup
- Bear Versioning (Incremental backup)
Bear Special Backup - Shortcut
- Download and install: Bear Special Backup - Shortcuts
What it does:
- Backup of Bear as standard .bear2bk archive .
This archive is needed for full restore!
(But is not very accessible for individual notes restore) - Extacts this archive to date-stamped folder as
.textbundles.
This folder gives easy access to do individual notes restore. - Python3 script is included, correcting created and modified dates
on all.textbundlesandtext.mdfiles (getting these dates from info.json).
This makes it easy to browse search for individual notes you need to restore. - Moves trashed, archived, and encrypted notes into respective subfolders.
(Yes, the encrypted notes are part of the backup, but they are kept encrypted in theinfo.jsonfile with a zero bytetext.mdfile) - The Python script included in this shortcut, was coded and debugged in Microsoft Visual Studio Code for Mac with Micosoft Python plugins.
Caveats etc.
- Only runs on MacOS
- Only been tested on my limited 1,300 plus notes library.
- Run this weekly or monthly in tandem with the Bear Versioning (Incremental backup) shortcut described below. Or as often as you like, manually or sheduled.
- Default export folder is set to
~/Downloads/, change this as you please. - I have NOT found any way to restore individual encrypted notes, hoping the developers could let us know how to do that – @trix180 @matteo ?
- Make any changes, you like or need to, but please try to figure it out – this is shared with you, but comes without support

Bear Versioning - Incremental backup
- Download and install: Bear Versioning - Shortcuts
What it does:
- Exports only notes changes since last exported note’s modification date.
- Notes with attachments are exported as
.textbundles - Notes without attachments are exported as plaintext
.mdfiles - Newer versions of same notes, will get numbers added at end of file/package name, so you can retain versioning.
- It is the companlion to the the Bear Special Backup shortcut above.
- Default export folder is
/iCloud/bear-export/Versions yyyy-MM/ - First run will export
@last3days - Run it daily or at least once a week. Or even better, as often as you need,
Caveats etc.
- Does not export notes in Archive and Trash and also not Locked (encrypted) notes
- Must be run at least once a week, otherwise some updates may be missed.
- Safer to run it mostly on one device only, to avoid file conflicts.
- So using the default export folder in iCloud, may the best for accessing versions on the other devices.
- I’m running it on schedule twice daily on iPhone.
- Best open Bear and wait for it to sync from other devices before running shortcut. But even so, next time it’s run, it should catch up with new updates.
- Also, run it as often as you like, manually when you want to save versions. It will only export notes that has been changed.
- Make any changes, you like or need to, but please try to figure it out – this is shared with you, but comes without support

Happy versioning ![]()
PS.
- I found the free EasyFind.app to be very easy for searching and browsing in either export folders (Bear Special Backup extacted folder and the Bear Versioning export folder).
- FAF is also a goood tool for this.
- And not to forget the Panda.app! My default app for .textbundles. If it only had the promised built-in file/folder browser, it would be so much better


#bear/shortcuts