Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
zotero_data [2017/12/13 22:50] – [Backing Up Your Zotero Library] dstillman | zotero_data [2017/12/13 23:28] – [Restoring Your Zotero Library from a Backup] dstillman | ||
---|---|---|---|
Line 61: | Line 61: | ||
==== Restoring your Zotero library using Zotero syncing==== | ==== Restoring your Zotero library using Zotero syncing==== | ||
- | If you were using Zotero syncing and have an empty local library, you can likely restore your library | + | If you were using Zotero syncing and have an empty local library, you can likely restore your data simply by syncing with your online library. After verifying that your library |
If you have a local Zotero library that you want to overwrite, close Zotero and delete the old [[# | If you have a local Zotero library that you want to overwrite, close Zotero and delete the old [[# | ||
Line 67: | Line 67: | ||
==== Restoring your Zotero library from a backup ==== | ==== Restoring your Zotero library from a backup ==== | ||
- | If you were not using Zotero syncing (or were but don't want to perform a full sync) and have a backup of your Zotero data directory, you can restore your library by replacing | + | If you were not using Zotero syncing (or were but don't want to perform a full sync) and have a backup of your Zotero data directory, you can restore your library by replacing your active data directory with your backed-up data directory. |
- | Open the Advanced pane of the Zotero preferences and click "Show Data Directory" | + | Open the Advanced pane of the Zotero preferences and make a note of the specified path under Data Directory Location. (By default, this will be " |
- | Once you've successfully restored your data, you can delete the temporary folder on your desktop. | + | When you reopen Zotero, you should see your restored Zotero data. |
- | Note that, if you were using Zotero syncing, any changes you made to your library since the backup and subsequently synced to your online library will be applied to your restored database as soon as you sync. | + | Once you've successfully restored your data, you can delete the " |
+ | |||
+ | Note that, if you were using Zotero syncing, any changes you made to your library since the backup and subsequently synced to your online library will be applied to your restored database as soon as you sync. If you don't want that to happen, see the following section. | ||
==== Restoring your Zotero library from a backup and overwriting synced changes ==== | ==== Restoring your Zotero library from a backup and overwriting synced changes ==== | ||
Line 79: | Line 81: | ||
If you or someone else made unwanted changes to your Zotero library and synced those changes to your online library, you may be able to restore data by using a local backup of your Zotero data directory. | If you or someone else made unwanted changes to your Zotero library and synced those changes to your online library, you may be able to restore data by using a local backup of your Zotero data directory. | ||
- | First, temporarily | + | - Temporarily |
- | + | - Follow | |
- | Were you to sync again now, the more recent | + | - Once you see your restored |
- | + | | |
- | If you're trying to restore a small number of deleted items or notes, you can duplicate the affected | + | - If many items were affected or collections were deleted, you can use [[kb: |
- | + | ||
- | Alternatively, | + | |
- | + | ||
- | If you're happy with the results, you can re-enable auto-sync and continue working. Keep the temporary folder on your desktop until you're sure all your data is intact. | + | |
+ | If you're happy with the results, you can re-enable auto-sync and continue working. | ||
==== Restoring from the last automatic backup ==== | ==== Restoring from the last automatic backup ==== | ||
Line 96: | Line 95: | ||
If you're using [[sync|syncing]] but don't have auto-sync enabled, first check your online library on zotero.org to see if the data is correct there. If so, close Zotero, go to your Zotero data directory, and rename it (e.g., to " | If you're using [[sync|syncing]] but don't have auto-sync enabled, first check your online library on zotero.org to see if the data is correct there. If so, close Zotero, go to your Zotero data directory, and rename it (e.g., to " | ||
- | If you don't want to do a full sync or if the changes have already synced to the online library, follow these steps: | + | If you don't want to do a full sync or if the changes have already synced to the online library, follow these steps to restore from an automatic backup. Note that automatic backups contain only data, not files. |
- First, make sure to keep Zotero running, as the automatic backup might be overwritten when you quit the application. | - First, make sure to keep Zotero running, as the automatic backup might be overwritten when you quit the application. | ||
- If you're using syncing, temporarily disable auto-sync in the Sync pane of the Zotero preferences. | - If you're using syncing, temporarily disable auto-sync in the Sync pane of the Zotero preferences. | ||
- | - [[zotero_data# | + | - [[zotero_data# |
- Close Zotero. In your data directory, rename zotero.sqlite to zotero.sqlite.old, | - Close Zotero. In your data directory, rename zotero.sqlite to zotero.sqlite.old, | ||
- | - Were you to sync again now, the more recent data in the online library would replace the data you just restored. If you're trying to restore a small number of deleted items or notes, you can simply duplicate the items — by right-clicking and choosing " | + | - Were you to sync again now, the more recent data in the online library would replace the data you just restored. |
- | - If many items were affected or collections were deleted, you can use Restore to Online Library | + | - If you're trying to restore a small number of deleted items or notes, you can simply duplicate the items — by right-clicking and choosing " |
+ | - If many items were affected or collections were deleted, you can use [[kb: | ||
- | If you're happy with the results, you can re-enable auto-sync and continue working. Keep zotero.sqlite.old until you're sure all your data is intact. | + | If you're happy with the results, you can re-enable auto-sync and continue working. Keep zotero.sqlite.old until you're sure all your data is intact |
==== Restoring from the last upgrade backup ==== | ==== Restoring from the last upgrade backup ==== | ||
- | Zotero prompts | + | When you upgrade |
It's a good idea to make a backup of your entire Zotero data directory before making any changes. | It's a good idea to make a backup of your entire Zotero data directory before making any changes. | ||
- | If you have synced your data with the Zotero | + | If you have synced your data with the Zotero |
If you were not using syncing, you may wish to export to Zotero RDF any items added since the database upgrade and then reimport those into the earlier version. [[Sorting]] your library by Date Added may help you find such items. | If you were not using syncing, you may wish to export to Zotero RDF any items added since the database upgrade and then reimport those into the earlier version. [[Sorting]] your library by Date Added may help you find such items. | ||
- | Bear in mind that word processor documents used with later Zotero versions | + | Bear in mind that word processor documents used with later Zotero versions |
===== Troubleshooting Zotero Data issues ===== | ===== Troubleshooting Zotero Data issues ===== | ||