Bacula-users

[Bacula-users] CopyDiskToTape

2009-10-20 06:55:11
Subject: [Bacula-users] CopyDiskToTape
From: Pedro Bordin Hoffmann <pedro.hoffmann AT raidbr.com DOT br>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 20 Oct 2009 08:52:15 -0200
Me again hehehe!
A few more help with the CopyDiskToTape

I need to every day from mon-fri to put in tape my disk backups...
but, like today its asking me for a tape from Thursday ... how can I do to make different pools for monday, tuesday and stuff
Becouse I need to use different tapes, with differente labels...

My conf:

Pool of my disk backups:
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  VolumeRetention = 2d         # one year
  Label format = "belga-"
  Maximum Volume Bytes = 4G
  Storage = File2TB
  NextPool = FullBackupsTapePool
}


Disk to tape conf
##################
Pool {
  Name = FullBackupsVirtualPool
  Pool Type = Backup
  Purge Oldest Volume = Yes
  Storage = File2TB
  NextPool = FullBackupsTapePool
}

Pool {
  Name = FullBackupsTapePool
  Pool Type = Backup
  Recycle = Yes
  AutoPrune = Yes
  Volume Retention = 7d
  Storage = Files_Fita
}

#
# Fake fileset for copy jobs
#
Fileset {
  Name = None
  Include {
    Options {
      signature = MD5
    }
  }
}

#
# Fake fileset for copy jobs
#
Fileset {
  Name = None
  Include {
    Options {
      signature = MD5
    }
  }
}

#
# Fake client for copy jobs
#
Client {
  Name = None
  Address = localhost
  Password = "b4cul4.b3lg4"
  Catalog = MyCatalog
}

#
# Default template for a CopyDiskToTape Job
#
JobDefs {
  Name = CopyDiskToTape
  Type = Copy
  Messages = Standard
  Client = None
  FileSet = None
  Selection Type = PoolUncopiedJobs
  Maximum Concurrent Jobs = 10
  SpoolData = No
  Allow Duplicate Jobs = Yes
  Allow Higher Duplicates = No
  Cancel Queued Duplicates = No
  Cancel Running Duplicates = No
  Priority = 13
  Pool = Default
}

Schedule {
   Name = DaySchedule10:00
   Run = Level=Full daily at 10:00
}

Job {
  Name = CopyDiskToTapeFullBackups
  Enabled = Yes
  Schedule = DaySchedule10:00
#  Pool = Default
  JobDefs = CopyDiskToTape
#  RunAfterJob  = "/etc/bacula/fita_off.sh"
}
##################################


Thanks for the help :D
[]s
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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>
  • [Bacula-users] CopyDiskToTape, Pedro Bordin Hoffmann <=