Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

138 righe
6.1 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2024-12-16 12:05+0900\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.16.0\n"
  22. #: ../../../docs/maintenance-migrating.md:1
  23. msgid "Migrating to new server"
  24. msgstr ""
  25. #: ../../../docs/maintenance-migrating.md:3
  26. msgid "This documentation explains how to migrate your Matrix services (server, client, bridges, etc.) and data **from an old server to a new server**."
  27. msgstr ""
  28. #: ../../../docs/maintenance-migrating.md:5
  29. msgid "**Notes**:"
  30. msgstr ""
  31. #: ../../../docs/maintenance-migrating.md:6
  32. msgid "This migration guide is applicable if you migrate from one server to another server having the same CPU architecture (e.g. both servers being `amd64`)."
  33. msgstr ""
  34. #: ../../../docs/maintenance-migrating.md:8
  35. msgid "If you're trying to migrate between different architectures (e.g. `amd64` --> `arm64`), simply copying the complete `/matrix` directory is **not** possible as it would move the raw PostgreSQL data (`/matrix/postgres/data`) between different architectures. In this specific case, you can use the guide below as a reference, but you would also need to avoid syncing `/matrix/postgres/data` to the new host, and also dump the database on your current server and import it properly on the new server. See our [Backing up PostgreSQL](maintenance-postgres.md#backing-up-postgresql) docs for help with PostgreSQL backup/restore."
  36. msgstr ""
  37. #: ../../../docs/maintenance-migrating.md:9
  38. msgid "If you have any questions about migration or encountered an issue during migration, do not hesitate to ask for help on [our Matrix room](https://matrix.to/#/%23matrix-docker-ansible-deploy:devture.com). You probably might want to prepare a temporary/sub account on another Matrix server in case it becomes impossible to use your server due to migration failure by any chance."
  39. msgstr ""
  40. #: ../../../docs/maintenance-migrating.md:11
  41. msgid "You can't change the domain (specified in the `matrix_domain` variable) after the initial deployment."
  42. msgstr ""
  43. #: ../../../docs/maintenance-migrating.md:13
  44. msgid "Lower DNS TTL"
  45. msgstr ""
  46. #: ../../../docs/maintenance-migrating.md:15
  47. msgid "Prepare by lowering DNS TTL for your domains (`matrix.example.com`, etc.), so that DNS record changes would happen faster, leading to less downtime."
  48. msgstr ""
  49. #: ../../../docs/maintenance-migrating.md:17
  50. msgid "Stop services on the old server completely"
  51. msgstr ""
  52. #: ../../../docs/maintenance-migrating.md:19
  53. msgid "Before migrating, you need to stop all services on the old server and make sure they won't be starting again."
  54. msgstr ""
  55. #: ../../../docs/maintenance-migrating.md:21
  56. msgid "To do so, it is recommended to run the `systemctl` command on the server. Running the playbook's `stop` tag also stops the services, but just once; they will start again if you reboot the server."
  57. msgstr ""
  58. #: ../../../docs/maintenance-migrating.md:23
  59. msgid "Log in to the old server and run the command as `root` (or a user that can run it with `sudo`):"
  60. msgstr ""
  61. #: ../../../docs/maintenance-migrating.md:29
  62. msgid "Copy data directory to the new server"
  63. msgstr ""
  64. #: ../../../docs/maintenance-migrating.md:31
  65. msgid "After you've confirmed that all services were stopped, copy the `/matrix` directory from the old server to the new server. When copying, make sure to preserve ownership and permissions (use `cp -p` or `rsync -ar`)!"
  66. msgstr ""
  67. #: ../../../docs/maintenance-migrating.md:33
  68. msgid "Adjust DNS records"
  69. msgstr ""
  70. #: ../../../docs/maintenance-migrating.md:35
  71. msgid "Make sure your DNS records are adjusted to point to the new server's IP address."
  72. msgstr ""
  73. #: ../../../docs/maintenance-migrating.md:37
  74. msgid "Update `inventory/hosts` file"
  75. msgstr ""
  76. #: ../../../docs/maintenance-migrating.md:39
  77. msgid "Having adjusted DNS records, replace the old server's external IP address on the `inventory/hosts` file with that of the new server."
  78. msgstr ""
  79. #: ../../../docs/maintenance-migrating.md:41
  80. msgid "Create `matrix` user and group on the new server"
  81. msgstr ""
  82. #: ../../../docs/maintenance-migrating.md:43
  83. msgid "Then, run the command below on your local computer to create the `matrix` user and group on the new server:"
  84. msgstr ""
  85. #: ../../../docs/maintenance-migrating.md:49
  86. msgid "The shortcut command with `just` program is also available: `just run-tags setup-system-user`"
  87. msgstr ""
  88. #: ../../../docs/maintenance-migrating.md:51
  89. msgid "**Note**: because the `matrix` user and group are created dynamically on each server, the user/group ID may differ between the old and new server. We suggest that you adjust ownership of `/matrix` files. To adjust the ownership, log in to the new server and run the command:"
  90. msgstr ""
  91. #: ../../../docs/maintenance-migrating.md:57
  92. msgid "Install and start all services on the new server"
  93. msgstr ""
  94. #: ../../../docs/maintenance-migrating.md:59
  95. msgid "Finally, run the command below on your local computer to finish the installation and start all services:"
  96. msgstr ""
  97. #: ../../../docs/maintenance-migrating.md:65
  98. msgid "The shortcut command with `just` program is also available: `just run-tags install-all,start`"
  99. msgstr ""
  100. #: ../../../docs/maintenance-migrating.md:67
  101. msgid "Check if services work"
  102. msgstr ""
  103. #: ../../../docs/maintenance-migrating.md:69
  104. msgid "After starting the services, you probably might want to ensure that you've migrated things correctly and that services are running. For instructions, see: [check if services work](maintenance-checking-services.md)"
  105. msgstr ""
  106. #: ../../../docs/maintenance-migrating.md:71
  107. msgid "Having make sure that both services and federation work as expected, you can safely shutdown the old server."
  108. msgstr ""