[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-users
Subject: Re: [Bacula-users] What to exclude?
From: Martin Simmons <martin () lispworks ! com>
Date: 2016-01-28 10:15:09
Message-ID: 201601281015.u0SAF9jX017395 () higson ! cam ! lispworks ! com
[Download RAW message or body]
Beware that including both / and /bin/ will save two copies of /bin/ (assuming
it is on the same filesystem as /).
The article actually suggests explicitly listing each filesystem, not each
directory.
__Martin
> > > > > On Wed, 27 Jan 2016 22:02:31 +0000, Michael Munger said:
>
> Having setup and just tested, I ran into the "will not descend into different file \
> systems" issue as mentioned in this post: \
> http://bacula.10910.n7.nabble.com/Will-not-descend-from-into-dev-td57408.html, and \
> it gives a very good reason for explicitly defining what to include.
> So, I have amended my previous file set to now explicitly INCLUDE:
>
> /bin/
> /boot/
> /etc/
> /home/
> /lib/
> /opt/
> /root/
> /sbin/
> /srv/
> /usr/
> /var/
>
> While still excluding the other items.
>
> Does anyone see an issue with this? (Trying to figure out if this is good enough \
> now... before I have to recover and realize something is not quite right...).
> Michael Munger, dCAP, MCPS, MCNPS, MBSS
> High Powered Help, Inc.
> Microsoft Certified Professional
> Microsoft Certified Small Business Specialist
> Digium Certified Asterisk Professional
> michael@highpoweredhelp.com
>
>
> -----Original Message-----
> From: Michael Munger [mailto:michael@highpoweredhelp.com]
> Sent: Wednesday, January 27, 2016 4:43 PM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] What to exclude?
>
> TLDR; = what can I safely exclude from a bacula backup of a Linux server and still \
> be able to fully recover (bare metal) from a disaster?
> Details:
> I am looking for a best practice here, and I am working from two sources:
>
> 1. http://www.bacula.org/5.0.x-manuals/en/main/main/Disaster_Recovery_Using_Bac.html#SECTION003960000000000000000
> 2. https://wiki.debian.org/FilesystemHierarchyStandard
>
> In order to recover a client machine that is a linux server (not the bacula-dir or \
> bacula-sd) in accordance with Bacula docs, I have setup the FileSet for such a \
> server as noted below.
> FileSet {
> Name = "Example Linux Server"
> Include {
> Options {
> signature = SHA1
> compression = GZIP
> }
>
> File = /
> }
>
> Exclude {
> /opt/bacula/working
> /tmp
> /proc
> /sys
> /.journal
> /.fsck
> /media
> }
> }
>
> My reasons for excluding these are as follows:
>
> /opt/bacula/working
> Not needed - just pid files and temp stuff.
> /tmp
> no point in backing up temp files
> /proc
> can't backup processes
> /sys
> This is the filesystem point for exporting kernel objects. Kernel does this on the \
> fly. No point in backing it up.
> .journal
> not needed. journal log file.
>
> .fsck
> not needed. fsck log file
>
> /media
> no reason to backup external devices (unless you have a reason, which I don't.)
>
>
> It should be noted, that I am using ClientRunBeforeJob to dump MySQL databases to \
> /var/local/mysqlbackups, so I have indepdenent copies of them there, but since I am \
> NOT excluding /var/lib/mysql, the raw databases should also be recoverable from \
> bare metal.
> Does anyone have a different (better) best practice?
>
> Michael Munger, dCAP, MCPS, MCNPS, MBSS
> High Powered Help, Inc.
> Microsoft Certified Professional
> Microsoft Certified Small Business Specialist Digium Certified Asterisk \
> Professional michael@highpoweredhelp.com
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile \
> APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web \
> transactions and take corrective actions now Troubleshoot faster and improve \
> end-user experience. Signup Now! \
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 \
> _______________________________________________ Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic