diff options
Diffstat (limited to 'doc/it/weechat_faq.it.adoc')
-rw-r--r-- | doc/it/weechat_faq.it.adoc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/it/weechat_faq.it.adoc b/doc/it/weechat_faq.it.adoc index cf3eeaa93..c3f3b2f29 100644 --- a/doc/it/weechat_faq.it.adoc +++ b/doc/it/weechat_faq.it.adoc @@ -1260,6 +1260,35 @@ stored in _sec.conf_ with the `/secure` command). See the link:weechat_user.it.html#files_and_directories[User's guide / Files and directories ^↗^^] for more information about configuration files. +// 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]] == Sviluppo |