12. Notifications

In addition to sending e-mail alerts, rsyncbackup can notify you whenever rsyncbackup starts, and when it is finnished. This is done through the Growl system.

If you want to send growl notifications locally when running rsyncbackup from the command line, you can use the --growl option. In example:

	rsyncbackup -b -s daily --growl
	

That approach connects directly to Growl by the Perl bindings library. However that will not work when running rsyncbackup from cron. To send notifications from cron I created Remote Growl. Go download it, before you continue. Remote Growl will receive notifications from rsyncbackup over an UDP socket. Therefore, in addition to be able to send notifications from cron, rsyncbackup can send notifications to a remote computer.

To use Remote Growl with rsyncbackup, you will need to use the --growlnotify parameter, with a string containing the remote host (or localhost), the port number used and the password to the Remote Growl Server. Here is an example of sending notifications from cron:

	rsyncbackup -b -s daily --growlnotify localhost:9955:s9dkcm33q
	

Here is an example of sending notifications to a remote host (foo.yourcompany.com):

	rsyncbackup -b -s daily --growlnotify foo.yourcompany.com:9960:jj37xcwk28s
	

Installing and configuring Remote Growl is well documented on its homepage.