188BET靠谱吗The Zotero Data Directory

188BET靠谱吗Locating Your Zotero Data

188BET靠谱吗The easiest and most reliable way to find your Zotero data is by clicking the "Show Data Directory" button in theAdvancedtab of the188BET靠谱吗Zotero preferences.188BET靠谱吗This will reveal the folder on your computer that contains your Zotero database and attachment files.

Default Locations

Unless you have selected a custom data directory in theAdvanced188BET靠谱吗pane of the Zotero preferences, your Zotero data is stored within the following OS-dependent directories:

macOS
/Users/
             
              188BET靠谱吗/Zotero
             
Windows 7 and higher
C:\Users\
             
              188BET靠谱吗\Zotero
             
Windows XP/2000
C:\Documents and Settings\
             
              188BET靠谱吗\Zotero
             
Linux
188BET靠谱吗~/Zotero

The "Show Data Directory" button will always reveal the data directory currently in use and is the recommended method for finding your data directory.188BET靠谱吗If you're unable to access the Zotero preferences, a search for the file name 'zotero.sqlite' can also help you locate the Zotero data directory.

Older Versions

188BET靠谱吗Zotero 4 for Firefox (2017 and earlier)

macOS
/Users/
              
               /Library/Application Support/Firefox/Profiles/
               
                188BET靠谱吗/zotero
               
              

Note: The /Users/ /Library folder is hidden by default.To access it, click on your desktop, hold down the Option key, and click the Finder's Go menu, and then select Library from the menu.

Windows 7 and higher
C:\Users\
              
               \AppData\Roaming\Mozilla\Firefox\Profiles\
               
                188BET靠谱吗\zotero
               
              
Windows XP/2000
C:\Documents and Settings\
              
               \Application Data\Mozilla\Firefox\Profiles\
               
                188BET靠谱吗\zotero
               
              
Linux (most distributions)
~/.mozilla/firefox/Profiles/
              
               188BET靠谱吗/zotero
              

188BET靠谱吗Zotero 4 Standalone (2017 and earlier)

macOS
/Users/
              
               188BET靠谱吗/Library/Application Support/Zotero/Profiles/
               
                188BET靠谱吗/zotero
               
              

Note: The /Users/ /Library folder is hidden by default.To access it, click on your desktop, hold down the Option key, and click the Finder's Go menu, and then select Library from the menu.

Windows 7 and higher
C:\Users\
              
               188BET靠谱吗\AppData\Roaming\Zotero\Zotero\Profiles\
               
                188BET靠谱吗\zotero
               
              
Windows XP/2000
C:\Documents and Settings\
              
               188BET靠谱吗\Application Data\Zotero\Profiles\
               
                188BET靠谱吗\zotero
               
              
Linux (most distributions)
188BET靠谱吗~/.zotero/Profiles/
              
               188BET靠谱吗/zotero
              

Data Directory Contents

The most important file in the data directory is the188BET靠谱吗zotero.sqlitefile, which is the database containing the majority of your data: item metadata, notes, tags, etc.188BET靠谱吗When Zotero starts up, it reads the188BET靠谱吗zotero.sqlitefile in the active data directory.

The directory also contains astoragefolder with 8-character subfolders (e.g., "N7SMB24A") containing all of your file attachments, such as PDFs, web snapshots, audio files, or any other files you have imported.(Files that arelinkedare not copied into this subfolder.)

Your data directory will likely contain several other files and folders.These can include188BET靠谱吗zotero.sqlite.bak(an automatic backup of188BET靠谱吗zotero.sqlite, which is updated periodically if the existing188BET靠谱吗zotero.sqlite.bakfile hasn't been updated in the last 12 hours) and188BET靠谱吗zotero.sqlite.[number].bakfiles (automatic backups of188BET靠谱吗zotero.sqlite188BET靠谱吗that are created during certain Zotero updates), as well as folders such aslocate,logs,pipes,styles, andtranslators188BET靠谱吗that are created automatically at Zotero startup.

Warning188BET靠谱吗: Before you copy, delete, or move any of these files, be sure that Zotero is closed.Failure to do so before moving these files can damage your data.

188BET靠谱吗Backing Up Your Zotero Data

188BET靠谱吗We strongly recommend that you regularly back up your Zotero data directory.Whilesyncing188BET靠谱吗is a great way to make sure you can restore your libraries if something happens to your computer, it's not a complete substitute for a proper backup: the Zotero servers only store the most recent version of your libraries, and it takes just a single (possibly automatic) sync to change the server copy (though some inadvertent changes can be restored from188BET靠谱吗Zotero's automatic backups).

