Executar script

Ola , gostaria de intender alguns comandos do Duplicati , consegui o script do e-mail porem como executar um script.bat ao iniciar e outro ao finalizar o backup não consegui , poderia ajudar ?

Welcome to the forum!

Check the –run-script-before and –run-script-after options.

Ola obrigado pela atençao , fiz o comando acrescentando o –run-script-after shutdown-t mas não desliga

Make sure you have the full path to the script, such as C:\folder\folder\script.cmd

infelizmente não deu certo

veja como ficou

criei um script salvo em c:\desligar.bat

em configuração do duplicati adicionei a opção run-script-after , na aba digitei c:\desligar.bat

ja tentei “c:\desligar.bat”
ja tentei c:\desligar.bat
ja tentei shutdown-t 0 now
ja tentei “shutdown-t 0 now”

Solucionei recriando o arquivo.bat em c: então ficou

desligar.bat
dentro deste arquivo o seguinte comando shutdown.exe -s

no duplicati : –run-script-after c:\desligar
Funcionando , obrigado

That probably didn’t work because you need a space before the -t 0. Also I am pretty sure you still need the -s. Something like: shutdown -s -t 0

Glad you were able to get it working.

Olá Valdilson, também sou BR e tentei instalar o duplicati em um servidor debian sem interface gráfica. Estou com alguns problemas, poderia me ajudar?