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:
35
docs/maintenance/logrotate/proxmox-host.conf
Normal file
35
docs/maintenance/logrotate/proxmox-host.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
# Базовые настройки для Proxmox host (192.168.1.150)
|
||||
# 14 дней, max 100 MB на файл, 5–7 архивов, сжатие
|
||||
#
|
||||
# Вариант 1: встроить в /etc/logrotate.conf в секцию default:
|
||||
# daily
|
||||
# maxage 14
|
||||
# size 100M
|
||||
# rotate 6
|
||||
# compress
|
||||
# delaycompress
|
||||
# missingok
|
||||
# notifempty
|
||||
#
|
||||
# Вариант 2: положить этот файл как /etc/logrotate.d/99-proxmox.conf
|
||||
# (применяется к перечисленным путям; пакетные конфиги имеют приоритет по имени)
|
||||
|
||||
/var/log/syslog
|
||||
/var/log/messages
|
||||
/var/log/daemon.log
|
||||
/var/log/kern.log
|
||||
/var/log/auth.log
|
||||
/var/log/user.log
|
||||
/var/log/pve/tasks/active
|
||||
/var/log/pve/tasks/index
|
||||
{
|
||||
daily
|
||||
maxage 14
|
||||
size 100M
|
||||
rotate 6
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
}
|
||||
Reference in New Issue
Block a user