1- in manage.py, line 246, I think you should return if sudo_worker is None. Otherwise, the process captures the log instead of the json response from sudo_worker.py
2- if you mount the cifs using root, only root can write to it. You need to add uid= and gid= options to make it writable from the user.
With those two changes, I finally was able to perform the backup
I found two problems:
1- in manage.py, line 246, I think you should return if sudo_worker is None. Otherwise, the process captures the log instead of the json response from sudo_worker.py
2- if you mount the cifs using root, only root can write to it. You need to add uid= and gid= options to make it writable from the user.
With those two changes, I finally was able to perform the backup