Hello Łukasz 

just a big warning: *don't do that ! :-)*

The why is when you are in the run script post state, the initial job is 
still not finished for Bareos and changes still happen afterwards.
You really don't want to try hard to confuse your database and Bareos 
installation. Some have tried and get hardly backfired ;-)

Typically for that kind of things, you may want to check if you can run 
copy job with selection pattern 
https://docs.bareos.org/Configuration/Director.html#config-Dir_Job_SelectionPattern

This should be modular enough to cover all your case.

On Wednesday 21 February 2024 at 11:54:41 UTC+1 Łukasz Szczepanik wrote:

> Hi Guys,
>
>
> Do you know how to trigger copy job just after corresponding main backup 
> finishes with success ?
>
> I look into Bareos doc regarding copy/migration but I could not find any 
> solution. All "Selection Types" do not met my requirements.
> My goal is simple make a copy of backup just after the backup finishes 
> with success.
>
> Thanks!
>   
>
>
>

-- 
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/d726960e-d0bf-4b50-8523-04ca5eaab6edn%40googlegroups.com.

Reply via email to