[Systems] [Systems-logs] freedom.sugarlabs.org-Munin_alert
bernie at codewiz.org
Wed Aug 15 15:06:57 EDT 2018
This is so annoying! We should either shrink the backups, or bump the threshold a bit so it doesn't fire every day.
My trick for finding out what takes up space in backups consists in exploiting the fact that du does not double-count blocks of hard-linked files. So you can go in /backup and do:
du -sh hostname/*/var/lib
The first line will tell you the real size of /var/lib, and the following ones will tell you how much disk space it wastes *per day* on the backup server.
Usually logs being rotated and databases are the worst offenders. For databases, we shouldn't backup the raw files because there's a high chance of corruption. Instead, we should dump them daily and exclude the database files. This will save a lot of backup space too.
On 8/15/18 4:57 AM, Munin wrote:
> sugarlabs.org :: freedom.sugarlabs.org :: Disk usage in percent
> WARNINGs: /backup is 92.16 (outside range [:92]).
> OKs: /run/lock is 0.00, /sys/fs/cgroup is 0.00, /run is 9.89, /run/cgmanager/fs is 0.00, /dev/shm is 0.00, / is 65.84, /srv/socialhelp is 70.75, /var/lib/docker is 59.95, /var/lib/libvirt/images is 61.29.
> Systems-logs mailing list
> Systems-logs at lists.sugarlabs.org
_ // Bernie Innocenti
More information about the Systems