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
ja:zotero_data [2012/04/06 03:54] – [最新のアップグレードバックアップからの復元] odonja:zotero_data [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-======Zotero ライブラリのデータ ====== 
  
-=====Zoteroライブラリの構成要素  - データとファイル==== 
- 
-Zoteroがどのようにデータを保存するかをきちんと理解しておくことは、正しくZoteroライブラリのバックアップを取るために、そしてまた悲劇が起こったときには、そこから復元するために、とても大切です。初期設定では、あなたの全Zoteroライブラリは、あなたの[[http://support.mozilla.com/kb/Profiles|Firefox プロファイル]]の中のZoteroフォルダに保存されます。このフォルダの中で一番重要なファイルは、zotero.sqliteファイルで、これはあなたのデータの大半(アイテムのメタデータ、メモ、タグ、など)を含んでいます。このフォルダの中には、'storage'サブフォルダがあり、これはすべての添付ファイル、PDFやウェブのスナップショット、音声ファイル、その他あなたが取り込んだあらゆるファイル([[attaching_files|リンク]]されたファイルはこのサブフォルダにはコピーされていないことに注意してください)を含んでいます。 
- 
-あなたの'Zotero'フォルダはおそらくほかにもいくつかのファイルを含んでいるでしょう。これらの中には zotero.sqlite.bakファイル (自動的に生成される zotero.sqlite のバックアップで、Firefoxを終了するたび、あるいはすでにあるzotero.sqlite.bak が最後に更新されてから12時間経過した場合に更新されます)、zotero.sqlite.[number].bak ファイル(自動的に生成されるzotero.sqliteのバックアップで、Zoteroの更新の際に作られます)が含まれます。 
- 
-**警告**: これらのファイルのいずれもを複製、削除または移動する前に、Firefoxが閉じていることを必ずご確認ください。Firefoxを閉じずにこれらのファイルを移動するとデータを破損する恐れがあります。 
-===== あなたの Zotero ライブラリの保存場所 ===== 
- 
-==== 推奨法 ==== 
- 
-Zoteroライブラリの保存フォルダを見つけるための最も手軽で信頼できる方法は、Zotero[[ja:preferences|設定ウインドウ]]の[[ja:preferences:advanced|詳細タブ]]で"Show Data Directory" ボタンを使うものです。 
- 
-==== デフォルトの保存場所 ==== 
- 
-初期設定ではZoteroのデータは、OS によって異なりますが、以下の場所に保存されます。これらの場所はOSによっては隠されているかもしれません。 
- 
-Zoteroの[[ja:preferences|設定ウインドウ]]で、任意の保存場所を指定した場合は、データは別の場所に保存されることになります。"Show Data Directory" ボタンは常に現在使用中のデータの保存場所を示します。Zotero設定ウインドウを開くことができないときは、'zotero.sqlite'を検索するとZoteroデータ・フォルダの場所を突き止めることに役立つでしょう。 
- 
-=== Firefox用Zotero === 
- 
-Zotero for Firefox stores data within the Firefox profile directory by default. 
- 
-Mac OS X:\\ 
-  /Users/<username>/Library/Application Support/Firefox/Profiles/<randomstring>/zotero 
- 
-Windows Vista および Windows 7:\\ 
-  C:\Users\<User Name>\AppData\Roaming\Mozilla\Firefox\Profiles\<randomstring>\zotero 
- 
-Windows 2000 および Windows XP:\\ 
-  C:\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles\<randomstring>\zotero 
- 
-多くの Linuxディストリビューション:\\  
-  ~/.mozilla/firefox/Profiles/<randomstring>/zotero 
- 
-=== Zotero スタンドアローン === 
- 
-Mac OS X:\\ 
-  /Users/<username>/Library/Application Support/Zotero/Profiles/<randomstring>/zotero 
- 
-Windows Vista および Windows 7:\\ 
-  C:\Users\<User Name>\AppData\Roaming\Zotero\Profiles\<randomstring>\zotero 
- 
-Windows 2000 および Windows XP:\\ 
-  C:\Documents and Settings\<username>\Application Data\Zotero\Profiles\<randomstring>\zotero 
- 
-多くの Linuxディストリビューション:\\  
-  ~/.zotero/Profiles/<randomstring>/zotero 
- 
-=====あなたの Zotero ライブラリのバックアップ===== 
- 
-あなたの[[zotero_data#elements_of_a_zotero_library_-_data_and_files|Zotero ライブラリ]]をバックアップするには、[[zotero_data#locating_your_zotero_library| Zotero ライブラリの保存場所を確かめ]]、Firefoxを閉じて、「Zotero」フォルダをバックアップ先(理想的には別の保存機器)にコピーしてください。すべての重要なデータに当てはまることですが、Zoteroデータを頻繁にバックアップすることが推奨されます。 
- 
-**警告 — 同期**: [[sync|同期機能]]はバックアップの代わりにはなりません。たとえば、もしあなたが誤ってライブラリの中の項目を削除してしまい、さらにZoteroライブラリを同期してしまった場合、こうして失った項目をZoteroサーバから復元することはできないでしょう。 
- 
-**警告 — インポート/エクスポート**: Zoteroは、ZoteroライブラリをZotero RDFファイルとして書き出すことができます。しかし、RDF形式による書き出しと読み込みは、あなたのライブラリの完全なコピーにはなりませんし、バックアップの方法としては推奨できません。 
- 
-詳細なバックアップの図解については[[http://libguides.northwestern.edu/content.php?pid=68444&sid=676064|this guide provided by the Northwestern University library]]を御覧ください。 
-=====バックアップからZoteroライブラリを復元する===== 
- 
-オリジナルのZoteroライブラリを失ってしまった場合(たとえばハードドライブが壊れた、あるいはコンピューターが盗まれた)、あなたのライブラリは、バックアップ済みのZoteroデータ・フォルダを、現在使用中のZoteroフォルダとすり替えることで、復元することができます。 
- 
-まず、もし必要ならばZoteroを[[/|zotero.org]] から再インストールしてください。Firefoxを再起動した後で、[[ja:preferences|Zotero設定ウインドウ]]の[[ja:preferences:advanced|詳細タブ]]を開き、"Show Data Directory"ボタンをクリックしてください。これによりzotero.sqliteと、場合によっては'storage' サブフォルダを含むフォルダが表示されます。Firefoxを閉じて、zotero.sqlite と'storage' をこのフォルダから、デスクトップの一時的な保存用フォルダに移動してください。次に、zotero.sqlite と 'storage'をバックアップの中から、現在使用中のZoteroデータフォルダへとコピーしてください。Firefox を次に起動すると、ライブラリが復元されている筈です。 
- 
-データの復元に成功したら、一時保存フォルダは削除して構いません。 
-==== 最新の自動バックアップからの復元 ==== 
- 
-Zoteroを使いながら致命的な失敗を犯してしまった場合、たとえば、誤って大量のアイテムを一度に消去してしまった場合、最新[[zotero_data#elements_of_a_zotero_library_-_data_and_files|自動生成されたバックアップ]]の状態へと復元することができます。 
- 
- 
-  - まず、Firefoxが動作中であることを確認してください、というのは、Firefoxを終了するときに、自動生成のバックアップは上書きされてしまう恐れがあるためです。次に、[[http://www.zotero.org/support/zotero_data#locating_your_zotero_library| Zotero ライブラリの場所を調べ]]、 zotero.sqlite.bakファイルの複製を作り、zotero.sqlite.newと名前を付けてください。 
-  - これは任意ですが、Zoteroで、最後にFirefoxを立ち上げてから追加したアイテムをどれでも選択して([[finding_and_sorting#saving_searches|saved search]]が役に立つでしょう)、その選択されたアイテムを右クリックし、"Export Selected Items..."を選び、Zotero RDFとして書き出し(エクスポートし)ます。 
-  - Firefoxを閉じてください。あなたのデータ・フォルダの中で、zotero.sqlite を zotero.sqlite.oldへ、zotero.sqlite.new を zotero.sqlite へと名前を変更し、Firefoxを立ち上げてください。バックアップから復元されたデータが見えるはずです。 
-  - アイテムを書き出し(エクスポート)していたら、そのRDFファイルを読み込み(インポート)、最後のFirefoxセッションの間に追加された分のデータを復旧してください。 
- 
-復元の結果に満足であれば、zotero.sqlite.oldファイルを削除して構いません。 
-==== 最新のアップグレードバックアップからの復元 ==== 
- 
-Zoteroは、新しいバージョンをインストールするときに(たいていは大きな更新の場合)データベースの更新を促すことがあります。後で、古いバージョンに戻りたいときには、この更新の際にZoteroが自動生成したバックアップを使って、手動でデータベースを置き換える必要が生じます。多くの場合このバックアップは、Zoteroデータ保存フォルダ内の、最も大きい番号のついた"zotero.sqlite.[番号].bak"ファイルです。 
- 
-変更を加える前にZoteroデータ保存フォルダ全体のバックアップを取っておくことがよいでしょう。 
- 
-もしZoteroサーバとデータを同期してしまっていたら、以前のバージョンに戻すのは、古いバージョンをインストールし、Firefoxを終了し、Zoteroデータ保存フォルダ内の"zotero.sqlite"を"zotero.sqlite.[最大の番号].bak"で置き換え、Firefoxを起動するだけです。(もし更新されたデータベースを古いバージョンで開こうとするとZoteroはエラーを表示します。Firefoxを閉じて、SQLite ファイルの置き換えを行ってください。) 
-するとZoteroは、Zoteroサーバと同期して最後に古いデータベースを使用してから行ったあらゆる変更を反映します。 
- 
-もし同期機能をお使いでない場合、データベースの更新の後に追加されたすべてのアイテムをZotero RDFにエクスポートしておき、古いバージョンに戻してからこれらをインポートするとよいでしょう。あなたのライブラリを作成日順に[[finding_and_sorting#並び替え|並べ替え]]すると、これらのアイテムを見つけやすいでしょう。 
- 
-一度より新しいバージョンのZoteroを使用したワードプロセッサ文書は、古いバージョンのZoteroと組み合わせて利用することができない場合が多いので注意してください。 
- 
-======Zoteroデータに関する問題解決====== 
- 
-=====私のアイテムはどこへ行ったのでしょう?===== 
- 
-Occasionally after upgrades or system restores, users open Zotero to find their libraries almost completely blank. While you may find this a bit disconcerting if it happens to you, do not panic. In almost every case Zotero is looking in the wrong location for your 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. (A library can also appear empty due to an extension conflict, so be sure to check [[known_issues#incompatible_extensions_and_applications|known incompatible extensions]] and disable your other Firefox extensions if you're sure that Zotero is looking in the right place.) 
- 
-===1. Make sure you are in the correct Firefox Profile.=== 
- 
-Occasionally when upgrading, Firefox creates a new profile. (If you notice that your bookmarks and browser history have changed or disappeared, it's likely that this has occurred.) You can use the [[http://support.mozilla.com/kb/Profiles|Firefox Profile manager]] to make sure that you are in fact in the correct profile. 
- 
-===2. Make sure your data files are in the directory where Zotero is looking.=== 
- 
-Use the "Show Data Directory" button in the [[preferences/advanced|Advanced]] pane of your 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 in the Advanced pane of the Zotero prefs or, with Firefox closed, move any existing Zotero files (zotero.sqlite and 'storage') out of the way and copy your desired Zotero files into the displayed directory. If you're not sure where your 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 in the 'storage' directory for recently saved PDFs and other files. 
- 
-Unless you have a good reason to use a custom data directory location, we recommend using the default location within your Firefox profile. 
- 
-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 Firefox before making any changes to Zotero files. 
ja/zotero_data.1333698845.txt.gz · Last modified: 2012/04/06 03:54 by odon