Am 29.10.26 um 13:24 schrieb Stefan G. Weichinger via Bacula-users:

My first restore verification works ... now more learning ahead :-)
ANd it breaks again.

I have a client ivy-fd that uses Data Encryption

So as far as I understand I have to set up a Restore destination there, because the (bacula-dir) host tx100 does not know how to decrypt the restored data. At least that's how I understand the logs

I tried that. New destination, new Restore Job. Fails.

see the plain text for the 2 jobs:

Job {
  Name = "Restore Test rclone"
  Description = "Restore verification test job"
  Type = "Admin"
  Messages = "Standard"
  Storage = "CloudAutoChanger1"
  Pool = "cloud_pool1"
  Client = "ivy"
  Fileset = "Catalog"
  Runscript {
    RunsOnClient = no
    RunsWhen = "Before"
Command = "/usr/share/bacularis/protected/Common/Bin/restore verification/run --token=\"yVUishbojbq5Zb4PAEHoOTIjWGFhvLmvwSdKdgFqY-8_Q5vZgP7D8Arp\" --web-address=\"172.32.99.6\""
  }
}
Job {
  Name = "ivy--ansible-rclone"
  Type = "Backup"
  Storage = "File"
  Client = "ivy"
  Fileset = "ivy-ansible-rclone"
  JobDefs = "DefaultJob"
  SpoolData = no
  Runscript {
    RunsWhen = "After"
    RunsOnClient = no
Command = "/usr/share/bacularis/protected/Common/Bin/restore verification/run --token=\"LY3HRY0y_dqEuJ0T2VRIGRk-k_n9o_pZsoKhk86q42uHfvGxmOvl_e_M\" --level=\"%l\" --web-address=\"172.32.99.6\""
  }
}

I saved both jobs again, restarted director.

fails:

05-Nov 10:05 tx100-dir JobId 2220: shell command: run AfterJob "/usr/share/bacularis/protected/Common/Bin/restore verification/run --token="LY3HRY0y_dqEuJ0T2VRIGRk-k_n9o_pZsoKhk86q42uHfvGxmOvl_e_M" --level="Incremental" --web-address="172.32.99.6"" 05-Nov 10:05 tx100-dir JobId 2220: console command: run AfterJob ".bvfs_update jobid=2220"
05-Nov 10:05 tx100-dir JobId 0: Using Catalog "MyCatalog"
05-Nov 10:05 tx100-dir JobId 2221: shell command: run BeforeJob "/usr/share/bacularis/protected/Common/Bin/restore verification/run --token="yVUishbojbq5Zb4PAEHoOTIjWGFhvLmvwSdKdgFqY-8_Q5vZgP7D8Arp" --web-address="172.32.99.6""
05-Nov 10:05 tx100-dir JobId 2221: BeforeJob:
05-Nov 10:05 tx100-dir JobId 2221: BeforeJob: [ERROR] Error while starting restore test. URL: http://172.32.99.6:9097/web/access/yVUishbojbq5Zb4PAEHoOTIjWGFhvLmvwSdKdgFqY-8_Q5vZgP7D8Arp, HTTP Code: 200, Error: 0, Body: {"error":5,"message":"Action failed. See logs."}. 05-Nov 10:05 tx100-dir JobId 2221: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1 05-Nov 10:05 tx100-dir JobId 2221: Error: Bacula 15.0.3 (25Mar25): 05-Nov-2026 10:05:50
  JobId:                  2221
  Job:                    Restore_Test_rclone.2026-11-05_10.05.48_21
  Scheduled time:         05-Nov-2026 10:05:48
  Start time:             05-Nov-2026 10:05:50
  End time:               05-Nov-2026 10:05:50
  Termination:            *** Admin Error ***


Does ivy also have to be set up as an API host to be able to do things?






_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to