Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: Brave Dave on July 26, 2013, 02:25:32 AM

Title: Affa - Windows (2012)
Post by: Brave Dave on July 26, 2013, 02:25:32 AM
Post a recent upgrade of a windows environment to 2012, my affa backups started consuming space

each backup was complete, but the hard-links had started to fail

turning on debugging showed (among other entries)
Quote
Exec Out: gid 4294967295 (-1) is impossible to set on "/var/affa/AOT/scheduled.running/d/data"

if you Google that you find that this failure means the hard-link is not set

With debug on the the rsync command is shown and I was able to copy and play with it.

the ultimate test here is to use ls -i to ensure the files point to the same inode
Quote
ls -i /var/affa/AOT/scheduled.0/d/data/filethatdidntchange.txt /var/affa/AOT/scheduled.running/d/data/filethatdidntchange.txt

the solution I've come up with is to modify the affa script to change the --archive switch which is a super switch for several others, I've

my changes ...
/sbin/e-smith/affa => line 487

for rsyncdMode, the line reads
Quote
   '--archive',

I've changed mine to
Quote
   '--rlt',
Title: Re: Affa - Windows (2012)
Post by: nicolatiana on August 06, 2013, 03:01:49 PM
Just to point out: the environment is an Affa server on SME 7/8 backing up a Windows Server 2012 box ?
 
Bye
 
Nicola
Title: Re: Affa - Windows (2012)
Post by: Brave Dave on August 06, 2013, 10:46:47 PM
Yes
There seems to be a mapping of ownership issue - there may be another way to work around this - perhaps a rsync.conf config change, but this doesn't seem to have any adverse affect - permissions aren't important (to me) on the windows box