Skip to content

Commit

Permalink
Deploying to gh-pages from @ b02d199 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
milkmaker committed Jul 29, 2024
1 parent 5f4be5f commit ed129bd
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 235 deletions.
16 changes: 9 additions & 7 deletions backup_restore/b_n_r-restore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3833,21 +3833,23 @@ <h5 id="backup-path">Backup path<a class="headerlink" href="#backup-path" title=
<p>The script will ask you for a backup location. Inside of this location it will create folders in the format "mailcow_DATE".
You should not rename those folders to not break the restore process.</p>
<p>To run a backup unattended, define MAILCOW_BACKUP_LOCATION as environment variable before starting the script:</p>
<div class="highlight"><pre><span></span><code>MAILCOW_BACKUP_LOCATION=/opt/backup /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh restore
<div class="highlight"><pre><span></span><code><span class="nv">MAILCOW_BACKUP_LOCATION</span><span class="o">=</span>/opt/backup<span class="w"> </span>/opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh<span class="w"> </span>restore
</code></pre></div>
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<pre><code>Both variables mentioned above can also be combined! Ex:
```
MAILCOW_BACKUP_LOCATION=/opt/backup THREADS=14 /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh restore
```
</code></pre>
<p>Both variables mentioned above can also be combined! Ex:
<div class="highlight"><pre><span></span><code><span class="nv">MAILCOW_BACKUP_LOCATION</span><span class="o">=</span>/opt/backup<span class="w"> </span><span class="nv">THREADS</span><span class="o">=</span><span class="m">14</span><span class="w"> </span>/opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh<span class="w"> </span>restore
</code></pre></div></p>
</div>
<h4 id="restoring-data">Restoring Data<a class="headerlink" href="#restoring-data" title="Permanent link">&para;</a></h4>
<div class="admonition danger">
<p class="admonition-title">Danger</p>
<p><strong>Please do not copy this script to another location.</strong></p>
</div>
<div class="admonition danger">
<p class="admonition-title">Danger for older installations</p>
<p>Before restoring your mailcow system on a new server and a clean mailcow-dockerized folder, please check if the value <code>MAILDIR_SUB</code> is set in your mailcow.conf. If this value is not set, do not set it in your new mailcow or remove it, otherwise <strong>NO</strong> emails will be displayed. Dovecot loads emails from the mentioned subfolder of the Maildir volume under <code>$DOCKER_VOLUME_PATH/mailcowdockerized_vmail-vol-1</code> and if there is any change compared to the original state, no emails will be available there.</p>
</div>
<p>To run a restore, <strong>start mailcow</strong>, use the script with "restore" as first parameter.</p>
<div class="highlight"><pre><span></span><code># Syntax:
# ./helper-scripts/backup_and_restore.sh restore
Expand Down Expand Up @@ -3903,7 +3905,7 @@ <h4 id="restoring-data">Restoring Data<a class="headerlink" href="#restoring-dat
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_datetime">2023-12-11 15:55:11</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_datetime">2024-07-29 16:26:02</span>
</span>


Expand Down
10 changes: 7 additions & 3 deletions de/backup_restore/b_n_r-restore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3833,19 +3833,23 @@ <h5 id="backup-pfad">Backup Pfad<a class="headerlink" href="#backup-pfad" title=
<p>Das Skript wird Sie nach einem Speicherort für die Sicherung fragen. Innerhalb dieses Speicherortes wird es Ordner im Format "mailcow_DATE" erstellen.
Sie sollten diese Ordner nicht umbenennen, um den Wiederherstellungsprozess nicht zu stören.</p>
<p>Um ein Backup unbeaufsichtigt durchzuführen, definieren Sie MAILCOW_BACKUP_LOCATION als Umgebungsvariable, bevor Sie das Skript starten:</p>
<div class="highlight"><pre><span></span><code>MAILCOW_BACKUP_LOCATION=/opt/backup /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all
<div class="highlight"><pre><span></span><code><span class="nv">MAILCOW_BACKUP_LOCATION</span><span class="o">=</span>/opt/backup<span class="w"> </span>/opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh<span class="w"> </span>backup<span class="w"> </span>all
</code></pre></div>
<div class="admonition tip">
<p class="admonition-title">Tipp</p>
<p>Beide oben genannten Variablen können auch kombiniert werden! Bsp:
<div class="highlight"><pre><span></span><code>MAILCOW_BACKUP_LOCATION=/opt/backup THREADS=14 /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh restore
<div class="highlight"><pre><span></span><code><span class="nv">MAILCOW_BACKUP_LOCATION</span><span class="o">=</span>/opt/backup<span class="w"> </span><span class="nv">THREADS</span><span class="o">=</span><span class="m">14</span><span class="w"> </span>/opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh<span class="w"> </span>restore
</code></pre></div></p>
</div>
<h4 id="wiederherstellung-der-daten">Wiederherstellung der Daten<a class="headerlink" href="#wiederherstellung-der-daten" title="Permanent link">&para;</a></h4>
<div class="admonition danger">
<p class="admonition-title">Achtung</p>
<p><strong>Bitte kopieren Sie dieses Skript nicht an einen anderen Ort.</strong></p>
</div>
<div class="admonition danger">
<p class="admonition-title">Achtung für ältere Installationen</p>
<p>Bitte schauen Sie <strong>VOR</strong> der Wiederherstellung Ihres mailcow Systemes auf einen neuen Server und einem sauberen mailcow-dockerized Ordner, ob in Ihrer mailcow.conf der Wert <code>MAILDIR_SUB</code> gesetzt ist. Falls dieser nicht gesetzt ist, so setzen Sie diesen auch bitte in Ihrer neuen mailcow nicht, bzw. entfernen diesen, da sonst <strong>KEINE</strong> E-Mails angezeigt werden. Dovecot lädt E-Mails aus dem besagtem Unterordner des Maildir Volumes unter <code>$DOCKER_VOLUME_PFAD/mailcowdockerized_vmail-vol-1</code> und bei Änderung im Vergleich zum Ursprungszustand sind dort keine Mails vorhanden.</p>
</div>
<p>Um eine Wiederherstellung durchzuführen, <strong>starten Sie mailcow</strong>, verwenden Sie das Skript mit "restore" als ersten Parameter.</p>
<div class="no-copy highlight"><pre><span></span><code><span class="c1"># Syntax:</span>
<span class="c1"># ./helper-scripts/backup_and_restore.sh restore</span>
Expand Down Expand Up @@ -3901,7 +3905,7 @@ <h4 id="wiederherstellung-der-daten">Wiederherstellung der Daten<a class="header
<span class="md-icon" title="Letztes Update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_datetime">2023-12-11 15:55:11</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_datetime">2024-07-29 16:26:02</span>
</span>


Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit ed129bd

Please sign in to comment.