Koozali.org: home of the SME Server

affa backup failure

Offline stdean

  • **
  • 37
  • +0/-0
affa backup failure
« on: April 02, 2008, 10:44:25 AM »
I'm seeing a strange (read: I don't understand) error with affa on my SME machine.

I have set up a number of jobs to backup some desktops in my office. When I setup the jobs I send the key then run the job once to get a base backup, this will work fine, but any further backups after this will always fail. I'm getting the following error:

Quote
Excerpt from log file /var/log/affa/roma54.log:
Wed_Apr__2_17:26:30[START.17302]:_Affa_0.10.0-1:_Running_/sbin/e-smith/affa_--run_roma54
Job_configuration:
__AutoUnmount=yes
__ConnectionCheckTimeout=120
__Debug=no
__Description=PC_Backup
__DiskSpaceWarn=strict
__EmailAddresses=admin
__Include[0]=/home
__RPMCheck=no
__RootDir=/var/affa
__SMEServer=no
__TimeSchedule=0030,1230
__Watchdog=yes
__dailyKeep=7
__doneDaily=-1
__doneMonthly=-1
__doneWeekly=-1
__doneYearly=-1
__monthlyKeep=12
__remoteHostName=192.168.40.54
__remoteOS=centos
__rsync--inplace=yes
__rsyncCompress=no
__rsyncTimeout=900
__rsyncdMode=no
__rsyncdModule=AFFA
__rsyncdPassword=<not_shown>
__rsyncdUser=affa
__scheduledKeep=2
__sendStatus=weekly
__sshPort=22
__status=enabled
__type=job
__weeklyKeep=4
__yearlyKeep=2
Wed_Apr__2_17:26:30[17302]:_Affa_0.10.0-1:_Starting_job_roma54_scheduled_(192.168.40.54)
Wed_Apr__2_17:26:30[17302]:_Description:_PC_Backup
Wed_Apr__2_17:26:30[17302]:_Checking_SSH_connection_to_192.168.40.54
Exec_Out:_exitstatus=0
Exec_Out:_exitstatus=0
Exec_Out:_exitstatus=0
Exec_Out:_exitstatus=0
Exec_Out:_exitstatus=0
Wed_Apr__2_17:26:33[17302]:_Running_rsync...
Exec_Out:_--link-dest_with_--inplace_requires_protocol_29_or_higher_(negotiated_28).
Exec_Out:_rsync_error:_protocol_incompatibility_(code_2)_at_compat.c(92)_[receiver=2.6.9]
Exec_Out:_exitstatus=2
Wed_Apr__2_17:26:33[17302]:_Error:_No_data_transferred._Check_include/exclude_settings.
Wed_Apr__2_17:26:33[17302]:_Error_536:_rsync_failed_with_status_1002.

The machines I am attempting to back up are not sme machines, but I have set the SMEServer = no value in the configs for each job.

The affa server is running SME Server 7.2 for compatibility reasons I cannot upgrade this machine to 7.3.

It seems to be saying there is some rsync incompatibility between the server and the client machine, but I have been able to manually rsync between them.

Has anyone else experienced this error?

Conor


Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: affa backup failure
« Reply #1 on: April 02, 2008, 06:29:03 PM »
Affa error codes > 1000 generally mean that no data was transferred and an empty archive was created.
In your case the rsync error code 2 indeed indicates a protocol incompatibility between the rsync on the Affa server and the source machine. My guess is that the rsync on the source machine doesn't support the --inplace option. Try to set the Affa property "rsync--inplace" to "no".