Am Montag, 2. Juni 2014 09:25:46 UTC+2 schrieb Claas Müller:
> Hi there,
> I have a problem to get migration correctly running. Well it works, but it 
> migrates every full and incremental jobs to tape. I only want the full's.
> 
> Here's the job definition:
> Job {
>   Name = "migrate"
>   JobDefs = "DefaultJob"
>   Type = Migrate
>   Level = Full
>   Pool = B2D-full
>   Selection Type = Volume
>   Selection Pattern = "full"
>   Schedule = migrate
>   Priority = 11
> }
> 
> All full Backups are written to the Pool B2D-full, all incrementals are 
> stored in B2D-incr. So why did bareos migrates the incrementals too?
> 
> <snip>
>    612  Full    169,360    7.919 G  OK       02-Jun-14 04:21 migrate
>    613  Incr    169,360    7.919 G  OK       02-Jun-14 04:21 clyde
>    614  Full      1,821    1.659 G  OK       02-Jun-14 04:21 migrate
>    615  Incr      1,821    1.659 G  OK       02-Jun-14 04:21 de-bre-kav01
>    616  Full     16,948    26.77 G  OK       02-Jun-14 04:32 migrate
>    617  Incr     16,948    26.77 G  OK       02-Jun-14 04:32 de-bre-mail02
> </snip>
> 
> Do I have to write a SQL query "full" to use it in "selection pattern = "? 
> How would it look like?
> Thank you very much!
> 
> 
> 
> PS: my jobdefs:
> JobDefs {
>         Name = "DefaultJob"
>         Type = Backup
>         Level = Incremental
>         Client = de-backup01-fd
>         FileSet = "linux-set"
>         Schedule = "WeeklyCycle"
>         Storage = B2D-01
>         Messages = Standard
>         Pool = B2D-incr
>         FullBackupPool = B2D-full
>         DifferentialBackupPool = B2D-diff
>         IncrementalBackupPool = B2D-incr
>         Priority = 10
>         Write Bootstrap = "/var/lib/bareos/%c.bsr"
>         Write Bootstrap = "|/usr/sbin/bsmtp -h smtp.xyz.de -f \"\(Bareos\) \" 
> -s \"Bootstrap for Job %j\" [email protected]"
>         Run After Job = "/usr/local/sbin/bacula2nagios \"%n\" 0 \"%e %l %v\""
>         Run After Failed Job = "/usr/local/sbin/bacula2nagios \"%n\" 1 \"%e 
> %l %v\""
>         Allow Duplicate Jobs = no
> }

Okay, I had a look at the job log and all fullbackups were chosen correctly. 
Its only a little bit confusing, that bareos status dir shows incr. jobs.

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to