Hello,
I am trying to have 1Job definition and have it run Full,
Incremental and Differential backups to different media depending on
the schedule set, but i cant get it to work. What i want to do is do
full backups 1st sunday of every month and write it to tape, then do
incremental backups monday-friday and write it to disk, finally do
differential backups every sunday except for the 1st sun of the month
and write it to tape.
The job "H34-FileServ-dsk-tap" keeps running every night when it
should just run on sundays
Here is what i got:
JobDefs {
Name = H34-FileServ-def
Type = Backup
Level = Incremental
Client = housigma34-fd
FileSet = "H34-FileServ"
Schedule = "WeeklyCycle"
Messages = Standard
# Pool = Default
Full Backup Pool = Full-Pool-dsk-tpe
Differential Backup Pool = Diff-Pool-dsk-tpe
Incremental Backup Pool = Incre-Pool-dsk-dsk
Write Bootstrap = "/var/lib/bacula/%c.bsr"
Priority = 10
}
Job {
Name = H34-FileServ-dsk-tap
JobDefs = H34-FileServ-def
Pool = Default
Storage = SLDLTv4
}
Job {
Name = H34-FileServ-dsk-dsk
JobDefs = H34-FileServ-def
Pool = Default
Storage = File
}
Schedule {
Name = "WeeklyCycle"
Run = Level=Full Pool=Full-Pool-dsk-tpe 1st sun at 20:00
Run = Level=Differential Pool=Diff-Pool-dsk-tpe 2nd-5th sun at 20:00
Run = Level=Incremental Pool=Incre-Pool-dsk-dsk mon-fri at 22:00
}
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 23:10
}
Storage {
Name = SLDLTv4
# Do not use "localhost" here
Address = housigma25.DOMAIN.com # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "asfasdfsdasdaf"
Device = DLTv4
Media Type = tape
}
Storage {
Name = File
Address = housigma25.DOMAIN.com
SDPort = 9103
Password = "asdfsadfadsfadsf"
Device = FileStorage
Media Type = File
}
Pool {
Name = Scratch
Pool Type = Backup
}
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 14 days # one year
Maximum Volume Jobs = 1
}
Pool {
Name = Full-Pool-dsk-tpe
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 1 months
Maximum Volume Jobs = 1
# Label Format = Full-
Maximum Volumes = 2
}
Pool {
Name = Diff-Pool-dsk-tpe
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 1 months
Maximum Volume Jobs = 1
# Label Format = Full-
Maximum Volumes = 3
}
Pool {
Name = Incre-Pool-dsk-dsk
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 5 days
Maximum Volume Jobs = 1
Label Format = "IncreFileServ-"
Maximum Volumes = 5
}
Thanks
------
Romer Ventura
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users