Thanks! That worked Spadajspadaj schrieb am Freitag, 17. Mai 2024 um 11:24:19 UTC+2:
> The script name/parameters are not subject to shell expansion. So your > script literally tries to remove a file called * > If you want shell expansion, you have to do it as > > bash -c "rm -rf /tmp/backup/*" > > MK > > Dnia 17 maja 2024 10:28:04 CEST, Leon Bartle <[email protected]> > napisał/a: > >> Calling a Backup Script in ClientBeforeJob does function correctly. >> My ClientRunAfterJob has "rm -rf /tmp/backup/*" defined. >> The backup console logs >> JobId 415: shell command: run ClientAfterJob "rm -rf /tmp/backup/*" >> >> But the files are not deleted. >> What would be the best way to debug this? >> >> Thanks in advance! >> > -- Wysłane za pomocą K-9 Mail. > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/0b2f0eb7-5de7-4813-91bb-1ed5ede5d924n%40googlegroups.com.
