Bacula-users

Re: [Bacula-users] Virtual Full - Set NextPool for the virtual job only

2012-02-05 09:34:26
Subject: Re: [Bacula-users] Virtual Full - Set NextPool for the virtual job only
From: Jan Lentfer <Jan.Lentfer AT web DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 05 Feb 2012 15:29:47 +0100
Am 05.02.2012 11:26, schrieb Jan Lentfer:
> Currently I have a setup where I use 3 file pools for Incr, Diff and
> Full. I use copy jobs to copy the incr jobs to one tape drive (DLT) and
> the full and diff jobs to another tape drive (LTO-1).
>
> Now I thought about doing Virtual Full Backups from the file pools to a
> 3rd drive every 2nd month or so with a retention of 5 years to establish
> a long term archive.
>
> Of course the NextPool is already configured in the File Pool
> Definitions for the Copy jobs.
>
> Is there a possibility to run Virtual Fulls from the File Pools to
> another Pool? E.g. is it possible to set the NextPool in the Virtual
> Full's job definition or on the schedule definition?

I think I have solved/worked around this using a "Dummy" Pool like this:

Pool {
   Name = "ArchivePool"
   Pool Type = Backup
   Storage = "DLT-Tape II"
   Recycle = yes                       # Bacula can automatically 
recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Recycle Oldest Volume = yes         # Use oldest Volume
   Volume Retention = 5 Years          #
   Label Format = "Archive-"
#  Maximum Volumes = 15                # 10 Volumes
}
Pool {
   Name = "ArchiveDummyPool"
   Pool Type = Backup
   Storage = FileStorageDev7"
   Recycle = yes                       # Bacula can automatically 
recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Recycle Oldest Volume = yes         # Use oldest Volume
   Volume Retention = 1 week
   NextPool= ArchivePool
   Label Format = "Dummy-"
#  Maximum Volumes = 15                # 10 Volumes
}

The Dummy pool has a File Storage device that points to the same 
directory the file volumes are stored in.

And then I use this "archive" job:
Job {
         Name = "Archive_epia"
         Enabled = Yes
         JobDefs = "DefaultJob"
         Level=VirtualFull
         Pool=ArchiveDummyPool
         Client = "epia-fd"
         FileSet = "epia-fs"
         Write Bootstrap = "/home/bacula/file-dev/epia.bsr"
}

Now I just have to figure out how to prevent restore from taking the 
ArchivePool into account for "standard" restores (because that would be 
slow)

Jan



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users