Tar en rsync ssh voor back-up op afstand

My guess is that the error you describe is because you have the delete at the start of a new line and the previous line is not ending with a backslash.

But it’s not clear what your are trying to do.