Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

195 wiersze
9.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: 2025-01-27 09:54+0200\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/configuring-playbook-backup-borg.md:1
  24. msgid "Setting up BorgBackup (optional)"
  25. msgstr ""
  26. #: ../../../docs/configuring-playbook-backup-borg.md:3
  27. msgid "The playbook can install and configure [BorgBackup](https://www.borgbackup.org/) (short: Borg) with [borgmatic](https://torsion.org/borgmatic/) for you."
  28. msgstr ""
  29. #: ../../../docs/configuring-playbook-backup-borg.md:5
  30. 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."
  31. msgstr ""
  32. #: ../../../docs/configuring-playbook-backup-borg.md:7
  33. msgid "Prerequisites"
  34. msgstr ""
  35. #: ../../../docs/configuring-playbook-backup-borg.md:9
  36. msgid "Set up a remote server for storing backups"
  37. msgstr ""
  38. #: ../../../docs/configuring-playbook-backup-borg.md:11
  39. 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)."
  40. msgstr ""
  41. #: ../../../docs/configuring-playbook-backup-borg.md:13
  42. msgid "Check the Postgres version"
  43. msgstr ""
  44. #: ../../../docs/configuring-playbook-backup-borg.md:15
  45. 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."
  46. msgstr ""
  47. #: ../../../docs/configuring-playbook-backup-borg.md:17
  48. 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)."
  49. msgstr ""
  50. #: ../../../docs/configuring-playbook-backup-borg.md:19
  51. 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."
  52. msgstr ""
  53. #: ../../../docs/configuring-playbook-backup-borg.md:21
  54. msgid "Create a new SSH key"
  55. msgstr ""
  56. #: ../../../docs/configuring-playbook-backup-borg.md:23
  57. msgid "Run the command below on any machine to create a new SSH key:"
  58. msgstr ""
  59. #: ../../../docs/configuring-playbook-backup-borg.md:29
  60. msgid "You don't need to place the key in the `.ssh` folder."
  61. msgstr ""
  62. #: ../../../docs/configuring-playbook-backup-borg.md:31
  63. msgid "Add the public key"
  64. msgstr ""
  65. #: ../../../docs/configuring-playbook-backup-borg.md:33
  66. msgid "Next, add the **public** part of this SSH key (the `matrix-borg-backup.pub` file) to your BorgBackup provider/server."
  67. msgstr ""
  68. #: ../../../docs/configuring-playbook-backup-borg.md:35
  69. 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:"
  70. msgstr ""
  71. #: ../../../docs/configuring-playbook-backup-borg.md:45
  72. 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."
  73. msgstr ""
  74. #: ../../../docs/configuring-playbook-backup-borg.md:47
  75. msgid "Adjusting the playbook configuration"
  76. msgstr ""
  77. #: ../../../docs/configuring-playbook-backup-borg.md:49
  78. msgid "To enable BorgBackup, add the following configuration to your `vars.yml` file (adapt to your needs):"
  79. msgstr ""
  80. #: ../../../docs/configuring-playbook-backup-borg.md:76
  81. 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."
  82. msgstr ""
  83. #: ../../../docs/configuring-playbook-backup-borg.md:78
  84. msgid "Set backup archive name (optional)"
  85. msgstr ""
  86. #: ../../../docs/configuring-playbook-backup-borg.md:80
  87. 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):"
  88. msgstr ""
  89. #: ../../../docs/configuring-playbook-backup-borg.md:86
  90. msgid "Configure retention policy (optional)"
  91. msgstr ""
  92. #: ../../../docs/configuring-playbook-backup-borg.md:88
  93. 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):"
  94. msgstr ""
  95. #: ../../../docs/configuring-playbook-backup-borg.md:98
  96. msgid "Edit the backup schedule (optional)"
  97. msgstr ""
  98. #: ../../../docs/configuring-playbook-backup-borg.md:100
  99. 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."
  100. msgstr ""
  101. #: ../../../docs/configuring-playbook-backup-borg.md:102
  102. msgid "To edit the schedule, add the following configuration to your `vars.yml` file (adapt to your needs):"
  103. msgstr ""
  104. #: ../../../docs/configuring-playbook-backup-borg.md:108
  105. 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."
  106. msgstr ""
  107. #: ../../../docs/configuring-playbook-backup-borg.md:110
  108. msgid "Set include and/or exclude directories (optional)"
  109. msgstr ""
  110. #: ../../../docs/configuring-playbook-backup-borg.md:112
  111. 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."
  112. msgstr ""
  113. #: ../../../docs/configuring-playbook-backup-borg.md:114
  114. msgid "You might also want to exclude certain directories or file patterns from the backup using the `backup_borg_location_exclude_patterns` variable."
  115. msgstr ""
  116. #: ../../../docs/configuring-playbook-backup-borg.md:116
  117. msgid "Extending the configuration"
  118. msgstr ""
  119. #: ../../../docs/configuring-playbook-backup-borg.md:118
  120. msgid "There are some additional things you may wish to configure about the component."
  121. msgstr ""
  122. #: ../../../docs/configuring-playbook-backup-borg.md:120
  123. msgid "Take a look at:"
  124. msgstr ""
  125. #: ../../../docs/configuring-playbook-backup-borg.md:122
  126. 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"
  127. msgstr ""
  128. #: ../../../docs/configuring-playbook-backup-borg.md:124
  129. msgid "Installing"
  130. msgstr ""
  131. #: ../../../docs/configuring-playbook-backup-borg.md:126
  132. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  133. msgstr ""
  134. #: ../../../docs/configuring-playbook-backup-borg.md:133
  135. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  136. msgstr ""
  137. #: ../../../docs/configuring-playbook-backup-borg.md:135
  138. 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."
  139. msgstr ""
  140. #: ../../../docs/configuring-playbook-backup-borg.md:137
  141. msgid "Manually start a backup"
  142. msgstr ""
  143. #: ../../../docs/configuring-playbook-backup-borg.md:139
  144. 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."
  145. msgstr ""
  146. #: ../../../docs/configuring-playbook-backup-borg.md:141
  147. msgid "If you want to run it immediately, log in to the server with SSH and run `systemctl start matrix-backup-borg`."
  148. msgstr ""
  149. #: ../../../docs/configuring-playbook-backup-borg.md:143
  150. 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."
  151. msgstr ""