put this basic script in your cron to run once daily
> df -h|grep /thedirectory|awk '{print $5" used on the "$6" mountpoint, "$4"
> available"}'|mail youusername
i get this output mailed to me
> 38% used on the /shared mountpoint, 174G available
its simple but effective. this is an old version, i have since moved to a
more complex script to only mail me over 80%
i will put this on the wiki
http://backuppc.wiki.sourceforge.net
On 10/11/07, Craig Barratt <[EMAIL PROTECTED]> wrote:
>
> Peter writes:
>
> > I looked into the appropriate backuppc subdirectory and found an
> > empty 'backups' files and a 'backups.old' file with some content.
> > When I copied the 'backups.old' to 'backups', my backup summary appears
> > to be OK
>
> For some reason the new backups file wasn't written successfully.
> Perhaps your file system is full? The previous version, as you
> found, is in backups.old.
>
> In 3.x the writing of these files is a lot more robust (it does
> a write to a new file, reads the file the verify, and only then
> renames it). 3.x also has tools for reconstructing the backups
> file if it is lost or corrupt.
>
> Craig
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/