===== Sauvegarde - Backup ======
Voir aussi [[/informatique/files_synchronization|/informatique/files_synchronization]]
Pour sauvegarder tous les 1/4 d'h... ment (no encryption)
===== Softs =====
* [[/informatique/system_admin/restic]]
* [[/informatique/system_admin/rclone]]
* [[informatique:system_admin
et), mais cela n'empèchera pas d'interroger les informations se trouvant déjà dans le cache de Bind... ... (voire virtuel, selon les
applications) qui peut forwarder vers un serveur cache de réseau si tu est
... ache local sur chaque machine (qui éventuellement forward ses
requêtes à un dns cache fournis par OVH ... te pas le Buggy Internet Name Daemon, c'est plus
fort que moi. Trop d'historique dans les failles de s
cs:
* https://restic.readthedocs.io
* https://forum.restic.net
Articles:
* https://blog.stephane... ge-ovh/
===== Tips =====
==== Mount ====
{{ :informatique:system_admin:restic-mount.png?nolink&200|R... triggering the installation of restic
# this file forbids restic from being installed/updated by APT.
#... up --host "$HOST" "/pg_dump"; do
echo "Sleeping for 10 seconds before retry..."
sleep 10
done
</co
/fr/blog/xmlrpc-php/
#
[INCLUDES]
# Load regexes for filtering
before = botsearch-common.conf
[Definition]
failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HE... <code>
[wordpress-nginx]
enabled=true
# ban only for those ports:
port=http,https
logpath=/var/log/ngi...
findtime = 10m
# "maxretry" is the number of failures before a host get banned.
maxretry = 1
</code>
iguration/actions.html|Actions]]
==== Tips ====
For TAG don't forget to add **":"** at end of value !! Like ''$syslogtag=="foo:"''
==== protocol RELP ===... figuration/modules/omrelp.html|omrelp]]
<code>
# forward some messages to server
module(load="omrelp")
====== systemd ======
Voir aussi [[/informatique/system_admin/journalctl|journalctl]]
* https://sys... are/systemd/man/latest/systemd.time.html#
# check format with `systemd-analyze calendar "*-*-* 00/2:00:... .one.one -- link: ens3
-- Information acquired via protocol DNS in 23.6ms.
-- Dat
lisibles dans ''/proc/sys/net/ipv4/''
Sur les performances:
<code bash>
$ cat /etc/security/limits.d/n... backlog = 4096
# Decrease the time default value for tcp_fin_timeout connection
# debian 10.4 = 60
net... in_timeout = 15
# Decrease the time default value for connections to keep alive
# debian 10.4 = 7200
ne
Authentication yes
PasswordAuthentication no
#X11Forwarding yes
X11Forwarding no
</code>
Si un autre user sudoer existe, sinon attendre l'opération [[#ope
====== journalctl ======
Voir aussi [[/informatique/system_admin/systemd|systemd]].
* https://guill... l -u postfix.service
et aussi ''-t Show messages for the specified syslog identifier''
sudo journalc
heus monitoring. The goal is to use Grok patterns for extracting Prometheus metrics from arbitrary log ... du lead developper
Prometheus differs from [[/informatique/system_admin/server_monitoring#grafana_lok
--delete-after delete after transferring, not before
--force force deletion of directories even if not empty
--exclude=PATTERN exclude files matching PATTER... ées les guillemets.
<code bash>
#!/bin/bash
#
# for debug:
#set -x
RMT="ssh -p 6666 -i /home/debian/