Maybe some of the people with deeper insight into the inner working of Bacula can help me understand a certain topic.
I recently came across the mechanism of that when the a job of type “Backup” has been pruned by the director, it also upgrades the corresponding job of type “Copy” to a job of type “Backup”. The job of type “Copy Job” corresponding to the upgraded job of type “Copy” seems to be discarded also at that point in time. Notice that I am always using “job of type X” instead of “X job”, because there is a job of type “Copy Job”, which would then necessarily need to be called “Copy Job job” which I find more confusing. When I use Bacularis to browse the job contents... (1) A job of type Backup contains references to the volumes where the actual backup data is stored. Let us call these volumes the “Backup volumes”. (2) A job of type Copy also contains the same references as the corresponding job of type Backup, as it just seems to be a copy of the job of type Backup. So the job of type “Copy” also contains the “Backup volumes”. (3) A job of type Copy Job contains references to the volumes where the copy of the backup data is stored. Let us call these volumes the “Copy volumes”. Now here is what confuses me: When at some given point in time the job of type Backup has been pruned, the job of type Copy Job has been removed and the job of type Copy has been upgraded to a job of type Backup, what remains is a job of type Backup which contains references to the Backup volumes, i.e. seemingly no references to the Copy volumes ! However, when I run a restore for this job of type Backup Bacula somehow is able to determine which are the correct Copy volumes for this job which formerly was of type Copy. How does Bacula know which are the Copy volumes when the job of type Copy Job has already been removed from the catalog? I am just trying to understand how this works, Bacula seems to work as intended, i.e. is able to restore the backup data from the Copy volumes. I just dont understand how it knows which are the Copy volumes if the only information that at this point in time seems to be the copy of the job of type Backup, which only contains the Backup volumes! Thanks for your time and patience, J/C _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users