ClientAfterJob returned non-zero status=208

58 views
Skip to first unread message

Stefan Harbich

unread,
Sep 13, 2019, 11:36:48 AM9/13/19
to bareos-users
Hi,
after backup of the catalog I try to start a script that fails with the following error message:

2019-09-13 17:16:24bareos-sd JobId 594: Releasing device "FileStorage" (/media/usb/backups/storage).
2019-09-13 17:16:24dsme01-fd JobId 594: shell command: run ClientAfterJob ".bvfs_update"
2019-09-13 17:16:24dsme01-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



Reply all
Reply to author
Forward
0 new messages