Search
j0ke.net Open Build Service
>
Projects
>
home:mzimmermann
>
rsnapreport
> rsnapreport.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rsnapreport.spec of Package rsnapreport (Revision 11)
Currently displaying revision
11
,
show latest
Summary: rsnapreport Name: rsnapreport Version: 1 Release: 1 License: GPLv2 Group: System/Backup URL: http://cpansearch.perl.org/src/DCANTRELL/App-Rsnapshot-1.999_00002/utils/rsnapreport.pl Source0: rsnapreport.pl BuildRoot: %{_tmppath}/rsnapreport.pl %description this script prints a pretty report from rsnapshot output in the rsnapshot.conf you must set verbose >= 3 and add --stats to rsync_long_args then setup crontab 'rsnapshot daily 2>&1 | rsnapreport.pl | mail -s"SUBJECT" backupadm@adm.com don't forget the 2>&1 or your errors will be lost to stderr %prep %install ## % __make DESTDIR=%{buildroot}/usr/local/sbin install %__install -D -m0755 rsnapreport.pl %{buildroot}%{_sbindir}/rsnapreport.pl %clean test "$RPM_BUILD_ROOT" = "/" || rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_sbindir}/rsnapreport.pl %changelog