Hi there Bacula community,

I've been reading Bacula manuals and browsing this mailing list archive but 
cannot find the answer to my question I suspect it's just that I'm searching 
the wrong terms so please forgive me if it's in there.

I've inherited a rather eclectic backup solution that includes Bacula among the 
several backup solutions in play here.
The cleanest way of consolodating everything down that I can see is to use 
Bacula for all clients, writing to a NAS, which is then copied to tape up by 
the NAS providers' system.

To make recovery from tape simpler (I want to be able to ask our provider for 
"all the files named blahblah between these date ranges") I've created a new 
Pool which Labels volumes by Job, Level and Date, then restricted bacula to 
writing one job per volume.  So far this seems to be working pretty well.

But here is my question; Will this follow the retention policy I have set up (2 
months) and what happens when a volume is ready to be purged?
  Will bacula remove it from it's catalog?  (I'm hoping yes)
  Will bacula delete the physical file?  (I'm guessing no)

Also, is there a nicer way to have one file with a clear filename per job but 
also to have fully automated volume recycling so I don't just fill up our NAS?

Am I on the right track at all with this?

Device {
  Name = SMBFileStorage
  Media Type = File
  Archive Device = /data/xxx
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

Storage {
  Name = File
  Address = xxx                # N.B. Use a fully qualified name here
  SDPort = xxx
  Password = "xxx"
  Device = SMBFileStorage
  Media Type = File
}

Pool {
  Name = FileBased
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 2 months
  Maximum Volume Jobs = 1   # One volume per job
  Label Format = 
"${Job}-${Level}-${Year}.${Month:p/2/0/r}.${Day:p/2/0/r}-${Hour:p/2/0/r}.${Minute:p/2/0/r}.${Second:p/2/0/r}"
  Maximum Volume Bytes = 5G  # Force the use of multiple volumes if they would 
be larger than 5Gig
}

JobDefs {
  Name = "OS"
  Type = Backup
  FileSet = "OS Files"
  Schedule = "BackupCycle"
  Storage = File        # Where to find the SD
  Messages = Standard
  Pool = FileBased              # Which volume Pool to use on the SD
  Priority = 10
  Write Bootstrap = "/usr/local/bacula//%c-OS.bsr"
}

Job {
  Name = "myclient"
  Client = myclient.domainame-fd
  JobDefs = "OS"
}

Schedule {
  Name = "BackupCycle"
  Run = Full 1st sat at 20:05
  Run = Differential 2nd,3rd,4th,5th sat at 20:05
  Run = Incremental sun-mon at 20:05
}













-- 
Chris Harrison





-------------------------------------------------------------------------------------------------------------------------------------------
 

The content of this email message and any attachments may be confidential 
and/or legally privileged.  

If we have sent you this message by mistake, we apologise. Please let Learning 
Media know by return email, 

and delete all copies of this message and its attachments. Please be aware that 
any use, copying, or reference to an email message you received in error is 
strictly prohibited.  

Thank you, 

LML Postmaster 


 

Please consider the environment before printing this e-mail
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to