Hi Clyde,

In your pool definition include the key (Next Pool) with the right value:

Pool {
  Name = host
  Use Volume Once = yes
  Pool Type = Backup
  Auto Prune = yes
  Volume Retention = 13 days
  Label Format = host-
  Maximum Volumes = 15
  Recycle = yes
  Storage = hostFiles
  Next Pool = DSI-Tape
}

Pool {
  Name = DSI-Tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 31 days # rotate tapes monthly
  Storage = TL2000 
} 
  

Then create a job to do the migration.  Below is an example.  Take care to
note that I name my pools (separate pool for each host) the same name as the
host.   Then replace the named Œhost¹  with the client¹s name.  Also note
the bacula server is named Œ<bacula-server>¹.  :


Job {
  Name = "host-migrate"
  Type = Migrate
  Level = Full
  Client = <bacula-server>-fd
  Write Bootstrap = "/u1/bacula/working/host-migrate.bsr"
  FileSet = "Host Set"
  Schedule = "MigrateCycle"
  Messages = Standard
  Pool = host
  Selection Type = Volume
  Selection Pattern = ".*"
  Priority = 12
}

The Migrate cycle, at my site, fires off on Thursday nights so the tape can
be rotated on Friday.  In the Migrate job, you could change what¹s written
to tape to be a subset of  what was written in the disk backup by
manipulating the FileSet.  The Migrate job draw from the Pool using the
bacula-server¹s FD.

Does this help?  Hopefully between the on-line manual and my example you can
find a solution.

NB: once the backup has been migrated, you can no longer use the disk copy
of the backup in the event you need to restore.  If you restart the sd
between migrate jobs (like a system reboot or add/change to the sd.conf) the
next migrate will fail appending to the current tape.  It¹s for these two
reasons that I only migrate weekly.

peter



On 6/26/07 1:58 PM, "Clyde O Goffe" <[EMAIL PROTECTED]> wrote:

> Thanks in advanced!
> 
> On 6/26/07, Clyde O Goffe <[EMAIL PROTECTED]> wrote:
>> Hello Everyone,
>> 
>> I'm interested in knowing if there is a feature that allows you to
>> automatically send a copy of a backup to disk off to tape for offsite
>> storage.  I'm trying not to have to run two separate backups of the same
>> server but instead just run one backup and then have it copied off to tape.
>> Also this way I know that the same data that's on disk is also on tape.  Any
>> suggestions? 
>> 
>> -Clyde
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to