Set file permission of backup_sogo.sh to 0400.
This commit is contained in:
parent
3eeaf57f83
commit
84de6c16d4
|
@ -107,7 +107,7 @@ Additional config files under `/etc/dovecot/`:
|
|||
* Main config file is `/usr/local/etc/apache2/httpd.conf`.
|
||||
* Module config files are placed under `/usr/local/etc/apache2/Includes/`.
|
||||
* Root directory used to store web applications is `/usr/local/www/`,
|
||||
document root is `/usr/local/www/apache22/data/`.
|
||||
document root is `/usr/local/www/apacheXX/data/`.
|
||||
* Log files are placed under `/var/log/`, main log files are
|
||||
`/var/log/httpd-access.log` and `/var/log/httpd-error.log`.
|
||||
|
||||
|
@ -122,10 +122,13 @@ Additional config files under `/etc/dovecot/`:
|
|||
|
||||
## Nginx {: #nginx }
|
||||
|
||||
* On `Linux` and OpenBSD: Nginx config files are placed under `/etc/nginx/`,
|
||||
uWSGI config files are placed under `/etc/uwsgi/`.
|
||||
* On FreeBSD: Nginx config files are placed under `/usr/local/etc/nginx`,
|
||||
uWSGI config files are placed under `/usr/local/etc/uwsgi/`.
|
||||
* On `Linux` and OpenBSD:
|
||||
* Nginx config files are placed under `/etc/nginx/`
|
||||
* uWSGI config files are placed under `/etc/uwsgi/`
|
||||
* On FreeBSD:
|
||||
* Nginx config files are placed under `/usr/local/etc/nginx`
|
||||
* Web applications are stored under `/usr/local/www`
|
||||
* uWSGI config files are placed under `/usr/local/etc/uwsgi/`
|
||||
|
||||
Main config files are `nginx.conf` and `default.conf`.
|
||||
|
||||
|
|
|
@ -198,6 +198,7 @@ Please follow steps below to setup this daily cron job.
|
|||
```
|
||||
cd /var/vmail/backup/
|
||||
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
|
||||
chmod 0400 backup_sogo.sh
|
||||
```
|
||||
|
||||
* This script will create new directory under `/var/vmail/backup` like below
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
|
||||
## ChangeLog
|
||||
|
||||
* TODO [SQL backends] Update SQL structure:
|
||||
* New column: `domain.maillists`
|
||||
* New table: `vmail.maillists`
|
||||
* TODO Update Postfix main.cf: `b.barracudacentral.org=127.0.0.[2..11]*2` -> `b.barracudacentral.org=127.0.0.2*2`
|
||||
* TODO Update sogo backup script.
|
||||
|
||||
## General (All backends should apply these steps)
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@
|
|||
<li>Main config file is <code>/usr/local/etc/apache2/httpd.conf</code>.</li>
|
||||
<li>Module config files are placed under <code>/usr/local/etc/apache2/Includes/</code>.</li>
|
||||
<li>Root directory used to store web applications is <code>/usr/local/www/</code>,
|
||||
document root is <code>/usr/local/www/apache22/data/</code>.</li>
|
||||
document root is <code>/usr/local/www/apacheXX/data/</code>.</li>
|
||||
<li>Log files are placed under <code>/var/log/</code>, main log files are
|
||||
<code>/var/log/httpd-access.log</code> and <code>/var/log/httpd-error.log</code>.</li>
|
||||
</ul>
|
||||
|
@ -194,10 +194,17 @@
|
|||
</ul>
|
||||
<h2 id="nginx">Nginx</h2>
|
||||
<ul>
|
||||
<li>On <code>Linux</code> and OpenBSD: Nginx config files are placed under <code>/etc/nginx/</code>,
|
||||
uWSGI config files are placed under <code>/etc/uwsgi/</code>.</li>
|
||||
<li>On FreeBSD: Nginx config files are placed under <code>/usr/local/etc/nginx</code>,
|
||||
uWSGI config files are placed under <code>/usr/local/etc/uwsgi/</code>.</li>
|
||||
<li>On <code>Linux</code> and OpenBSD:<ul>
|
||||
<li>Nginx config files are placed under <code>/etc/nginx/</code></li>
|
||||
<li>uWSGI config files are placed under <code>/etc/uwsgi/</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>On FreeBSD:<ul>
|
||||
<li>Nginx config files are placed under <code>/usr/local/etc/nginx</code></li>
|
||||
<li>Web applications are stored under <code>/usr/local/www</code></li>
|
||||
<li>uWSGI config files are placed under <code>/usr/local/etc/uwsgi/</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Main config files are <code>nginx.conf</code> and <code>default.conf</code>.</p>
|
||||
<ul>
|
||||
|
|
|
@ -235,6 +235,7 @@ mentioned above, you can restore a single user's data or all users data with
|
|||
</ul>
|
||||
<pre><code>cd /var/vmail/backup/
|
||||
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
|
||||
chmod 0400 backup_sogo.sh
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -47,6 +47,15 @@
|
|||
check <a href="../support.html">the details</a> and <a href="../contact.html">contact us</a>.</p>
|
||||
</div>
|
||||
<h2 id="changelog">ChangeLog</h2>
|
||||
<ul>
|
||||
<li>TODO [SQL backends] Update SQL structure:<ul>
|
||||
<li>New column: <code>domain.maillists</code></li>
|
||||
<li>New table: <code>vmail.maillists</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>TODO Update Postfix main.cf: <code>b.barracudacentral.org=127.0.0.[2..11]*2</code> -> <code>b.barracudacentral.org=127.0.0.2*2</code></li>
|
||||
<li>TODO Update sogo backup script.</li>
|
||||
</ul>
|
||||
<h2 id="general-all-backends-should-apply-these-steps">General (All backends should apply these steps)</h2>
|
||||
<h3 id="update-etciredmail-release-with-new-iredmail-version-number">Update <code>/etc/iredmail-release</code> with new iRedMail version number</h3>
|
||||
<p>iRedMail stores the release version in <code>/etc/iredmail-release</code> after
|
||||
|
|
Loading…
Reference in New Issue