Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: sonoracomm on February 23, 2011, 07:01:48 PM

Title: Workstation Backup Disk Utilization
Post by: sonoracomm on February 23, 2011, 07:01:48 PM
Hello,

I'm asking for advice on how to display the current disk utilization for Workstation Backup.

We use the Workstation Backup as a Level 1 backup where Level 2 is our on-line backup service.

As long as you have plenty of disk space on the USB (or internal) disk that you use to back up to, everything seems very reliable.  If you run short of disk space on your backup drive, things fail without warning.

Since the backup drive is only mounted during the backup, it would be nice if the workstation backup report e-mailed to the administrator contained disk utilization info on the backup drive.  Even the output of "df -h" would be very helpful.

Unfortunately, my first attempts at making this happen have not been successful.  I really should learn perl, I guess.

So, does anyone have a suggestion for me as to which script to tweak and how?  I would appreciate it very much.

Thanks,

G
Title: Re: Workstation Backup Disk Utilization
Post by: brianr on February 24, 2011, 07:22:48 PM
Interestingly, the 8.0b6 version does this:

Moving backup files to target directory /media/nolabel/server.doamin.com/set2
Disk usage 8.9G, 2% full, 862G available
Updating backup configuration data
Backup successfully terminated at : Wed Feb 23 22:00:19 2011

whereas 7.5.1:

Moving backup files to target directory /media/usbdisk/server.domain.org/set0
Updating backup configuration data
Backup successfully terminated at : Wed Feb 23 22:01:01 2011



Title: Re: Workstation Backup Disk Utilization
Post by: sonoracomm on February 24, 2011, 10:37:29 PM
Hi Brian,

Thanks for that.

It so happens that one of the servers I was monitoring was SME8b6, but it didn't have the disk utilization stats in the e-mailed reports.  I did a 'yum update' (smeserver-backup was updated) and that did the trick.

Thanks Brian ands thank to all devs for a fantastic project.

G
Title: Re: Workstation Backup Disk Utilization
Post by: wellsi on March 12, 2011, 04:44:28 PM
The feature was requested in the Bug Tracker, and as it was both easy to implement and useful, I implemented it.
- Include disk usage in Workstation Backup email [SME: 6143]

There is also another related change that you may be interested in
Backup to Workstation does not handle full remote disc gracefully, by Filippo Carletti [SME: 6355]

That one is just waiting for someone to verify it before being released. It lets failures due to full disks fail more gracefully.


Title: Re: Workstation Backup Disk Utilization
Post by: chris burnat on March 13, 2011, 05:55:55 AM
That one is just waiting for someone to verify it before being released. It lets failures due to full disks fail more gracefully.

On its way....