Bacula-users

Re: [Bacula-users] Prefer disks over tape in restoring

2016-01-24 17:11:05
Subject: Re: [Bacula-users] Prefer disks over tape in restoring
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: Andrea Venturoli <ml AT netfence DOT it>
Date: Sun, 24 Jan 2016 23:04:28 +0100
Hello Andrea,

It seems you have only two jobs ("DBackupData" and "DBackupCatalog") with a "MonthlyWeeklyDaily" schedule. The job DBackupCatalog is configured to use the "Full" Pool for your full backups. So I suppose this "Full" Pool is your disk pool for your full backups and that you use the schedule resource to change the Pool for the weekly full backups. If I am not misunderstanding you and considering the backup of FileSet "Data", you only have one job defined for the full/diff/incr backups in disk and tapes.

The copy job solution is one possible solution for this. But you can accomplish this with two job definitions. For example, you can run your full montly backups to disk on first friday of the month and your full backup to tapes from 2nd to 5th friday of the month:

Job {
  Name="DiskBackupData"
  JobDefs = "DefaultJob"
  FileSet="Data"
  Schedule="MonthlyWeeklyDaily"
  Client Run Before Job = /usr/local/netfence/local/bin/bacula/preparebackup_Data.sh
  Client Run After Job = /usr/local/netfence/local/bin/bacula/afterbackup_Data.sh
  Priority=1
  Full Backup Pool=Full
  Incremental Backup Pool=Inc
  Differential Backup Pool=Diff
}

Schedule {
   Name = MonthlyDailyDisk
   Run = Level=Full Pool=FullDiskPool 1st Friday at TIME
   Run = Level=Diff Pool=DiffDiskPool DAYS TIME # do not include fridays here
   Run = Level=Incr Pool=IncrDiskPool DAYS TIME # do not include fridays here
}

Job {
  Name = "TapeBackupData"
  JobDefs = "DefaultJob"
  FileSet="Data"
  Schedule="WeeklyTape"
  Client Run Before Job = /usr/local/netfence/local/bin/bacula/preparebackup_Data.sh
  Client Run After Job = /usr/local/netfence/local/bin/bacula/afterbackup_Data.sh
  Priority=1
  Full Backup Pool=Full
 }

Schedule {
  Name = WeeklyTape
  Run = Level=Full Pool=Tapes 2nd-5th Friday at TIME
}

Best regards,
Ana

On Fri, Jan 22, 2016 at 12:16 PM, Andrea Venturoli <ml AT netfence DOT it> wrote:
On 01/22/16 11:30, Heitor Faria wrote:

> Tape libraries are great and have huge throughput.

And cost too much, unfortunately.
The customer won't be able to afford one and I agree it would be overkill.

Until a few months ago their full backup took only a single tape; now it
spans two, but a more modern unit would be more than enough.

In any case someone still needs to put the tape in and get it out
(that's what I meant with "uncomfortable").

Don't get me wrong, I'm very fond of tapes :)





>> Is there a way I can tell bacula to almost ignore tape backups, so:
>> a) always use the last disk full as a reference for subsequent diff/incr;
>> a) always restore from disk, unless I really ask for the tape (e.g. by
>> job number)?
>
> This looks like the copy jobs are the must suitable for your situation.

You mean the following?

b) do a Copy: this should work, but I'd need to copy several
full/diff/incr jobs (not having a complete up to date full);

So I should "copy" multiple jobs, not having a ready up to date "full"?

In case of disaster, would "bextract"ing data from such tapes be as easy?



  bye & Thanks
        av.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>