[Samba] Backup Error

Robert A Wooldridge bob.wooldridge at edm-inc.com
Mon Jul 22 20:05:40 UTC 2019

I'm trying to do a backup of my DC and I get this error:

samba-tool domain backup online --server=athena --targetdir=/opt

ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index 
out of range
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", 
line 177, in _run
     return self.run(*args, **kwargs)
"/usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 
237, in run
     new_sid = get_sid_for_restore(remote_sam)
"/usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 
73, in get_sid_for_restore
     rid = int(res[0].get('rIDNextRID')[0])

Bob Wooldridge
EDM Incorporated

More information about the samba mailing list