Hi,
after backup of the catalog I try to start a script that fails with the 
following error message:

2019-09-13 17:16:24 bareos-sd JobId 594: Releasing device "FileStorage" 
(/media/usb/backups/storage).
2019-09-13 17:16:24 dsme01-fd JobId 594: shell command: run ClientAfterJob 
".bvfs_update"
2019-09-13 17:16:24 dsme01-fd JobId 594: Error: Runscript: ClientAfterJob 
returned non-zero status=208. ERR=Datei oder Verzeichnis nicht gefunden

I defined the job as follows:
...
Job {
  Name = "BackupCatalog"
  Description = "Backup the catalog database (after the nightly save)"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  # Arguments to make_catalog_backup.pl are:
  #  make_catalog_backup.pl <catalog-name>
  RunBeforeJob = "/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/lib/bareos/scripts/delete_catalog_backup"
  # This sends the bootstrap via mail for disaster recovery.
  # Should be sent to another system, please change recipient accordingly
  Write Bootstrap = "|/usr/bin/bsmtp -h root@localhost -f \"\(Bareos\) \" 
-s \"Bootstrap for Job %j\" root@localhost" # (#01)
  Priority = 11                   # run after main backup
  Run Script {
  Runs When = After
  Console = ".bvfs_update"
  Runs On Client = No
  Runs On Failure = No
  }
}
...
The bvfs_update command is not executed

What am I doing wrong?

Greeting from Stefan



-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/da1f1c6f-7353-4116-b276-26c1e2f8fcf0%40googlegroups.com.

Reply via email to