Hi, hope you guys are having a fantastic day so far.
Few days ago I have backed up everything in Time Machine and upgraded the system to macOS Tahoe. During that time I wrote few documents in DEVONthink. However I was not satisfied with the system overall, so I decided to downgrade the system. Before the downgrade I had synced all databases to my drives to make sure I had saved everything.
After the downgrade, I tried to use new databases from my drive to cover the old one from Time Machine, but it turned out to be a synchronisation in which the old one covered the new databases.
So how does restoring databases work? And how can I avoid âthe old one covers the new oneâ in the future?
Apple describes how to restore from a TimeMachine backup:
DEVONthink databases are macOS packages with a dtBase2 extension. I suggest, before you get things sorted out properly, that when you restore you create a new copy and not over-write. (I forget the actual words on the dialog box).
Deleting the âold databaseâ has nothing to do with restoring. If you âover-writeâ (choosing that option on the Time Machine restore), then of course you lose the old database. Hence ⌠yes, thatâs why i suggested not doing that.
When I downgraded the system version from macOS 26 to macOS 15, I had to erase the whole laptop and reinstall macOS 15. Time machine restored all files for me, so I donât think I did something like âoverwriteâ.
In terms of database, DEVONthink databases from Time Machine are older (e.g. 21/08) than what I backup from another portable drive (e.g. 25/08, I created some documents). After the full recovery from Time Machine, I wanted to use the newest backup to overwrite the old DEVONthink database but it turned out that the old version overwrote (synced to) the new one
Iâm having trouble understanding what you did. you seem to be mixing âsyncâ (a DEVONthink process) with TimeMachine restores (an Apple macOS process). And when you say the old version override the new one (while saying you didnât say to over-write) ⌠call me confused. Sorry. Canât help further.
Do you have a sync running on the âoldâ version of your MacOS for DT? I.e. youâre syncing your DT databases to another device? (Perhaps a phone or iPad?)
And had you perhaps not set up a new sync on your new OS? Or even set up a different sync method?
Attempting to interpret what you did, it sounds like you restored your Mac from Time Machine, reverting your databases to the âoldâ version. I suspect you then opened DT on MacOS15, which was your mistake, as the old databases then synced with your sync store and became the latest version of your databases.
When you went to restore your databases to the ânewâ versions from your portable drive, they were superseded by your sync files (because they pre-dated the sync youâd just triggered) and your sync pushed the latest version through for you.
All of which is to say, if this is what happened step 1 is to disable sync before tinkering with things
Apologies if I have filled in the gaps incorrectly!
Do you have a sync running on the âoldâ version of your MacOS for DT? I.e. youâre syncing your DT databases to another device? (Perhaps a phone or iPad?)
Donât think so, havenât use DTG for a long time
And had you perhaps not set up a new sync on your new OS? Or even set up a different sync method?
No, I did only the local backup (i.e. sync files to a portable drive)
All of which is to say, if this is what happened step 1 is to disable sync before tinkering with things
I realised I should do that afterwards. But I would also like to know what are the other steps after disabling sync because old files are still there in the database. Should I delete them?
My hunch is that however it happened (@MsLogica probably close to it), youâve ended up with a database that is older than what you previously had â or the newer database is still lurking somewhere unknown.
If you make changes to the only database version you have, it then becomes the ânewestâ. Whether you delete these âolderâ files is up to you. If uncertain, you could move them into a new Group called, say âOlder Files that I may delete somedayâ or something.