Package: rsnapshot
Version: 1.3.1-3
Severity: minor
Tags: patch

Hi,

In the rsnapshot manpage , section USAGE, the example crontab entries are
wrong. In Debian, rsnapshot resides in /usr/bin, so the crontab entries
starting with /usr/local/bin won't work.

Please see my attached patch.




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsnapshot depends on:
ii  liblchown-perl                1.01-1+b2  Perl interface to the lchown() sys
ii  logrotate                     3.7.8-6    Log rotation utility
ii  perl                          5.14.2-6   Larry Wall's Practical Extraction
ii  rsync                         3.0.8-1    fast remote file copy program (lik

Versions of packages rsnapshot recommends:
ii  openssh-client [ssh-client]   1:5.8p1-7  secure shell (SSH) client, for sec

rsnapshot suggests no packages.

-- Configuration Files:
/etc/rsnapshot.conf changed [not included]
--- rsnapshot.1.orig    2012-02-29 07:20:01.952644605 +0100
+++ rsnapshot.1 2012-02-29 07:24:25.684644572 +0100
@@ -810,13 +810,13 @@
 \&\fBdaily\fR, \fBweekly\fR and \fBmonthly\fR have been defined in 
\fB/etc/rsnapshot.conf\fR
 .Sp
 .RS 4
-\&\fB0 */4 * * *         /usr/local/bin/rsnapshot hourly\fR
+\&\fB0 */4 * * *         /usr/bin/rsnapshot hourly\fR
 .Sp
-\&\fB50 23 * * *         /usr/local/bin/rsnapshot daily\fR
+\&\fB50 23 * * *         /usr/bin/rsnapshot daily\fR
 .Sp
-\&\fB40 23 * * 6         /usr/local/bin/rsnapshot weekly\fR
+\&\fB40 23 * * 6         /usr/bin/rsnapshot weekly\fR
 .Sp
-\&\fB30 23 1 * *         /usr/local/bin/rsnapshot monthly\fR
+\&\fB30 23 1 * *         /usr/bin/rsnapshot monthly\fR
 .RE
 .RE
 .RS 4
@@ -909,13 +909,13 @@
 the lowest, most frequent backup level, and right before. For example:
 .Sp
 .RS 4
-\&\fB0 */4 * * *         /usr/local/bin/rsnapshot sync && 
/usr/local/bin/rsnapshot hourly\fR
+\&\fB0 */4 * * *         /usr/bin/rsnapshot sync && /usr/bin/rsnapshot 
hourly\fR
 .Sp
-\&\fB50 23 * * *         /usr/local/bin/rsnapshot daily\fR
+\&\fB50 23 * * *         /usr/bin/rsnapshot daily\fR
 .Sp
-\&\fB40 23 1,8,15,22 * * /usr/local/bin/rsnapshot weekly\fR
+\&\fB40 23 1,8,15,22 * * /usr/bin/rsnapshot weekly\fR
 .Sp
-\&\fB30 23 1 * *         /usr/local/bin/rsnapshot monthly\fR
+\&\fB30 23 1 * *         /usr/bin/rsnapshot monthly\fR
 .RE
 .RE
 .RS 4

Reply via email to