Update backup and logging documentation for Proxmox and containers. Adjust retention policies for Yandex Object Storage and enhance log rotation settings across various containers. Include detailed instructions for VPS backup processes and configurations for AmneziaVPN.
This commit is contained in:
22
docs/maintenance/logrotate/lxc-default.conf
Normal file
22
docs/maintenance/logrotate/lxc-default.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
# LXC контейнеры: базовая политика
|
||||
# 14 дней, 50 MB ротация, 5 архивов, сжатие
|
||||
# Размещение: /etc/logrotate.d/homelab-lxc.conf
|
||||
|
||||
/var/log/*.log
|
||||
/var/log/mail.log
|
||||
/var/log/syslog
|
||||
/var/log/daemon.log
|
||||
/var/log/kern.log
|
||||
/var/log/auth.log
|
||||
/var/log/user.log
|
||||
{
|
||||
daily
|
||||
maxage 14
|
||||
size 50M
|
||||
rotate 5
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
}
|
||||
Reference in New Issue
Block a user