I lost I think 2 hours to debug why I was getting this error:
[Xtrabackup] unknown argument: ‘-–safe-slave-backup’
I checked the spelling so many times, checked all the documentation sites, the man xtrabackup, tried to guess some undocumented change like using replica instead of slave, I was opening a bug on the percona jira…
Then I realized it. I had copied it from the docs site:

Which firstly gave unknown argument: '–safe-slave-backup' so I said “oh, one dash is missing, let’s add id” and I added a dash before it.
Note that the two dashes, the “good” one and the “bad” one, render identically at least on my terminal, with putty:
