Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

134 строки
6.0 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2025, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2025-01-27 09:54+0200\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/maintenance-migrating.md:1
  19. msgid "Migrating to new server"
  20. msgstr ""
  21. #: ../../../docs/maintenance-migrating.md:3
  22. msgid "This documentation explains how to migrate your Matrix services (server, client, bridges, etc.) and data **from an old server to a new server**."
  23. msgstr ""
  24. #: ../../../docs/maintenance-migrating.md:5
  25. msgid "**Notes**:"
  26. msgstr ""
  27. #: ../../../docs/maintenance-migrating.md:6
  28. 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`)."
  29. msgstr ""
  30. #: ../../../docs/maintenance-migrating.md:8
  31. 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."
  32. msgstr ""
  33. #: ../../../docs/maintenance-migrating.md:9
  34. 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."
  35. msgstr ""
  36. #: ../../../docs/maintenance-migrating.md:11
  37. msgid "You can't change the domain (specified in the `matrix_domain` variable) after the initial deployment."
  38. msgstr ""
  39. #: ../../../docs/maintenance-migrating.md:13
  40. msgid "Lower DNS TTL"
  41. msgstr ""
  42. #: ../../../docs/maintenance-migrating.md:15
  43. 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."
  44. msgstr ""
  45. #: ../../../docs/maintenance-migrating.md:17
  46. msgid "Stop services on the old server completely"
  47. msgstr ""
  48. #: ../../../docs/maintenance-migrating.md:19
  49. msgid "Before migrating, you need to stop all services on the old server and make sure they won't be starting again."
  50. msgstr ""
  51. #: ../../../docs/maintenance-migrating.md:21
  52. 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."
  53. msgstr ""
  54. #: ../../../docs/maintenance-migrating.md:23
  55. msgid "Log in to the old server and run the command as `root` (or a user that can run it with `sudo`):"
  56. msgstr ""
  57. #: ../../../docs/maintenance-migrating.md:29
  58. msgid "Copy data directory to the new server"
  59. msgstr ""
  60. #: ../../../docs/maintenance-migrating.md:31
  61. 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`)!"
  62. msgstr ""
  63. #: ../../../docs/maintenance-migrating.md:33
  64. msgid "Adjust DNS records"
  65. msgstr ""
  66. #: ../../../docs/maintenance-migrating.md:35
  67. msgid "Make sure your DNS records are adjusted to point to the new server's IP address."
  68. msgstr ""
  69. #: ../../../docs/maintenance-migrating.md:37
  70. msgid "Update `inventory/hosts` file"
  71. msgstr ""
  72. #: ../../../docs/maintenance-migrating.md:39
  73. msgid "Having adjusted DNS records, replace the old server's external IP address on the `inventory/hosts` file with that of the new server."
  74. msgstr ""
  75. #: ../../../docs/maintenance-migrating.md:41
  76. msgid "Create `matrix` user and group on the new server"
  77. msgstr ""
  78. #: ../../../docs/maintenance-migrating.md:43
  79. msgid "Then, run the command below on your local computer to create the `matrix` user and group on the new server:"
  80. msgstr ""
  81. #: ../../../docs/maintenance-migrating.md:49
  82. msgid "The shortcut command with `just` program is also available: `just run-tags setup-system-user`"
  83. msgstr ""
  84. #: ../../../docs/maintenance-migrating.md:51
  85. 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:"
  86. msgstr ""
  87. #: ../../../docs/maintenance-migrating.md:57
  88. msgid "Install and start all services on the new server"
  89. msgstr ""
  90. #: ../../../docs/maintenance-migrating.md:59
  91. msgid "Finally, run the command below on your local computer to finish the installation and start all services:"
  92. msgstr ""
  93. #: ../../../docs/maintenance-migrating.md:65
  94. msgid "The shortcut command with `just` program is also available: `just run-tags install-all,start`"
  95. msgstr ""
  96. #: ../../../docs/maintenance-migrating.md:67
  97. msgid "Check if services work"
  98. msgstr ""
  99. #: ../../../docs/maintenance-migrating.md:69
  100. 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)"
  101. msgstr ""
  102. #: ../../../docs/maintenance-migrating.md:71
  103. msgid "Having make sure that both services and federation work as expected, you can safely shutdown the old server."
  104. msgstr ""