Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
kb:corrupted_database [2020/06/15 18:33] – dstillman | kb:corrupted_database [2023/02/19 17:16] – dstillman | ||
---|---|---|---|
Line 5: | Line 5: | ||
Database corruption generally occurs when the data directory is placed in a cloud storage folder or on a network drive. If you've moved your data directory to one of those places, you should move it back to the default location. You should [[data_directory_in_cloud_storage_folder|never store the data directory in cloud storage]]. (The same applies to any database-backed program.) | Database corruption generally occurs when the data directory is placed in a cloud storage folder or on a network drive. If you've moved your data directory to one of those places, you should move it back to the default location. You should [[data_directory_in_cloud_storage_folder|never store the data directory in cloud storage]]. (The same applies to any database-backed program.) | ||
- | If the database was in cloud storage or you have a local backup, you can try to restore from an earlier version of zotero.sqlite, | + | ===== If You Were Using Syncing ===== |
+ | |||
+ | If your data is all online, you can simply sync to pull down the latest version of your library, either from an empty library (after moving your corrupted zotero.sqlite out of the way and restarting Zotero) or from an earlier, uncorrupted backup of the database. In the latter case, Zotero will simply pull down changes since the last time you used that database, without needing to redownload your entire library. Once you're sure you've recovered your data, you can delete any copies of the corrupted database. | ||
+ | |||
+ | ===== If You Weren' | ||
+ | |||
+ | If your data directory | ||
If you don't have a backup, or the backups are corrupted as well, you can try to fix the damage with the [[/ | If you don't have a backup, or the backups are corrupted as well, you can try to fix the damage with the [[/ | ||
- | Alternatively, | + | {{tag>kb basics}} |