比較變更
備份與還原 Firefox 設定檔
修訂版本 24289:
由 azusa0423 於 的編修 24289
修訂版本 24290:
由 azusa0423 於 的編修 24290
關鍵詞:
備份 文件 使用者設定檔 資料
備份 文件 使用者設定檔 資料
搜尋結果概要:
Mozilla Firefox 儲存所有你的個人設定,例如:書籤,密碼...等,於你的電腦中一個不同於Firefox程式的使用者設定檔。這篇文章是解釋你的profile將會如何的被備份,復原,或是移動到一個新位置或新電腦。
Mozilla Firefox 儲存所有你的個人設定,例如:書籤,密碼...等,於你的電腦中一個不同於Firefox程式的使用者設定檔。這篇文章是解釋你的profile將會如何的被備份,復原,或是移動到一個新位置或新電腦。
內容:
Mozilla Firefox 儲存所有你的個人設定,例如:書籤,密碼...等,於你的電腦中一個不同於Firefox程式的'''[[使用者]]設定檔'''。這篇文章是解釋你的profile將會如何的被備份,復原,或是移動到一個新位置或新電腦。
* '''只是書籤?'''備份,復原,或移動你的書籤(不是其他資料),請看 [[備份和復原書籤]].
__TOC__
= 找到你的使用者設定檔=
{for win}
Firefox的使用者設定檔的初始位置是'''{filepath <nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\}'''.
* {filepath <nowiki>%</nowiki>APPDATA%} 是以下路徑的簡短記法{filepath C:\Users\<username>\AppData\Roaming\} 資料夾 (Windows 7/Vista) 或 {filepath C:\Documents and Settings\<username>\Application Data\} 資料夾 (Windows XP/2000),其中和你的Windows使用者帳號名稱有關。
{/for}
{for mac}
Firefox的使用者設定檔的初始位置是'''{filepath ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/}'''.
{/for}
{for linux}
Firefox的使用者設定檔的初始位置是'''{filepath ~/.mozilla/firefox/xxxxxxxx.default/}'''.
{/for}
* {filepath xxxxxxxx} 代表一個8字元的隨機字串
你可以找到你的使用者設定檔藉由使用以下的指令:
{for fx35}
== Firefox 3.6 ==
#{for win,linux}在Firefox 視窗的最頂端{/for}{for mac}在主選單列{/for},點擊 {menu Help} 選單然後選擇 {menu 排難排解資訊}。排難排解資訊視窗將會打開。
# '''應用程式基本概念'''裡面,點擊 {button {for win,linux}Open Containing Folder{/for}{for mac}Show in Finder{/for}}。這個動作將會打開使用者設定檔(例如,{filepath xxxxxxxx.default} 資料夾).
{note}'''注意:'''如果你不能打開Firefox,請使用下面給Firefox 3.5的指令。{/note}
== Firefox 3.5 ==
{/for}
{for win}
== Windows 7 和 Vista ==
# 點擊Windows {button Start}按鈕,然後在開始選單底部的搜索框輸入 {filepath <nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\} ,不用按Enter鍵。
# 一串的使用者設定檔會顯現在開始選單的最上方。你可以點擊任意的使用者設定檔 (例如 xxxxxxxx.default) 來將它以Windows Explorer開啟。
<br/> <br/>[[Image:98ed7b83d09ef2c94285fcf99165ff31-1258904886-852-1.png]]
== Windows 2000 and XP ==
# 點擊Windows {button Start}按鈕,然後選擇 {menu Run...}.<br/> <br/>[[Image:win-run.png]]<br/>
# 輸入{filepath <nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\} 之後點擊 {button OK}.<br/> <br/>[[Image:win-rundialog.png]]
Windows Explorer 將會打開 {filepath Profiles}資料夾,其中包含一個給所有使用者設定檔的資料夾。
{/for}
{for mac}
# 點擊dock中的'''Finder'''圖像。
# 在主選單列上點擊 {menu Go} 選單然後選擇 {menu Go to Folder...}
# 在'''Go to Folder''' 視窗,貼入以下文字: '''~/Library/Application Support/Firefox/Profiles''' 然後點擊 {button Go}
# 一個視窗將會開啟所在資料夾。
# 雙擊名稱有“default”的使用者設定檔來開啟它
{/for}
{for linux}
# '''(Ubuntu)''' 在螢幕左上角點擊{menu Places} 選單然後選擇 {menu Home Folder}。 將會出現一個文件瀏覽視窗。
# 點擊 {menu View} 選單然後選擇 {menu Show Hidden Files} 如果它尚未被打勾。
# 雙擊寫著 {filepath .mozilla}的資料夾。
# 雙擊寫著 {filepath firefox}的資料夾。你的使用者設定檔就在這個資料夾裡。
{/for}
= 備份你的使用者設定檔 =
為了要備份你的使用者設定檔,首先要關閉開著的Firefox之後複製使用者設定檔到另外一個位置。
# [[T:關閉Firefox]]
# 如同上面所述,找到你的使用者設定檔。
# 到你的使用者設定檔所在的上一頁,例如,到 {filepath {for win}<nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\{/for}{for mac}~/Library/Application Support/Firefox/Profiles/{/for}{for linux}~/.mozilla/firefox/{/for}}
# 在你的使用者設定檔上{for win,linux}單擊右鍵{/for}{for mac}點擊時按住 {key Ctrl}鍵{/for} (例如, {filepath xxxxxxxx.default}),然後選擇 {menu 複製}.
# 在備份位置 (例如,USB或空白 CD-RW 光碟){for win,linux}單擊右鍵{/for}{for mac}點擊時按住 {key Ctrl}鍵{/for} ,然後選擇 {menu 貼上{for mac} 項目{/for}}.
= 復原使用者設定檔的備份 =
# [[T:關閉Firefox]]
# 如果你現有的使用者設定檔和備份的使用者設定檔名字相同,只需將備份的使用者設定檔取代現有的使用者設定檔,然後啟動Firefox。{note}'''重要:''' 使用者設定檔的名稱必須完全符合才能達到這個動作,包含8字元的隨機字串。 如果名稱沒有符合或是復原備份檔到不同的位置,請看下面的步驟。{/note}
== 復原到不同的位置 ==
如果使用者設定檔的名稱不符合或是你想移動或復原到不同位置,請座以下步驟:
# 如同上面所解釋的,請完全關閉Firefox。
#在你所想要的地方[[管理使用者設定檔|使用Firefox使用者設定檔管理員來建立一個新的使用者]] ,然後離開使用者設定檔管理員。 {note}'''注意:''' 如果你才剛在新電腦上安裝Firefox,你可以使用在你第一次使用
Firefox時自動建立的使用者,而不用建立一個新的使用者。{/note}
#在你的硬碟或備份媒介(例如,你的USB)找到備份的使用者設定檔。
#打開備份的使用者設定檔 (例如, {filepath xxxxxxxx.default} 備份檔)。
#複製所有備份的使用者設定檔"內容",例如 {filepath mimeTypes.rdf} 檔案, {filepath prefs.js} 檔案, {filepath bookmarkbackups} 資料夾...等。
# 如上面所述的,找到並打開新的使用者設定檔,並將開著的Firefox關閉。
#貼上備份的使用者設定檔內容到新的使用者設定檔,並覆蓋現有的相同名稱的檔案。
#啟動Firefox。
<!-- Removing per https://support.mozilla.com/kb/Best+practices+for+Support+Documents
== 復原到不同位置 - 高等用戶 ==
{for win}
除了上述的,高等用戶可能偏好以下的行徑:
#找到你的硬碟或備份媒介(例如,你的USB) 裡備份的使用者設定檔,然後複製到硬碟。任何目標位置都會做這件事,但是它會建議你將檔案放在初始設定的使用者位置,就如同第一段所解釋的。
#藉由雙擊將{filepath profiles.ini} 用文字編輯器打開。這個檔案位在Firefox的應用程式數據資料夾裡:
**Windows 7 and Vista,路徑是{filepath C:\Users\''<username>''\AppData\Roaming\Mozilla\Firefox\Profiles.ini}
**Windows XP/2000,路徑是 {filepath C:\Documents and Settings\''<username>''\Application Data\Mozilla\Firefox\Profiles.ini}
#在{filepath profiles.ini}找到你剛剛移動的使用者設定檔的條目。將{pref Path=}換成新的位置。
#將這行從{pref IsRelative=1} 換成{pref IsRelative=0}。
#再檢查一次所做的變更,然後儲存{filepath profiles.ini}。
+'''{filepath profiles.ini}範例:'''如果你複製名稱是{filepath 646a7374.default}的使用者設定檔,然後將它放在{filepath C:\Users\David\AppData\Roaming\Mozilla\Firefox\Profiles\},那麼你的{filepath profiles.ini}檔案將看起來像這樣:
+
+<code>[General]
StartWithLastProfile=1
[Profile0]
Name=Default
IsRelative=0
Path=C:\Users\David\AppData\Roaming\Mozilla\Firefox\Profiles\\646a7374.default</code>
+
#啟動Firefox.
{/for}
{for mac,linux}
除了上述的,高等用戶可能偏好以下的行徑:
#找到你的硬碟或備份媒介(例如,你的USB) 裡備份的使用者設定檔,然後複製到硬碟。任何目標位置都會做這件事,但是它會建議你將檔案放在初始設定的使用者位置,就如同第一段所解釋的。
#藉由雙擊將{filepath profiles.ini} 用文字編輯器打開。 這個檔案位於{for linux}{filepath ~/.mozilla/firefox/profiles.ini}{/for}{for mac}{filepath ~/Library/Application Support/Firefox/Profiles.ini}{/for}
#在{filepath profiles.ini}找到你剛剛移動的使用者設定檔的條目。將{pref Path=}換成新的位置。
#將這行從{pref IsRelative=1} 換成{pref IsRelative=0}。
#再檢查一次所做的變更,然後儲存{filepath profiles.ini}。
#啟動Firefox。
{/for}
-->
Mozilla Firefox 儲存所有你的個人設定,例如:書籤,密碼...等,於你的電腦中一個不同於Firefox程式的'''[[使用者]]設定檔'''。這篇文章是解釋你的profile將會如何的被備份,復原,或是移動到一個新位置或新電腦。
* '''只是書籤?'''備份,復原,或移動你的書籤(不是其他資料),請看 [[備份和復原書籤]].
__TOC__
= 找到你的使用者設定檔=
{for win}
Firefox的使用者設定檔的初始位置是'''{filepath <nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\}'''.
* {filepath <nowiki>%</nowiki>APPDATA%} 是以下路徑的簡短記法{filepath C:\Users\<username>\AppData\Roaming\} 資料夾 (Windows 7/Vista) 或 {filepath C:\Documents and Settings\<username>\Application Data\} 資料夾 (Windows XP/2000),其中和你的Windows使用者帳號名稱有關。
{/for}
{for mac}
Firefox的使用者設定檔的初始位置是'''{filepath ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/}'''.
{/for}
{for linux}
Firefox的使用者設定檔的初始位置是'''{filepath ~/.mozilla/firefox/xxxxxxxx.default/}'''.
{/for}
* {filepath xxxxxxxx} 代表一個8字元的隨機字串
你可以找到你的使用者設定檔藉由使用以下的指令:
{for fx35}
== Firefox 3.6 ==
#{for win,linux}在Firefox 視窗的最頂端{/for}{for mac}在主選單列{/for},點擊 {menu Help} 選單然後選擇 {menu 排難排解資訊}。排難排解資訊視窗將會打開。
# '''應用程式基本概念'''裡面,點擊 {button {for win,linux}Open Containing Folder{/for}{for mac}Show in Finder{/for}}。這個動作將會打開使用者設定檔(例如,{filepath xxxxxxxx.default} 資料夾).
{note}'''注意:'''如果你不能打開Firefox,請使用下面給Firefox 3.5的指令。{/note}
== Firefox 3.5 ==
{/for}
{for win}
== Windows 7 和 Vista ==
# 點擊Windows {button 開始}按鈕,然後在開始選單底部的搜索框輸入 {filepath <nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\} ,不用按Enter鍵。
# 一串的使用者設定檔會顯現在開始選單的最上方。你可以點擊任意的使用者設定檔 (例如 xxxxxxxx.default) 來將它以Windows Explorer開啟。
<br/> <br/>[[Image:98ed7b83d09ef2c94285fcf99165ff31-1258904886-852-1.png]]
== Windows 2000 and XP ==
# 點擊Windows {button Start}按鈕,然後選擇 {menu Run...}.<br/> <br/>[[Image:win-run.png]]<br/>
# 輸入{filepath <nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\} 之後點擊 {button OK}.<br/> <br/>[[Image:win-rundialog.png]]
Windows Explorer 將會打開 {filepath Profiles}資料夾,其中包含一個給所有使用者設定檔的資料夾。
{/for}
{for mac}
# 點擊dock中的'''Finder'''圖像。
# 在主選單列上點擊 {menu Go} 選單然後選擇 {menu Go to Folder...}
# 在'''Go to Folder''' 視窗,貼入以下文字: '''~/Library/Application Support/Firefox/Profiles''' 然後點擊 {button Go}
# 一個視窗將會開啟所在資料夾。
# 雙擊名稱有“default”的使用者設定檔來開啟它
{/for}
{for linux}
# '''(Ubuntu)''' 在螢幕左上角點擊{menu Places} 選單然後選擇 {menu Home Folder}。 將會出現一個文件瀏覽視窗。
# 點擊 {menu View} 選單然後選擇 {menu Show Hidden Files} 如果它尚未被打勾。
# 雙擊寫著 {filepath .mozilla}的資料夾。
# 雙擊寫著 {filepath firefox}的資料夾。你的使用者設定檔就在這個資料夾裡。
{/for}
= 備份你的使用者設定檔 =
為了要備份你的使用者設定檔,首先要關閉開著的Firefox之後複製使用者設定檔到另外一個位置。
# [[T:關閉Firefox]]
# 如同上面所述,找到你的使用者設定檔。
# 到你的使用者設定檔所在的上一頁,例如,到 {filepath {for win}<nowiki>%</nowiki>APPDATA%\Mozilla\Firefox\Profiles\{/for}{for mac}~/Library/Application Support/Firefox/Profiles/{/for}{for linux}~/.mozilla/firefox/{/for}}
# 在你的使用者設定檔上{for win,linux}單擊右鍵{/for}{for mac}點擊時按住 {key Ctrl}鍵{/for} (例如, {filepath xxxxxxxx.default}),然後選擇 {menu 複製}.
# 在備份位置 (例如,USB或空白 CD-RW 光碟){for win,linux}單擊右鍵{/for}{for mac}點擊時按住 {key Ctrl}鍵{/for} ,然後選擇 {menu 貼上{for mac} 項目{/for}}.
= 復原使用者設定檔的備份 =
# [[T:關閉Firefox]]
# 如果你現有的使用者設定檔和備份的使用者設定檔名字相同,只需將備份的使用者設定檔取代現有的使用者設定檔,然後啟動Firefox。{note}'''重要:''' 使用者設定檔的名稱必須完全符合才能達到這個動作,包含8字元的隨機字串。 如果名稱沒有符合或是復原備份檔到不同的位置,請看下面的步驟。{/note}
== 復原到不同的位置 ==
如果使用者設定檔的名稱不符合或是你想移動或復原到不同位置,請座以下步驟:
# 如同上面所解釋的,請完全關閉Firefox。
#在你所想要的地方[[管理使用者設定檔|使用Firefox使用者設定檔管理員來建立一個新的使用者]] ,然後離開使用者設定檔管理員。 {note}'''注意:''' 如果你才剛在新電腦上安裝Firefox,你可以使用在你第一次使用Firefox時自動建立的使用者,而不用建立一個新的使用者。{/note}
#在你的硬碟或備份媒介(例如,你的USB)找到備份的使用者設定檔。
#打開備份的使用者設定檔 (例如, {filepath xxxxxxxx.default} 備份檔)。
#複製所有備份的使用者設定檔"內容",例如 {filepath mimeTypes.rdf} 檔案, {filepath prefs.js} 檔案, {filepath bookmarkbackups} 資料夾...等。
# 如上面所述的,找到並打開新的使用者設定檔,並將開著的Firefox關閉。
#貼上備份的使用者設定檔內容到新的使用者設定檔,並覆蓋現有的相同名稱的檔案。
#啟動Firefox。
<!-- Removing per https://support.mozilla.com/kb/Best+practices+for+Support+Documents
== 復原到不同位置 - 高等用戶 ==
{for win}
除了上述的,高等用戶可能偏好以下的行徑:
#找到你的硬碟或備份媒介(例如,你的USB) 裡備份的使用者設定檔,然後複製到硬碟。任何目標位置都會做這件事,但是它會建議你將檔案放在初始設定的使用者位置,就如同第一段所解釋的。
#藉由雙擊將{filepath profiles.ini} 用文字編輯器打開。這個檔案位在Firefox的應用程式數據資料夾裡:
**Windows 7 and Vista,路徑是{filepath C:\Users\''<username>''\AppData\Roaming\Mozilla\Firefox\Profiles.ini}
**Windows XP/2000,路徑是 {filepath C:\Documents and Settings\''<username>''\Application Data\Mozilla\Firefox\Profiles.ini}
#在{filepath profiles.ini}找到你剛剛移動的使用者設定檔的條目。將{pref Path=}換成新的位置。
#將這行從{pref IsRelative=1} 換成{pref IsRelative=0}。
#再檢查一次所做的變更,然後儲存{filepath profiles.ini}。
+'''{filepath profiles.ini}範例:'''如果你複製名稱是{filepath 646a7374.default}的使用者設定檔,然後將它放在{filepath C:\Users\David\AppData\Roaming\Mozilla\Firefox\Profiles\},那麼你的{filepath profiles.ini}檔案將看起來像這樣:
+
+<code>[General]
StartWithLastProfile=1
[Profile0]
Name=Default
IsRelative=0
Path=C:\Users\David\AppData\Roaming\Mozilla\Firefox\Profiles\\646a7374.default</code>
+
#啟動Firefox.
{/for}
{for mac,linux}
除了上述的,高等用戶可能偏好以下的行徑:
#找到你的硬碟或備份媒介(例如,你的USB) 裡備份的使用者設定檔,然後複製到硬碟。任何目標位置都會做這件事,但是它會建議你將檔案放在初始設定的使用者位置,就如同第一段所解釋的。
#藉由雙擊將{filepath profiles.ini} 用文字編輯器打開。 這個檔案位於{for linux}{filepath ~/.mozilla/firefox/profiles.ini}{/for}{for mac}{filepath ~/Library/Application Support/Firefox/Profiles.ini}{/for}
#在{filepath profiles.ini}找到你剛剛移動的使用者設定檔的條目。將{pref Path=}換成新的位置。
#將這行從{pref IsRelative=1} 換成{pref IsRelative=0}。
#再檢查一次所做的變更,然後儲存{filepath profiles.ini}。
#啟動Firefox。
{/for}
-->