--run-script-before not working

Hi there,

I have installed dupliacati on a raspberry pi on top of raspbian. I want to execute some scripts before and after the backup but this doesn’t work at all.

Duplicati always throws an error saying that there was an error code 255 from the script. The script doesn’t seems to get executed at all and there is no difference no matter what is inside of the script.

Any help would be greatly appreciated

Are you specifying the full path to the script? eg, /usr/bin/script.sh

Is the execute bit set?

Does it have the correct interpreter at the top of the script? eg, #!/bin/bash

2 Likes

The last was it.

Thanks

Great, glad that fixed your issue!

Welcome to the forum