Since I keep a lot of stuff in /opt the estimated backup size reported by the server-manager is very inaccurate.
This is more accurate (paths stolen from /usr/lib/perl5/site_perl/esmith/Backup.pm )
Please note that this is the size before any compression is applied (and compression is very content-specific so you should get different figures for different backups/machines). Consider this the biggest possible backup size.
du -hsc /home/e-smith/ /etc/e-smith/templates-custom/ \
/etc/e-smith/templates-user-custom/ /etc/ssh/ /root/ \
/etc/sudoers /etc/passwd /etc/shadow /etc/gshadow \
/etc/samba/secrets.tdb /etc/samba/smbpasswd
you can save it as a text file. chmod +x the file to make it executable
Sample output:
# /root/howbigismybackupgoingtobe
151G /home/e-smith/
76K /etc/e-smith/templates-custom/
4.0K /etc/e-smith/templates-user-custom/
152K /etc/ssh/
289M /root/
4.0K /etc/sudoers
8.0K /etc/passwd
4.0K /etc/shadow
4.0K /etc/gshadow
12K /etc/samba/secrets.tdb
4.0K /etc/samba/smbpasswd
151G total