summaryrefslogtreecommitdiff
path: root/doc/ja/weechat_faq.ja.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-09-16 09:46:50 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-09-16 09:46:50 +0200
commita5f4c3770be0496bc7c8981ecd4adbe323831b4e (patch)
treebaefbd6761f389dc8ceff65bf7186ef1bdc4203e /doc/ja/weechat_faq.ja.adoc
parent23d3ce7ad8e08676926bd9d8a7f5a41c1d194851 (diff)
downloadweechat-a5f4c3770be0496bc7c8981ecd4adbe323831b4e.zip
doc/faq: add question about move of WeeChat config to another device
Diffstat (limited to 'doc/ja/weechat_faq.ja.adoc')
-rw-r--r--doc/ja/weechat_faq.ja.adoc29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/ja/weechat_faq.ja.adoc b/doc/ja/weechat_faq.ja.adoc
index ed4e9c763..7295dd764 100644
--- a/doc/ja/weechat_faq.ja.adoc
+++ b/doc/ja/weechat_faq.ja.adoc
@@ -1183,6 +1183,35 @@ stored in _sec.conf_ with the `/secure` command).
設定ファイルに関する詳しい情報はlink:weechat_user.ja.html#files_and_directories[ユーザーズガイド / ファイルとディレクトリ ^↗^^]を参照してください。
+// TRANSLATION MISSING
+[[move_to_another_device]]
+=== I want to move my WeeChat to another device and keep my config, what should I copy?
+
+First check directories used by WeeChat with this command: `/debug dirs`. +
+Directories home/config and home/data must be copied (all files and sub-directories).
+
+For example if you're using XDG directories (default with WeeChat ≥ 3.2),
+the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
+If you're using a single directory (default with WeeChat < 3.2), the directory
+should be `$HOME/.weechat`.
+
+[IMPORTANT]
+The WeeChat version on the new device must be greater than or equal to the version
+on the initial device. +
+Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
+leading to unusable WeeChat.
+
+Steps:
+
+. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
+ which includes content of all buffers).
+. Copy all directories, sub-directories and files to the new device, keeping
+ same names and permissions.
+. Optional: copy any file outside these directories that you refer to in your
+ configuration (it's not recommended to use files outside WeeChat directories).
+. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
+ saved the session).
+
[[development]]
== 開発