Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

190 řádky
9.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/configuring-playbook-backup-borg.md:1
  19. msgid "Setting up BorgBackup (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-backup-borg.md:3
  22. msgid "The playbook can install and configure [BorgBackup](https://www.borgbackup.org/) (short: Borg) with [borgmatic](https://torsion.org/borgmatic/) for you."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-backup-borg.md:5
  25. msgid "BorgBackup is a deduplicating backup program with optional compression and encryption. That means your daily incremental backups can be stored in a fraction of the space and is safe whether you store it at home or on a cloud service."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-backup-borg.md:7
  28. msgid "Prerequisites"
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-backup-borg.md:9
  31. msgid "Set up a remote server for storing backups"
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-backup-borg.md:11
  34. msgid "You will need a remote server where BorgBackup will store the backups. There are hosted, BorgBackup compatible solutions available, such as [BorgBase](https://www.borgbase.com)."
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-backup-borg.md:13
  37. msgid "Check the Postgres version"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-backup-borg.md:15
  40. msgid "By default, if you're using the integrated Postgres database server (as opposed to [an external Postgres server](configuring-playbook-external-postgres.md)), backups with BorgBackup will also include dumps of your Postgres database."
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-backup-borg.md:17
  43. msgid "Unless you disable the Postgres-backup support, make sure that the Postgres version of your homeserver's database is compatible with borgmatic. You can check the compatible versions [here](https://github.com/mother-of-all-self-hosting/ansible-role-backup_borg/blob/main/defaults/main.yml)."
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-backup-borg.md:19
  46. msgid "An alternative solution for backing up the Postgres database is [postgres backup](configuring-playbook-postgres-backup.md). If you decide to go with another solution, you can disable Postgres-backup support for BorgBackup using the `backup_borg_postgresql_enabled` variable."
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-backup-borg.md:21
  49. msgid "Create a new SSH key"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-backup-borg.md:23
  52. msgid "Run the command below on any machine to create a new SSH key:"
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-backup-borg.md:29
  55. msgid "You don't need to place the key in the `.ssh` folder."
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-backup-borg.md:31
  58. msgid "Add the public key"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-backup-borg.md:33
  61. msgid "Next, add the **public** part of this SSH key (the `matrix-borg-backup.pub` file) to your BorgBackup provider/server."
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-backup-borg.md:35
  64. msgid "If you are using a hosted solution, follow their instructions. If you have your own server, copy the key to it with the command like below:"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-backup-borg.md:45
  67. msgid "The **private** key needs to be added to `backup_borg_ssh_key_private` on your `inventory/host_vars/matrix.example.com/vars.yml` file as below."
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-backup-borg.md:47
  70. msgid "Adjusting the playbook configuration"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-backup-borg.md:49
  73. msgid "To enable BorgBackup, add the following configuration to your `vars.yml` file (adapt to your needs):"
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-backup-borg.md:76
  76. msgid "**Note**: `REPO` will be initialized on backup start, for example: `matrix`. See [Remote repositories](https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls) for the syntax."
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-backup-borg.md:78
  79. msgid "Set backup archive name (optional)"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-backup-borg.md:80
  82. msgid "You can specify the backup archive name format. To set it, add the following configuration to your `vars.yml` file (adapt to your needs):"
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-backup-borg.md:86
  85. msgid "Configure retention policy (optional)"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-backup-borg.md:88
  88. msgid "It is also possible to configure a retention strategy. To configure it, add the following configuration to your `vars.yml` file (adapt to your needs):"
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-backup-borg.md:98
  91. msgid "Edit the backup schedule (optional)"
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-backup-borg.md:100
  94. msgid "By default the backup will run 4 a.m. every day based on the `backup_borg_schedule` variable. It is defined in the format of systemd timer calendar."
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-backup-borg.md:102
  97. msgid "To edit the schedule, add the following configuration to your `vars.yml` file (adapt to your needs):"
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-backup-borg.md:108
  100. msgid "**Note**: the actual job may run with a delay. See `backup_borg_schedule_randomized_delay_sec` [here](https://github.com/mother-of-all-self-hosting/ansible-role-backup_borg/blob/f5d5b473d48c6504be10b3d946255ef5c186c2a6/defaults/main.yml#L50) for its default value."
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-backup-borg.md:110
  103. msgid "Set include and/or exclude directories (optional)"
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-backup-borg.md:112
  106. msgid "`backup_borg_location_source_directories` defines the list of directories to back up. It's set to `{{ matrix_base_data_path }}` by default, which is the base directory for every service's data, such as Synapse, Postgres and the bridges."
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-backup-borg.md:114
  109. msgid "You might also want to exclude certain directories or file patterns from the backup using the `backup_borg_location_exclude_patterns` variable."
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-backup-borg.md:116
  112. msgid "Extending the configuration"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-backup-borg.md:118
  115. msgid "There are some additional things you may wish to configure about the component."
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-backup-borg.md:120
  118. msgid "Take a look at:"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-backup-borg.md:122
  121. msgid "[backup_borg role](https://github.com/mother-of-all-self-hosting/ansible-role-backup_borg)'s [`defaults/main.yml`](https://github.com/mother-of-all-self-hosting/ansible-role-backup_borg/blob/main/defaults/main.yml) for some variables that you can customize via your `vars.yml` file. You can override settings (even those that don't have dedicated playbook variables) using the `backup_borg_configuration_extension_yaml` variable"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-backup-borg.md:124
  124. msgid "Installing"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-backup-borg.md:126
  127. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-backup-borg.md:133
  130. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-backup-borg.md:135
  133. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-backup-borg.md:137
  136. msgid "Manually start a backup"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-backup-borg.md:139
  139. msgid "Sometimes it can be helpful to run the backup as you'd like, avoiding to wait until 4 a.m., like when you test your configuration."
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-backup-borg.md:141
  142. msgid "If you want to run it immediately, log in to the server with SSH and run `systemctl start matrix-backup-borg`."
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-backup-borg.md:143
  145. msgid "This will not return until the backup is done, so it can possibly take a long time. Consider using [tmux](https://en.wikipedia.org/wiki/Tmux) if your SSH connection is unstable."
  146. msgstr ""