Re: [Bacula-users] Make catalog backup switch pools

2019-02-06 Thread Martin Simmons
If you are using scheduled jobs then you can also vary the pool in the
Schedule directive to match the pool used for the main backups, e.g.

# Use this schedule for the catalog backup.
Schedule {
  Name = "FullAlwaysCycle"
  Run = Level=Full Pool=MonthlyPool FullPool=MonthlyPool 1st sun at 2:05
  Run = Level=Full Pool=WeeklyPool FullPool=WeeklyPool 2nd-5th sun at 2:05
  Run = Level=Full Pool=DailyPool FullPool=DailyPool tue-fri at 2:05
}

# Use this schedule for the main backups.
Schedule {
  Name = "FullFullDiffCycle"
  Run = Level=Full Pool=MonthlyPool FullPool=MonthlyPool 1st sun at 2:05
  Run = Level=Full Pool=WeeklyPool FullPool=WeeklyPool 2nd-5th sun at 2:05
  Run = Level=Differential Pool=DailyPool mon-sat at 2:05
}

This will not automatically switch according to the last type of backup
though.

__Martin
 


> On Sat, 2 Feb 2019 14:03:25 -0500, Nate K said:
> 
> I thought about this some more and I figured out it could be done with two
> seperate jobs each scheduled to follow after the corresponding backup.  I
> also realized I don't really need separate pools for full and diff backup.
> I think it would make pulling tapes out of the autochanger easier as they'd
> be listed separately but I think it's also an extra complication I can do
> without.
> 
> On Sat, Feb 2, 2019 at 1:15 PM Nate K  wrote:
> 
> > Hi,
> >
> > I have four pools set up, library_a (the local pool), offsite_full,
> > offsite_diff, and Scratch.  The way I planned this, when a full or
> > differential backup finishes for the offsite pools I would look at the list
> > of which tapes were written to and take them out of the autochanger and
> > move them to another location.
> >
> > I also would like a catalog backup written after each full or differential
> > backup at the end of whatever the last tape was used being from either the
> > full or differential pool.  I'm not sure how I can configure the catalog
> > backup so it will switch pools from offsite_full to offsite_diff depending
> > on the last type of backup that ran.  I want to avoid a tape in the
> > offsite_full pool being used solely for a single catalog backup after a
> > differential backup ran.
> >
> > I hope this makes sense.  I have a feeling this isn't possible, I guess I
> > might just have to make catalog backups to another type of media manually
> > along with the config files and bootstrap files so I keep all that offsite
> > for possible disaster recovery.
> >
> > Thanks,
> > Nate
> >


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Make catalog backup switch pools

2019-02-02 Thread Nate K
I thought about this some more and I figured out it could be done with two
seperate jobs each scheduled to follow after the corresponding backup.  I
also realized I don't really need separate pools for full and diff backup.
I think it would make pulling tapes out of the autochanger easier as they'd
be listed separately but I think it's also an extra complication I can do
without.

On Sat, Feb 2, 2019 at 1:15 PM Nate K  wrote:

> Hi,
>
> I have four pools set up, library_a (the local pool), offsite_full,
> offsite_diff, and Scratch.  The way I planned this, when a full or
> differential backup finishes for the offsite pools I would look at the list
> of which tapes were written to and take them out of the autochanger and
> move them to another location.
>
> I also would like a catalog backup written after each full or differential
> backup at the end of whatever the last tape was used being from either the
> full or differential pool.  I'm not sure how I can configure the catalog
> backup so it will switch pools from offsite_full to offsite_diff depending
> on the last type of backup that ran.  I want to avoid a tape in the
> offsite_full pool being used solely for a single catalog backup after a
> differential backup ran.
>
> I hope this makes sense.  I have a feeling this isn't possible, I guess I
> might just have to make catalog backups to another type of media manually
> along with the config files and bootstrap files so I keep all that offsite
> for possible disaster recovery.
>
> Thanks,
> Nate
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Make catalog backup switch pools

2019-02-02 Thread Nate K
Hi,

I have four pools set up, library_a (the local pool), offsite_full,
offsite_diff, and Scratch.  The way I planned this, when a full or
differential backup finishes for the offsite pools I would look at the list
of which tapes were written to and take them out of the autochanger and
move them to another location.

I also would like a catalog backup written after each full or differential
backup at the end of whatever the last tape was used being from either the
full or differential pool.  I'm not sure how I can configure the catalog
backup so it will switch pools from offsite_full to offsite_diff depending
on the last type of backup that ran.  I want to avoid a tape in the
offsite_full pool being used solely for a single catalog backup after a
differential backup ran.

I hope this makes sense.  I have a feeling this isn't possible, I guess I
might just have to make catalog backups to another type of media manually
along with the config files and bootstrap files so I keep all that offsite
for possible disaster recovery.

Thanks,
Nate
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users