188BET靠谱吗Rather than backing up just your Zotero database, we recommend using a backup utility that automatically backs up your entire hard drive to an external device on a regular basis and keeps incremental backups so that you can restore to a given version.Most modern operating systems offer such functionality (e.g., Time Machine on Macs).

188BET靠谱吗If you really want to back up your Zotero data specifically,188BET靠谱吗locate your Zotero data188BET靠谱吗, close Zotero, and copy your data directory (theentire folder, including188BET靠谱吗zotero.sqliteandstorageand the other subfolders) to a backup location, preferably on another storage device.188BET靠谱吗As with all important data, it's a good idea to back up your Zotero data frequently, which is why we recommend an automated full-system backup instead.

Note that if you're using "download files as needed" for file syncing, your attachment files may not all exist locally and may not be included in a backup.188BET靠谱吗Zotero Storage provides reliable storage of uploaded files, so you might choose to exclude thestoragefolder from your backup, but if you'd like a local backup of attachments as well, you would need to use "download files at sync time" on one computer and make a backup of the data directory from that computer.

Warning188BET靠谱吗: You shouldn't use export (e.g., to Zotero RDF, BibTeX, or RIS) as a backup method.Exporting and re-importing a library doesn't produce an exact copy — it will reset Date Added/Modified times and break links to existing citations in word processor documents, along with other potential changes.

188BET靠谱吗Restoring Your Zotero Data From a Backup

188BET靠谱吗Between manual backups, automatic backups, and synced data, it's often possible to restore a lost Zotero library or restore data that was accidentally deleted.

Before following these steps, be sure that188BET靠谱吗Zotero is looking in the right place for your data.

188BET靠谱吗Restoring Your Zotero Data Using Zotero Syncing

