admin:infrastructure:backup
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
admin:infrastructure:backup [2021/01/02 17:47] – [Scripts de pre hooks] fpoulain | admin:infrastructure:backup [2021/01/02 17:50] – [Log rotate] fpoulain | ||
---|---|---|---|
Ligne 262: | Ligne 262: | ||
exit 0 | exit 0 | ||
+ | </ | ||
+ | |||
+ | ==== Rsyslog ==== | ||
+ | |||
+ | <code conf / | ||
+ | if $programname == ' | ||
+ | & stop | ||
</ | </ | ||
==== Log rotate ==== | ==== Log rotate ==== | ||
- | <code conf debian/logrotate> | + | <code conf debian/borgmatic> |
- | /var/log/backup.log { | + | /var/log/borgmatic.log |
- | weekly | + | { |
- | | + | |
- | | + | |
- | | + | compress |
- | | + | missingok |
- | notifempty | + | notifempty |
- | create 644 root root | + | |
} | } | ||
</ | </ |
admin/infrastructure/backup.txt · Dernière modification : 2021/01/02 17:53 de fpoulain