Re: [Bacula-users] Backup strategy advice
2016-03-25 14:08:43
Ana,
Thanks for the response, answers inline...
On 03/24/2016 06:46 PM, Ana Emília M.
Arruda wrote:
Having the same media type between the two changers actually
produced a scenario wherein bacula became confused with slot numbers
and pool inventory. If memory serves, it was Kern who suggested I
use LTOa and LTOb as media types between the changers to avoid this
contention.
If however, I can mange a single set of pools/volumes/schedules
across both changers, that would be ideal...
Would this be a single bacula-sd with 2 storage resources, or 2
individual bacula-sd with a single storage resource each?
My current storage device setup...
Autochanger {
Name = Quantumi40
Device = Drive0, Drive1
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/quantumi40
}
Autochanger {
Name = Quantumsl3
Device = Drive2
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/quantumsl3
}
Device {
Name = Drive{0|1|2}
Drive Index = {0|1}
Media Type = LTO5{a|b}
Device Type = tape
Archive Device = /dev/tape{0|1|2}
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
LabelMedia = yes;
Maximum Changer Wait = 9000
Maximum Concurrent Jobs = 1
Spool Directory = /spool/{0|1|2}
Maximum Spool Size = 100gb
Minimum block size = 1048576
Maximum block size = 1048576
Hardware End of Medium = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
To phrase it another way, I need to have a full set of the data
offsite for 31 days at a time. Where "full set" is a full week's
worth of tapes, sent out daily after the Incremental/Full jobs run.
I suspect switching to a monthly Full, with weekly Diffs and Daily
Incremental cycle would be my way forward from here...
I think this setup would require a total of 6 pools, 3 for each
autochanger...
Here's my current thinking...
Pool {
Name = {$i40|$sl3}-{$full|$diff|$inc}Pool
Pool Type = Backup
Recycle = yes
Recycle Oldest Volume = yes
Auto Prune = yes
ScratchPool = Scratch
RecyclePool = Scratch
Volume Retention = {31|14|7} days
}
Which would make the Schedule(s) something like... Unless there's a
way to have a unified schedule/pools for both changers...
Schedule {
Name = "i40-Daily"
Run = Level=Incremental Pool=i40-IncPool tue-sun at 18:00
Run = Level=Full Pool=i40-FullPool 1st mon at 18:00
Run = Level=Differential Pool=i40-DiffPool 2nd mon at 18:00
Run = Level=Differential Pool=i40-DiffPool 3rd mon at 18:00
Run = Level=Differential Pool=i40-DiffPool 4th mon at 18:00
Run = Level=Differential Pool=i40-DiffPool 5th mon at 18:00
}
Schedule {
Name = "sl3-Daily"
Run = Level=Incremental Pool=sl3-IncPool sat-thu at 03:00
Run = Level=Full Pool=sl3-FullPool 1st fri at 03:00
Run = Level=Differential Pool=sl3-DiffPool 2nd fre at 03:00
Run = Level=Differential Pool=sl3-DiffPool 3rd fri at 03:00
Run = Level=Differential Pool=sl3-DiffPool 4th fri at 03:00
Run = Level=Differential Pool=sl3-DiffPool 5th fri at 03:00
}
Automating the restore testing would be an epic win for me... I will
dig into bls/bextract as that option never occurred to me.
My requirements...
retention: 31 days for fulls, 14 days for weekly diff, and 7 days
for daily incremental.
1. tapes written daily, multiple jobs, single client
- Full recoverable set of data every week.
2. multiple tape libraries, lto-5
- three tape drives, 56 slots between autochangers
3. tapes leave daily after successful jobs
4. every 3 months a restore test is performed from the full set,
ideally automatically
5. minimal daily involvement from my team, other than swapping tapes
in the changer mail slots.
All the best,
--eddie
This email, its contents and attachments contain information from j2 Global, Inc. and/or its affiliates which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is prohibited. If you have received this email in error please notify the sender by reply e-mail and delete the original message and any copies. � 2015 j2 Global, Inc. All rights reserved. eFax �, eVoice �, Campaigner �, FuseMail �, KeepItSafe � and Onebox � are registered trademarks of j2 Global, Inc. and its affiliates.
|
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|