188BET靠谱吗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.188BET靠谱吗After verifying that your library is correct on zotero.org, simply reenter your username and password in the Sync pane of the Zotero preferences and click the Sync button in the toolbar.188BET靠谱吗(Zotero only syncs explicit deletions, so just syncing an empty library won't overwrite the server dataunless you deleted items manually.)

188BET靠谱吗If you have a local Zotero library that you want to overwrite, close Zotero and delete the old188BET靠谱吗Zotero data directorybefore syncing.188BET靠谱吗Syncing your database with a different Zotero account will also prompt you to remove the existing local database.

188BET靠谱吗Restoring Your Zotero Data From a Backup

188BET靠谱吗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.

188BET靠谱吗Open the Advanced pane of the Zotero preferences and make a note of the specified path under Data Directory Location.188BET靠谱吗(By default, this will be "Zotero" within your home folder.) Click "Show Data Directory", which should reveal your active data directory containing zotero.sqlite and possibly a 'storage' subdirectory.188BET靠谱吗Close Zotero, change to the parent folder of the active data directory (Cmd-up-arrow on macOS, Alt-up-arrow on Windows), and rename the folder to "Zotero-Old".188BET靠谱吗Next, copy the data directory from your backup to the original location (e.g., "Zotero").

188BET靠谱吗When you reopen Zotero, you should see your restored Zotero data.

188BET靠谱吗Once you've successfully restored your data, you can delete the "Zotero-Old" folder, but it's a good idea to keep it for a while until you're sure your data is correct.

188BET靠谱吗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.

188BET靠谱吗Restoring Your Zotero Data From a Backup and Overwriting Synced Changes

188BET靠谱吗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.

  1. 188BET靠谱吗Temporarily disable auto-sync in the Sync pane of the Zotero preferences.
  2. 188BET靠谱吗Follow the steps in the preceding section to restore from a backup of your Zotero data directory.
  3. Once you see your restored data, were you to sync again, the more recent data in the online library would replace the data you just restored, and you'll need to take steps to prevent that:
    • 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 "Duplicate Item(s)" — so that the new copies remain even after syncing.
    • If you're trying to restore deleted collections, you can create duplicate collections and drag items from the old collections to the new ones.When you sync, the old collections will be deleted but the new ones will remain.
    • If many items were affected or collections were deleted, you can use Replace Online Library188BET靠谱吗to force Zotero to upload the local version of the library, overwriting previously synced changes.

If you're happy with the results, you can re-enable auto-sync and continue working.

Restoring From the Last Automatic Backup

188BET靠谱吗If you make a critical mistake while using Zotero — for example, if you accidentally delete a large set of items — you may be able to revert to the last automatic backup.Note that automatic backups contain only data, not files.

  1. 188BET靠谱吗If you're using syncing, temporarily disable auto-sync in the Sync pane of the Zotero preferences.
  2. 188BET靠谱吗Locate your Zotero data188BET靠谱吗and make a backup copy of any zotero.sqlite.bak files.The timestamps of the files may help you determine which file would contain the data you're trying to restore.
  3. 188BET靠谱吗Close Zotero.188BET靠谱吗In your data directory, rename zotero.sqlite to zotero.sqlite.old, rename one of the original .bak files (based on the timestamp) to zotero.sqlite, and restart Zotero.You should now see the backed-up version of your library.
  4. If you were using syncing and the undesired changes were already synced, syncing again now would cause the more recent data in the online library to replace the data you just restored, and you'll need to take steps to prevent that:
    • If you're trying to restore deleted collections, you can create duplicate collections and drag items from the old collections to the new ones.When you sync, the old collections will be deleted but the new ones will remain.
    • 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 "Duplicate Item(s)" — so that the new copies remain even after syncing.
    • If many items were affected or collections were deleted, you can use Replace Online Library188BET靠谱吗to force Zotero to upload the local version of the library, overwriting previously synced changes.

If you're happy with the results, you can re-enable auto-sync and continue working.188BET靠谱吗Keep zotero.sqlite.old and your .bak file backups until you're sure all your data is intact and in sync across all your computers.

Restoring From the Last Upgrade Backup

188BET靠谱吗When you upgrade to a major new version of Zotero, Zotero will automatically update your database to work with the new version.188BET靠谱吗If you would like to revert to a previous version of Zotero at a later point, you will have to manually replace your database with the automatic backup Zotero made during the upgrade.188BET靠谱吗In most cases this will be the highest-numbered "zotero.sqlite.[num].bak" file in your Zotero data directory.

188BET靠谱吗It's a good idea to make a backup of your entire Zotero data directory before making any changes.

188BET靠谱吗If you have synced your data with the Zotero servers, reverting to a previous version is as simple as reinstalling the previous version, closing Zotero, replacing "zotero.sqlite" in your Zotero data directory with "zotero.sqlite.[highest-number].bak", and restarting Zotero.188BET靠谱吗(Note that if you try to open an upgraded database in an earlier version, Zotero will display an error.188BET靠谱吗Just close Zotero and replace the .sqlite file.) Zotero will then sync from the online library any changes made since you last used the older database.

188BET靠谱吗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.Sortingyour library by Date Added may help you find such items.

188BET靠谱吗To temporarily disable further updates, go to the Config Editor in the Advanced pane of the Zotero preferences and setapp.update.autoto false.Note that staying on an old version is not a long-term solution, as old versions are no longer supported and may stop syncing or receiving site-compatibility updates at any time.188BET靠谱吗Be sure to post to the Zotero Forums and explain whatever is causing you to downgrade, and make a note to check back periodically to see whether it makes sense for you to re-enable automatic updates.

188BET靠谱吗Locating Missing Zotero Data

188BET靠谱吗If you open Zotero to find your library blank or missing lots of data, there are a few main possibilities:

  • 188BET靠谱吗If you were using a very old version of Zotero — from 2017 or earlier — without installing any updates and just upgraded to a newer version of Zotero, see 188BET靠谱吗Missing Data After Zotero 5 Upgrade.188BET靠谱吗Zotero 5 was released many years ago, so this no longer applies to most people.
  • If you're using a different computer from the one where you created the missing data, and your data is also missing in your online library, your data simply hasn't synced from the computer where you created it.See Changes Not Syncing.
  • 188BET靠谱吗If you know you've had the data on this computer previously, something may have happened to your previous Zotero database, or Zotero may be looking in the wrong place for your data.Read on for instructions.

188BET靠谱吗To determine what happened to your data on this computer, first locate your current Zotero data directory by going to theAdvanced → Files and Folders188BET靠谱吗pane of the Zotero preferences and using the "Show Data Directory" button.188BET靠谱吗Take note of the names, sizes, and dates of the files beginning with "zotero.sqlite" in this folder, which are your Zotero database (zotero.sqlite) and automatic database backups (*.bak).188BET靠谱吗An empty Zotero database will be either approximately 1 MB (~1,000 KB) or 5 MB.

188BET靠谱吗If you see only 1 MB or 5 MB zotero.sqlite files, look in the 'storage' folder, if one exists, for folders with dates corresponding with your previous usage of Zotero.

  • 188BET靠谱吗If you see folders in 'storage', this is likely the Zotero data directory you were using previously, but something happened to the zotero.sqlite database outside of Zotero — for example, you might have accidentally deleted zotero.sqlite using system tools while trying to clear disk space.188BET靠谱吗In this case, you can restore your data through backups and/or Zotero syncing:
    1. 188BET靠谱吗Look for larger zotero.sqlite.bak files in the data directory, or look for a larger zotero.sqlite file in any separate backups you have.188BET靠谱吗(It's not possible to restore your data from the 'storage' files alone.) When Zotero starts up, it reads the zotero.sqlite file in the active data directory, so you can try other copies of zotero.sqlite by copying them to that location and filename.188BET靠谱吗Do not try to import an .sqlite file into Zotero via File → "Import…" — it won't work.
    2. 188BET靠谱吗Whether or not you have a backup, if you've been using Zotero syncing, you can sync to pull down all data in your online library.If you do have a backup, all data more recent than the backup will be downloaded.If you only have an empty database, all data will be downloaded.In either case, you won't overwrite data in the online library simply by syncing — syncing doesn't work that way.
    3. 188BET靠谱吗If you can't find any other copies of zotero.sqlite and weren't using Zotero syncing, you'll unfortunately probably need to recreate your database from scratch.188BET靠谱吗Close Zotero, move the Zotero data directory to your desktop as "Zotero Old", and restart Zotero to create a new library.188BET靠谱吗You can search for all PDFs within your "Zotero Old" folder and drag them to Zotero, and Zotero will attempt to retrieve metadatafor as many of them as possible.188BET靠谱吗You can also extract data from any Word or LibreOffice documents you used with the Zotero word processor plugin by using Reference Extractor, though note that any data you re-import this way won't be linked to your existing documents.
  • If this isn't the location you were expecting to be using, or if you don't see a 'storage' folder or it's empty, you'll need to locate your previous data directory on this computer.188BET靠谱吗Once you find it, either select that data directory from the Zotero preferences or, with Zotero closed, rename the current directory (e.g., to "Zotero-Old") and move your desired Zotero directory to the specified location.188BET靠谱吗If you're not sure where your most recent Zotero data is located, look for versions of zotero.sqlite or zotero.sqlite.bak larger than 5 MB with appropriate modification times stored elsewhere on your computer and look at the dates of the folders within the 'storage' folder.
    • Unless you have a good reason to use a custom data directory location, we strongly recommend using the default locationin your home directory.
    • 188BET靠谱吗When specifying a custom data directory location, keep in mind that Zotero doesn't move or copy any data.You still need to copy your data into the specified location.188BET靠谱吗Also, when pointing the data directory location to an existing folder, be sure to specify the folder containing zotero.sqlite and 'storage', not the 'storage' folder.

188BET靠谱吗If you've gone through these steps and aren't sure what to do, post to the Zotero Forums with the following info:

  • 188BET靠谱吗The names, sizes, and dates of all files beginning with "zotero.sqlite" in your current data directory
  • 188BET靠谱吗Whether there's a 'storage' folder containing subfolders with dates corresponding to your previous usage of Zotero
  • 188BET靠谱吗Whether your current data directory is in the default location ("Zotero" in your home folder)
  • 188BET靠谱吗When you last used Zotero on this computer, and what happened on your computer since then
  • What you've tried so far
Baidu
map