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 7)
Currently displaying revision
7
,
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}/%{source0}-root %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 %setup -T -c %install ## % __make DESTDIR=%{buildroot}/usr/local/sbin install %__install -D -m0755 %{source0} %{buildroot}%{_sbindir}/%{source} %clean test "$RPM_BUILD_ROOT" = "/" || rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_sbindir}/%{source0} %changelog