Skip to content
Snippets Groups Projects
Closed Problem with rsync handler (local)
  • View options
  • Problem with rsync handler (local)

  • View options
  • Closed Issue created by Ghost User

    When both the from and the to are of type "local" I end up with an odd error where rsync fails and claims the command line options are bad even though a cut-and-past of the same command line options works.

    Example Debug:

    Info: >>>> starting action /etc/backup.d/91-usb-backupninja.rsync (because current time matches everyday at 15:00) Debug: yes Info: Syncing /media/backup_vol/backupninja on /media/backupninja/disk1///media/backup_vol/backupninja//... Debug: nice -n 0 /usr/bin/rsync -av --delete --recursive --numeric-ids //media/backup_vol/backupninja/ /media/backupninja/disk1///media/backup_vol/backupninja// rsync: -av --delete --recursive --numeric-ids: unknown option rsync error: syntax or usage error (code 1) at main.c(1443) [client=3.0.7] Warning: Rsync error when trying to transfer /media/backup_vol/backupninja Warning: <<<< finished action /etc/backup.d/91-usb-backupninja.rsync: WARNING

    If I hack the handler to change:

    $nice rsync "{rsync_options[@]}" ... to $nice $rsync $rsync_options ...

    Then all works fine.

    (from redmine: created on 2011-05-27, closed on 2011-08-17)

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading