On 03/05/18 18:07, Alan Hodgson wrote: <snip> > > Restores are effectively manual. There is no fire-and-forget bare-metal > restore process. You need to prep the filesystems and then restore them > one-by-one through Amanda (or from the backup images themselves; > they're just tarballs with a short header prepended). I find it helpful > to keep documentation on filesystem sizes and layouts handy. > <snip>
At work I run something like the enclosed /etc/cron.daily/disk_report on all nodes (except the diskless ones). It means that every day I have a simple configuration report tied into the backups. OK, I'm not using Amanda at work, but the principle is the same.
#!/bin/sh
{
echo "Disk report at $(date +'%T %d/%m/%y')"
echo "---------------------------------------------"
echo ""
echo ""
echo "Mounted disks"
echo "============="
df -hl
echo "---------------------------------------------"
echo ""
echo ""
echo "Swap usage"
echo "=========="
swapon -s
echo ""
echo ""
echo "---------------------------------------------"
echo "Partition tables"
echo "================"
fdisk -l
} >/df-h
signature.asc
Description: OpenPGP digital signature
