Skip to content

Commit

Permalink
Suppression de l'étape 4.2
Browse files Browse the repository at this point in the history
Rendue inutile après https://forum.club1.fr/d/197
  • Loading branch information
n-peugnet authored Jul 24, 2024
1 parent a87df63 commit c37e590
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions outils/sauvegardes.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,28 +126,21 @@ git add -p && git commit
systemctl daemon-reload
```

#### 4.2. Certains fichiers spéciaux

```sh
mkdir /var/spool/postfix/opendkim && chown opendkim:postfix /var/spool/postfix/opendkim
ln -s /usr/local/src/hydrian/TTRSS-Auth-LDAP/plugins/auth_ldap /usr/share/tt-rss/www/plugins/
```

#### 4.3. Base de données {term}`LDAP`
#### 4.2. Base de données {term}`LDAP`

```sh
systemctl stop slapd
slapadd -l /root/ldap_data.ldif && chown -R openldap:openldap /var/lib/ldap
systemctl restart slapd nslcd
```

#### 4.4. Base de données des [alias email](/outils/aliases.md)
#### 4.3. Base de données des [alias email](/outils/aliases.md)

newaliases
postmap hash:/etc/aliases_senders
chmod g+w /etc/aliases*.db

#### 4.5. Bases de données {logiciel}`MariaDB`
#### 4.4. Bases de données {logiciel}`MariaDB`

```sh
systemctl start mariadb
Expand All @@ -156,7 +149,7 @@ borgmatic restore --archive latest [email protected]:backups
mariadb < /root/mariadb-users.sql
```

#### 4.6. Bases de données Postgres
#### 4.5. Bases de données Postgres

```sh
systemctl start postgresql
Expand All @@ -166,7 +159,7 @@ sudo -u postgres psql -c 'create database root with owner root;'
borgmatic restore --archive latest [email protected]:backups/postgres
```

#### 4.7. Finalisation
#### 4.6. Finalisation

rm -rf /home/*
reboot
Expand Down

0 comments on commit c37e590

Please sign in to comment.