Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

139 lines
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: bg\n"
  17. "Language-Team: bg <LL@li.org>\n"
  18. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  19. "MIME-Version: 1.0\n"
  20. "Content-Type: text/plain; charset=utf-8\n"
  21. "Content-Transfer-Encoding: 8bit\n"
  22. "Generated-By: Babel 2.16.0\n"
  23. #: ../../../docs/maintenance-migrating.md:1
  24. msgid "Migrating to new server"
  25. msgstr ""
  26. #: ../../../docs/maintenance-migrating.md:3
  27. msgid "This documentation explains how to migrate your Matrix services (server, client, bridges, etc.) and data **from an old server to a new server**."
  28. msgstr ""
  29. #: ../../../docs/maintenance-migrating.md:5
  30. msgid "**Notes**:"
  31. msgstr ""
  32. #: ../../../docs/maintenance-migrating.md:6
  33. 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`)."
  34. msgstr ""
  35. #: ../../../docs/maintenance-migrating.md:8
  36. 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."
  37. msgstr ""
  38. #: ../../../docs/maintenance-migrating.md:9
  39. 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."
  40. msgstr ""
  41. #: ../../../docs/maintenance-migrating.md:11
  42. msgid "You can't change the domain (specified in the `matrix_domain` variable) after the initial deployment."
  43. msgstr ""
  44. #: ../../../docs/maintenance-migrating.md:13
  45. msgid "Lower DNS TTL"
  46. msgstr ""
  47. #: ../../../docs/maintenance-migrating.md:15
  48. 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."
  49. msgstr ""
  50. #: ../../../docs/maintenance-migrating.md:17
  51. msgid "Stop services on the old server completely"
  52. msgstr ""
  53. #: ../../../docs/maintenance-migrating.md:19
  54. msgid "Before migrating, you need to stop all services on the old server and make sure they won't be starting again."
  55. msgstr ""
  56. #: ../../../docs/maintenance-migrating.md:21
  57. 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."
  58. msgstr ""
  59. #: ../../../docs/maintenance-migrating.md:23
  60. msgid "Log in to the old server and run the command as `root` (or a user that can run it with `sudo`):"
  61. msgstr ""
  62. #: ../../../docs/maintenance-migrating.md:29
  63. msgid "Copy data directory to the new server"
  64. msgstr ""
  65. #: ../../../docs/maintenance-migrating.md:31
  66. 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`)!"
  67. msgstr ""
  68. #: ../../../docs/maintenance-migrating.md:33
  69. msgid "Adjust DNS records"
  70. msgstr ""
  71. #: ../../../docs/maintenance-migrating.md:35
  72. msgid "Make sure your DNS records are adjusted to point to the new server's IP address."
  73. msgstr ""
  74. #: ../../../docs/maintenance-migrating.md:37
  75. msgid "Update `inventory/hosts` file"
  76. msgstr ""
  77. #: ../../../docs/maintenance-migrating.md:39
  78. msgid "Having adjusted DNS records, replace the old server's external IP address on the `inventory/hosts` file with that of the new server."
  79. msgstr ""
  80. #: ../../../docs/maintenance-migrating.md:41
  81. msgid "Create `matrix` user and group on the new server"
  82. msgstr ""
  83. #: ../../../docs/maintenance-migrating.md:43
  84. msgid "Then, run the command below on your local computer to create the `matrix` user and group on the new server:"
  85. msgstr ""
  86. #: ../../../docs/maintenance-migrating.md:49
  87. msgid "The shortcut command with `just` program is also available: `just run-tags setup-system-user`"
  88. msgstr ""
  89. #: ../../../docs/maintenance-migrating.md:51
  90. 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:"
  91. msgstr ""
  92. #: ../../../docs/maintenance-migrating.md:57
  93. msgid "Install and start all services on the new server"
  94. msgstr ""
  95. #: ../../../docs/maintenance-migrating.md:59
  96. msgid "Finally, run the command below on your local computer to finish the installation and start all services:"
  97. msgstr ""
  98. #: ../../../docs/maintenance-migrating.md:65
  99. msgid "The shortcut command with `just` program is also available: `just run-tags install-all,start`"
  100. msgstr ""
  101. #: ../../../docs/maintenance-migrating.md:67
  102. msgid "Check if services work"
  103. msgstr ""
  104. #: ../../../docs/maintenance-migrating.md:69
  105. 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)"
  106. msgstr ""
  107. #: ../../../docs/maintenance-migrating.md:71
  108. msgid "Having make sure that both services and federation work as expected, you can safely shutdown the old server."
  109. msgstr ""