Package: rsnapshot
Version: 1.4.2-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I have been using `+rsync_long_args=--rsync-path="sudo rsync"` for some time 
with success.  I recently added `+rsync_long_args=--compress`.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I'm not really sure how I can have multiple long args where at least one has a 
space, so I thought the sensible thing to do was to specify several 
per-backup-point options, separated by commas: 
`+rsync_long_args=--rsync-path="sudo rsync",+rsync_long_args=--compress`.

   * What was the outcome of this action?

The outcome of this action is that only the last +rsync_long_args is applied.

   * What outcome did you expect instead?

I expected both +rsync_long_args to be applied.  Or alternatively, I expected 
an 
error indicating that some files could not be snapshotted due to a permissions 
error.

-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (900, 'stable'), (800, 'testing'), (800, 'oldstable'), (700, 
'unstable'), (600, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages rsnapshot depends on:
ii  liblchown-perl  1.01-2+b1
ii  logrotate       3.8.7-1+b1
ii  perl            5.20.2-3+deb8u6
ii  rsync           3.1.1-3

Versions of packages rsnapshot recommends:
ii  openssh-client [ssh-client]  1:6.7p1-5+deb8u3

rsnapshot suggests no packages.

-- Configuration Files:
/etc/logrotate.d/rsnapshot changed:
/var/log/rsnapshot.log {
        rotate 96
        monthly
        compress
        missingok
}

/etc/rsnapshot.conf changed:
config_version  1.2
snapshot_root   /media/username/backup/
no_create_root  1
cmd_cp          /bin/cp
cmd_rm          /bin/rm
cmd_rsync       /usr/bin/rsync
cmd_ssh /usr/bin/ssh
cmd_logger      /usr/bin/logger
retain  hourly  24
retain  daily   7
retain  weekly  4
retain  monthly 12
retain  yearly  10
verbose         2
loglevel        3
logfile /var/log/rsnapshot.log
lockfile        /var/run/rsnapshot.pid
rsync_short_args        -aAXS
ssh_args        -i /home/username/.ssh/id_rsa
one_fs          1
link_dest       1
backup  /       localhost/
backup  remoteusername@remotehost:/etc/                 remotehost/     
+rsync_long_args=--rsync-path="sudo rsync",+rsync_long_args=--compress
backup  remoteusername@remotehost:/var/log/             remotehost/     
+rsync_long_args=--rsync-path="sudo rsync",+rsync_long_args=--compress


-- no debconf information

Reply via email to