Hi Uwe,
I have not defined the storage in the schedule configuration. I will try
it. Thank you very much
Schedule {
Name = "WeeklyCycle"
Run = Level=Full Pool=Tape-Monthly 1st fri at 23:05
Run = Level=Full Pool=Tape-Weekly 2nd 3rd 4th 5th Friday at 23:05
Run = Level=Differential Pool=File-Daily Monday-Thursday at 23:05
}
Best regards
Gustavo
2015-01-16 12:59 GMT-02:00 Uwe Schuerkamp <uwe.schuerk...@nionex.net>:
> On Fri, Jan 16, 2015 at 12:45:49PM -0200, Gustavo Lacerda wrote:
> > Hi Uwe, thank you for your help. I have done a full backup on tape and it
> > completed with no errors. The problem is that the daily job (differential
> > backup on File) doesn't recognize that a full backup on tape was done
> > previously and asks to do a full backup on File first. Is there any way
> to
> > fix this?
> >
> > Thanks,
> > Gustavo
> >
>
> Hello Gustavo,
>
> can you post your schedule definition for the job in question?
>
> Usually I define the pools & storages within the schedule like this:
>
> Run = Level = Full storage=tape Pool=offline Fri at 17:00
> Run = Level = Incremental storage=file Pool=File Mon-thu Sat Sun at
> 17:00
>
>
> or similar.
>
> Cheers, Uwe
>
> > 2015-01-16 12:40 GMT-02:00 Uwe Schuerkamp <uwe.schuerk...@nionex.net>:
> >
> > > On Fri, Jan 16, 2015 at 12:22:43PM -0200, Gustavo Lacerda wrote:
> > > > Hi,
> > > >
> > > > This is the first time I'm configuring bacula. I have a autochan ger
> > > with 8
> > > > slots and 1 drive. I tried to schedule a weekly full backup on tape
> and
> > > > daily differential backups on file. This is a small test. The whole
> full
> > > > has 2GB in data. The tape backup run and terminated with no errors.
> > > > However, the daily differential backups on File didn't recognize
> that I
> > > had
> > > > alread done a full backup on tape and asks me to do a Full backup on
> > > file.
> > > > Could you please help me?
> > > >
> > > >
> > >
> > > The first time the job is run bacula sees it hasn't done a full backup
> > > yet, so the incr. job from your schedule is updated to a full backup.
> > >
> > > Just start a full backup using bconsole and you should be all set the
> > > next time an incremental is scheduled like so:
> > >
> > > * run job=homedir-bioinfo03-weekly level=full storage=tape-autochanger
> > > pool=Tape-Weekly
> > >
> > > Cheers, Uwe
> > > > The relevant parts of my dir.conf:
> > > >
> > > > Job {
> > > > Name = homedir-bioinfo03-weekly
> > > > Client = bioinfo03.ibi.unicamp.br-fd
> > > > JobDefs = DefaultJob
> > > > FileSet = homedir-bioinfo03
> > > > Level = Full
> > > > Schedule = WeeklyCycle
> > > > Storage = tape-autochanger
> > > > Spool Data = Yes
> > > > Pool = Tape-Weekly
> > > > Type = Backup
> > > > Messages = Standard
> > > > }
> > > >
> > > > Job {
> > > > Name = homedir-bioinfo03-daily
> > > > Client = bioinfo03.ibi.unicamp.br-fd
> > > > JobDefs = DefaultJob
> > > > FileSet = homedir-bioinfo03
> > > > Level = Differential
> > > > Schedule = WeeklyCycle
> > > > Storage = File
> > > > Spool Data = no
> > > > Pool = File-Daily
> > > > Type = Backup
> > > > Messages = Standard
> > > > }
> > > >
> > > > FileSet {
> > > > Name = "homedir-bioinfo03"
> > > > Include {
> > > > Options {
> > > > signature = MD5
> > > > onefs = yes
> > > > }
> > > > File=/usr/local/data/lge/eduformi
> > > > }
> > > > }
> > > >
> > > > Pool {
> > > > Name = Tape-Weekly
> > > > Pool Type = Backup
> > > > Recycle = yes
> > > > AutoPrune = yes
> > > > Purge Oldest Volume = Yes
> > > > Volume Retention = 28 days
> > > > LabelFormat="Week-"
> > > > }
> > > >
> > > > Pool {
> > > > Name = File-Daily
> > > > Pool Type = Backup
> > > > Recycle = yes
> > > > AutoPrune = yes
> > > > Purge Oldest Volume = Yes
> > > > Volume Retention = 6 days
> > > > Maximum Volume Bytes = 80G
> > > > Maximum Volumes = 5
> > > > Label Format = "Vol-"
> > > > }
> > > >
> > > > Best regards,
> > > > Gustavo
> > >
> > > >
> > >
> ------------------------------------------------------------------------------
> > > > New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> > > > GigeNET is offering a free month of service with a new server in
> Ashburn.
> > > > Choose from 2 high performing configs, both with 100TB of bandwidth.
> > > > Higher redundancy.Lower latency.Increased capacity.Completely
> compliant.
> > > > http://p.sf.net/sfu/gigenet
> > > > _______________________________________________
> > > > Bacula-users mailing list
> > > > Bacula-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > >
> > >
> > > --
> > > nionex GmbH --- Ein Unternehmen der Bertelsmann SE & Co. KGaA
> > >
> > >
> > >
>
> --
> nionex GmbH --- Ein Unternehmen der Bertelsmann SE & Co. KGaA
>
>
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users