- Poll: How reliable are ChatGPT and Bing Chat? - Tue, May 23 2023
- Pip install Boto3 - Thu, Mar 24 2022
- Install Boto3 (AWS SDK for Python) in Visual Studio Code (VS Code) on Windows - Wed, Feb 23 2022
Evernote is a wonderful application for taking notes and syncing them effortlessly between different devices. I switched from Microsoft's OneNote to Evernote a while back mostly because I find that Evernote's user interface is more thought through. However, ever since I switched I have an uncomfortable feeling because I don't have a continuous backup of my notes that is independent from the service provider.
You can manually export notes from Evernote, but that is not really a good solution. I almost lost very important notes when I accidentally edited a wrong note, thereby deleting my data. My manual backup from last week didn't contain these notes and I am using the free plan, so I couldn't restore a previous version of the note in Evernote.
I had the presence of mind to immediately disconnect my phone from the internet before Evernote had the chance to sync the modified note. Thus, I was able to restore my data. However, it occurred to me that I might not always be so lucky. And even if I used an Evernote plan that allowed me to restore a previous note version, I wouldn't want to rely on just one service provider for the backups of my important notes.
The main problem of Evernote and many other applications on the is Mac that they store all their data in the Library folder. Some applications allow you to change this folder in their Preferences. In these cases, you can redirect the data to a Dropbox folder or another cloud drive. Unfortunately, Evernote does not have this feature.
I first thought I sync the Evernote database to Dropbox, but in my search for a sync solution, I found SyncAny for Dropbox which, despites its name is not really a sync tool. The tool simply creates aliases in your Dropbox folder that can point to any non-Dropbox folder on your Mac. The advantage over a real sync solution is that you don't waste local disk space by duplicating data. I have several applications that store their data in the Library folder and even though my Macbook has a 1TB SDD I am continuously running of disk space.
Using SyncAny for Dropbox is quite simple. You just add the folder that you want to sync to Dropbox and you are done. The tool automatically replicates the directory structure of the source location. Thus, in case you have to restore data, you can easily find the correct location. The rest is of the backup procedure is done by Dropbox. By the way, the advantage of Dropbox over other free cloud drives is that you can restore previous file versions which is essential for any backup solution.
It took me a little to find the correct folders that contain the Evernote database and its settings. The problem is, you can just sync the entire com.evernote.Evernote folder in /Users/<UserName>/Library/containers because it contains many aliases to other Mac folders. When I first tried this with another app, Dropbox started to sync my Download folder which is not really what I intended.
After experimenting a while, I found two folders that are essential for Evernote:
/Users/<UserName>/Library/Containers/com.evernote.Evernote/Data/Library/Application Support/com.evernote.Evernote
/Users/<UserName>/Library/Containers/com.evernote.Evernote/Data/Library/Preferences
The first folder contains the Evernote database, the second contains the Evernote settings. Actually, it is only com.evernote.Evernote.plist that is important here. However, when I only added the file to SyncAny for Dropbox it didn't work because, I only could restore the alias but note the file itself. When you restore the Evernote preferences, make sure that you only restore only this file and not the aliases in the folder.
Note that I only work with text notes in Evernote. If you store images or other data in Evernote, you might have to add additional folders. You should find them at this location:
/Users/<UserName>/Library/Containers/com.evernote.Evernote/Data/Library
Also notice the aliases in this folder are irrelevant and you should not sync them to Dropbox because otherwise half the data on your Mac will end up on Dropbox. You can distinguish aliases in Finder from folders by the little dot in the icon.
You can use the procedure I described for any Mac application that doesn't allow you to choose the location of its database or settings. You essentially only have to search in the Library folder for the application's name. Note that some applications create several folders and you sometimes have to test a little until you find the correct folder. And always watch out for aliases!
By the way, another app I couldn't live without anymore is quite useful here: Default Folder X. Once you found the folder in Finder and you then want to add it to SyncAny for Dropbox, you simply click the Finder symbol in the Default Folder X extension of the file dialog window and you are done. Default Folder X costs $34.95 but it is absolutely worth its money. You can easily locate previously used files and folders from any Mac app. It saves me countless clicks every day. Trust me, if you have a Mac, you need this tool!
Speaking of money, SyncAny for Drobbox is not free either. However, it only costs $2.99 and it is certainly also worth it. You can sync any folder to Dropbox that you can't directly store in the Dropbox folder.
As a final note, when you backup data, you always have to ensure that the restore works. If you want to test this with Evernote, you first have to close the app and then copy the backup from your Dropbox folder to another location. Then you rename /Users/<UserName>/Library/Containers/com.evernote.Evernote, so you still have all your data (just in case). If you then open Evernote again, it will recreate the folder and ask you to login. You then close Evernote and restore the data from your previously created copy. If you then open Evernote again, all your data should be back.
Read the latest IT news and community updates!
Join our IT community and read articles without ads!
Do you want to write for 4sysops? We are looking for new authors.
Thanks for the article Michael,
Unfortunately it didn’t work for me. I checked in “~/Library/Containers/com.evernote.Evernote/” but there was no “Data/Library” directory. Just “/com.evernote.Evernote/SharingExtension/”. Other on-line articles mention pressing the Option key within Evernote’s Help option to see the database directory, but I get no such option within “Version 7.1 (456448 Direct) Editor: 43.0.4829 (edb6eb7)”.
How did you about locating the database directory?
David
Again the fastest way to find the answer yourself is to leave a reply…
This worked within my EN just now:
Hold down the Option key.
Select Help from the top option bar while continuing to holding the Option key down.
There will be a new Troubleshooting option at the bottom of the Help drop-down.
Select Troubleshooting from the drop-down list.
Select Open Database Folder from the drop-down sub-list.
Your Database folder (named with 6 digits) will open in Finder.
Mine was in: ~/Library/Application Support/com.evernote.Evernote/accounts/www.evernote.com/94143/
A quick Command-I and I was able to copy the path from the Info box’s Where line.
David
P.S. Using “~” (a tilde) in a path is a quick/universal shortcut for your home directory path. No need to type “/Users/MyLoginName/”.
P.P.S.
Your comment system allowed me to create a nice numbered list…
But the numbering disappeared when I posted the comment.
Grumble…
No need to post this reply…
🙂
D
David, thanks for the tip with the option key. That is quite useful!
I am currently moving from Evernote to Apple’s Notes app. It doesn’t have as many features as Evernote, but I like it much better. The way Evernote syncs font sizes with the iPhone drove me crazy.
Thanks for the hint about the bullet lists. I fixed this now.