Koozali.org: home of the SME Server

Affa - Windows (2012)

Offline Brave Dave

  • *
  • 185
  • +0/-0
Affa - Windows (2012)
« 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
  • removed the setting of user/group permissions
  • removed the inclusion of devices

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

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

I've changed mine to
Quote
   '--rlt',
.:DB:.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Affa - Windows (2012)
« Reply #1 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
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline Brave Dave

  • *
  • 185
  • +0/-0
Re: Affa - Windows (2012)
« Reply #2 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
.:DB:.