I have 2 locations, one in Europe, one in Asia. Each location has a fully functional Bacula system to handle local backups.
What I want to do is to copy some jobs from one location SD to the other location SD. Ideally if I can perform a backup on location A, copy to location B, and the restore to a server at location B.
I understand that starting version 7.0.0 Bacula permits SD to SD backup. I think that this is the feature that I need it (bacula manual)
Bacula version 7.0 permits SD to SD transfer of Copy and Migration Jobs. This permits what is commonly
referred to as replication or off-site transfer of Bacula backups. It occurs automatically, if the source SD and
destination SD of a Copy or Migration job are different.
The problem is that I do not know how to set such jobs. I did not find any tutorials on this.
My initial thought was that I have to use a copy job, but then from the same manual:
Migration is only implemented for a single Storage daemon. You cannot read on one Storage daemon
and write on another.
which is exactly what i wanted to do…
Any ideas of how can i achieve this ?
Best Answer
I found (a) the solution...
it seems that the key is here:
My goal was to copy some backup jobs from Asia to Europe. In order to do this I have created a Device in the Europe SD:
Then in the asia director I have created one storage that points to this device from the europe SD.
and this copy job
Pay attention to the "Next Pool" directive from the initial pool as this is specifying the pool where the jobs will be copied.
After that when I run backup I get:
The downside here is that if you want to restore this backup you would have to do it from the Asia Director, because the Europe director has no clue about this jobs...