Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
zotero_data [2019/01/14 16:37] – [Restoring Your Zotero Library from a Backup] dstillmanzotero_data [2019/03/05 00:21] – [Library Contents] dstillman
Line 31: Line 31:
  
 The "Show Data Directory" button will always reveal the data directory currently in use and is the recommended method for finding your data directory. 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. The "Show Data Directory" button will always reveal the data directory currently in use and is the recommended method for finding your data directory. 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.
-===== Library Contents =====+===== Data Directory Contents =====
  
 The most important file in the data directory is the zotero.sqlite file, which contains the majority of your data: item metadata, notes, tags, etc. The directory also contains a 'storage' subdirectory, containing all of your file attachments, such as PDFs, web snapshots, audio files, or any other files you have imported (note that files that are [[attaching_files|linked]] are not copied into this subdirectory). The most important file in the data directory is the zotero.sqlite file, which contains the majority of your data: item metadata, notes, tags, etc. The directory also contains a 'storage' subdirectory, containing all of your file attachments, such as PDFs, web snapshots, audio files, or any other files you have imported (note that files that are [[attaching_files|linked]] are not copied into this subdirectory).
Line 126: Line 126:
 If you open Zotero to find your library blank or missing lots of data, don't panic. Zotero is mostly likely simply looking in the wrong location for the data. You need to make sure that Zotero is looking in the right location for your Zotero files and that the right files are in that spot. If you open Zotero to find your library blank or missing lots of data, don't panic. Zotero is mostly likely simply looking in the wrong location for the data. You need to make sure that Zotero is looking in the right location for your Zotero files and that the right files are in that spot.
  
-Use the "Show Data Directory" button in the [[preferences/advanced|Advanced]] pane of the Zotero preferences to reveal the current data directory. If this isn't the directory you were expecting, you can either specify a different data directory from the preferences or, with Zotero closed, rename that directory (e.g., to "Zotero-Old") and move your desired Zotero directory to the specified location. If you're not sure where your most recent Zotero data is located, it's a good idea to look for larger versions of zotero.sqlite or zotero.sqlite.bak stored elsewhere on your hard drive and to look at the dates of folders within the 'storage' directory.+Use the "Show Data Directory" button in the [[preferences/advanced|Advanced]] pane of the Zotero preferences to reveal the current data directory. If this isn't the directory you were expecting, you can either specify a different data directory from the preferences or, with Zotero closed, rename that directory (e.g., to "Zotero-Old") and move your desired Zotero directory to the specified location. If you're not sure where your most recent Zotero data is located, it's a good idea to look for larger versions of zotero.sqlite or zotero.sqlite.bak stored elsewhere on your hard drive and to look at the dates of folders within the 'storage' directory. An empty Zotero database will be either approximately 1 MB (~1,000 KB) or 5 MB.
  
 If you have recently updated to Zotero 5 and are missing data, see [[kb/data_missing_after_zotero_5_upgrade|Missing Data After Zotero 5 Upgrade]]. If you have recently updated to Zotero 5 and are missing data, see [[kb/data_missing_after_zotero_5_upgrade|Missing Data After Zotero 5 Upgrade]].
  
-Unless you have a good reason to use a custom data directory location, we recommend using the default location in your home directory.+Unless you have a good reason to use a custom data directory location, we recommend using the [[#default_locations|default location]] in your home directory.
  
 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. Also, when pointing the data directory location to an existing directory, be sure to specify the parent directory containing zotero.sqlite and 'storage', not the 'storage' directory itself. 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. Also, when pointing the data directory location to an existing directory, be sure to specify the parent directory containing zotero.sqlite and 'storage', not the 'storage' directory itself.
  
 Finally, remember to close Zotero before making any changes to Zotero files. Finally, remember to close Zotero before making any changes to Zotero files.
zotero_data.txt · Last modified: 2023/07/13 17:52 by dstillman