[bareos-users] Re: Bareos 21.0.0 - missing "delete" command in console

2024-05-14 Thread Jörg Steffens
I assume, you are running the bconsole in the webui. By default, webui users are assigned to the profile "webui-admin", which don't allow calling the "delete" command. Either use bconsole from the command line (where you typically login with full permission) or adapt your user/profile

[bareos-users] Re: Client Run Before Job with different scripts for different backup levels

2024-05-14 Thread Leon Bartle
Hi, thanks for the reply! Yes, that would be the "some kind of extra switching script to be installed on every client". I was hoping for a pure server-side solution, which doesn't require installing any further scripts on the client. Bruno Friedmann (bruno-at-bareos) schrieb am Dienstag, 14.

[bareos-users] Re: Client Run Before Job with different scripts for different backup levels

2024-05-14 Thread Bruno Friedmann (bruno-at-bareos)
Maybe you can use the %l in a major script which decide then action corresponding the the level ? On Tuesday 14 May 2024 at 11:25:01 UTC+2 Leon Bartle wrote: > Hi there! > > Is there a way to run different commands with the "Run Script" Command, > depending on the Backup level? > > For

[bareos-users] Re: Bareos 21.0.0 - missing "delete" command in console

2024-05-14 Thread Bruno Friedmann (bruno-at-bareos)
you are in batch mode (so you need to remove the interactive yes) delete jobid=999 yes should work By the way you're using a really out of dated version 21 compared to current 23. On Tuesday 14 May 2024 at 06:50:00 UTC+2 Paul Chen wrote: > [image: Capture2.JPG] > [image: Capture.JPG] > > > >

[bareos-users] Client Run Before Job with different scripts for different backup levels

2024-05-14 Thread Leon Bartle
Hi there! Is there a way to run different commands with the "Run Script" Command, depending on the Backup level? For example on a full backup, it should run "/home/script1.sh -n", but on diff and incr backups, it should run "/home/script2.sh -n -m". I only found the character substitution