Syncing after database problems [Debug ID: D938691295]
I few weeks ago I had some database problems with 5.0 beta, which were fixed. A couple of days ago I tried a data sync but about 250 conflicts came up. After resolving 2-3 conflicts Zotero would crash and on re-start the exact same conflicts would re-appear.
I decided to delete the online database entries (which I have since found out is not the thing to do) and sync by resetting the data sync history because this should(?) merge the local database and blank online database or overwrite the online database. Instead, items were deleted from my local database (was the online version seen as the most up-to-date version?).
A second problem became apparent when I looked to replace zotero.sqlite with a previous backed-up version -- Zotero is not creating daily backups of zotero.sqlite (I checked the backup settings and they are the default, 1440 minutes and 2 copies). The last backup was from at least a month previous. I have sent in a debug ID for this: D938691295. Luckily, I had an external backup, so nothing was lost.
Can my online database be "reset" so I can sync again? How do I get Zotero to backup zotero.sqlite?
I decided to delete the online database entries (which I have since found out is not the thing to do) and sync by resetting the data sync history because this should(?) merge the local database and blank online database or overwrite the online database. Instead, items were deleted from my local database (was the online version seen as the most up-to-date version?).
A second problem became apparent when I looked to replace zotero.sqlite with a previous backed-up version -- Zotero is not creating daily backups of zotero.sqlite (I checked the backup settings and they are the default, 1440 minutes and 2 copies). The last backup was from at least a month previous. I have sent in a debug ID for this: D938691295. Luckily, I had an external backup, so nothing was lost.
Can my online database be "reset" so I can sync again? How do I get Zotero to backup zotero.sqlite?
The "Restore to Zotero Server" option that existed in 4.0 isn't currently available in 5.0.
Syncing: When I sync approx. 4,000 out of 4,200 items are deleted including attachments. When I added all items to a temporary collection, I have the items but the attachments are still deleted (I do not save my attachments online). I made sure to select local for conflicts.
Backup: Still not getting a backup of zotero.sqlite
Adding the temporary tag worked. I added a step because Zotero became non-responsive: close and re-start Zotero so that zotero.sqlite-journal was written to zotero.sqlite. As a result of all this, my database has grown from 17,287 KB to 28,081 KB without any new data. The subsequent sync, when I put my database back to the way I wanted it, took a long time (about 10 minutes).
Backup: I changed extensions.zotero.backup.interval to 1 and waited (Debug ID D1371298406). No backups created.
Re: backup, that was waiting 5 minutes? If so, I'd guess that something on your system is preventing Zotero from properly detecting that the system is idle. Zotero waits for 5 minutes of system inactivity and then checks whether the last backup is older than the interval. I just tested this on Windows and it does work.
Backup: are there any hidden preferences that could cause backups not to work (besides extensions.zotero.backup.interval and extensions.zotero.backup.numBackups)? Otherwise I will use a new profile and see what happens.
Thanks for your patience and help.
Backup: A new profile solved this problem, there may have been junk hanging around that was causing the problem.