Hi, 
I try to understand the copy-job feature. I've a relativ simple setup. I 
use three pools. One for full-backups, one for differential-backups and one 
for incremental backups. These are configured like this: 

Pool {
  Name = Full-Pool
  Pool Type = Backup
  Next Pool = Extern-Full-Pool
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 6 months         
  Maximum Volume Bytes = 50G          
  Maximum Volumes = 35                
  Storage = File
  Label Format = Full-
}

Pool {
  Name = Diff-Pool
  Pool Type = Backup
  Next Pool = Extern-Diff-Pool
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 4 month          
  Storage = File
  Maximum Volume Bytes = 50G          
  Maximum Volumes = 2                 
  Storage = File
  Label Format = Diff-
}


Pool {
  Name = Inc-Pool
  Pool Type = Backup
  Next Pool = Extern-Inc-Pool
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 20days           
  Storage = File
  Maximum Volume Bytes = 50G          
  Maximum Volumes = 3                 
  Storage = File
  Label Format = Inc-
}


Now, I want to define a copy job, which copies all uncopied jobs in the 
pools to the corresponding pools (you can see the Next Pool confiugration 
above) on an external usb drive. Therefore I setup my new external pools: 

Pool {
  Name = Extern-Full-Pool
  Pool Type = Backup
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 2 years          
  Maximum Volume Bytes = 50G         
  Maximum Volumes = 35               
  Storage = ExternFile
  Label Format = Extern-Full-
}

Pool {
  Name = Extern-Diff-Pool
  Pool Type = Backup
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 4 month          
  Maximum Volume Bytes = 50G          
  Maximum Volumes = 2                 
  Storage = ExternFile
  Label Format = Extern-Diff-
}


Pool {
  Name = Extern-Inc-Pool
  Pool Type = Backup
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 20days           
  Maximum Volume Bytes = 50G          
  Maximum Volumes = 3                 
  Storage = ExternFile
  Label Format = Extern-Inc-
}


My problem is now to configure the copyJob :). My first approach was this 
one: 

Job {
  Name = "CopyToExtern"
  Type = Copy
  Selection Type = PoolUncopiedJobs
  Messages = Standard
  Pool = Full-Pool

  Full  Backup Pool = Full-Pool
  Differential Backup Pool = Diff-Pool
  Incremental Backup Pool = Inc-Pool
}


I think i got almost there. If I run this job, I get a copy of my Full-Pool 
in my External-Full-Pool. But how to trigger the Inc and Diff Pool copy 
action? 
Do I need to define 3 different copy jobs, which targets every pool? I 
tried to modify the Pool Parameter in this job, but this doesn't find jobs 
to copy. 

Thanks and best regards
Toni

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/b6b8910d-7e3f-42eb-baee-c4e897d053fen%40googlegroups.com.

Reply via email to