I updated an Excel Spreadsheet yesterday that was saved in Devonthink. The Spreadsheet was in my inbox, and I accidentally deleted it. I must have also emptied the Trash as well, as that is empty too.
I have regular Time machine backups on my device, but can’t figure out where the the inbox (or indeed the trash) is saved/backed up to. What file do I need to restore in order to access previous versions of the inbox, or indeed trash?
/Users/yourusername/Library/Application Support/DEVONthink 3/Inbox.dtBase2 is the path and filename of the Global Inbox. You can either restore that file to that location (meaning you will lose anything in the Global Inbox which you have put there since the backup) or - especially if there aren’t many items in the inbox - you could restore the file to a different location, select show package contents from the context menu in Finder and then figure out which is the file you need; you would then drag that to DT.
Trash is a location within a database, and not a separate database; as such you cannot restore directly from a backup of trash (i.e. you will not find the location ‘trash’ directly in your backup).
Warning: never change the contents of ‘live’ database files, as this will disrupt the database.