Bacula-users

Re: [Bacula-users] Should I add /etc/bacula to the "Catalog" backup?

2013-01-25 14:13:09
Subject: Re: [Bacula-users] Should I add /etc/bacula to the "Catalog" backup?
From: Steve Ellis <ellis AT brouhaha DOT com>
To: Alan McKay <alan.mckay+bacula AT gmail DOT com>
Date: Fri, 25 Jan 2013 11:10:46 -0800
Due to disk layout on my system, I have the DB dump stored elsewhere on my server, and I changed the catalog backup to not delete the DB dump.  Assuming some kind of less catastrophic crash, my hope would be to restore the DB from the on-disk copy.  I maintain the DB dump, bootstrap files and 'important' non-tape backups on a separate physical disk in my system.

Another perhaps interesting step that I took to give me more options after a crash was to write a script to more intelligently handle bootstrap files (i.e. eliminate unnecessary backup records when differential backups are used) and to copy them to a remote server I have access to via ssh.  I can share my script if there is interest, it is only about 70 lines of python code--I haven't checked, but perhaps bacula has been changed to better handle differentials when writing bootstrap files natively.

-se


On Fri, Jan 25, 2013 at 10:44 AM, Alan McKay <alan.mckay+bacula AT gmail DOT com> wrote:
On Fri, Jan 25, 2013 at 11:17 AM, Alan McKay
<alan.mckay+bacula AT gmail DOT com> wrote:
>     File = "/var/lib/bacula/bacula.sql"

I went looking for this file out of curiousity, and found it was not there.

But upon further digging, it looks like the script dumps the DB, then
backs it up, then removes that file.

Do I have that right?

And further, before creating the file in the first place it removes
one that may already be there, by the looks of it.

Just making sure I got that right.  Is there a reason not to leave the
file there until next time?  Just a space issue?

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, _javascript_ and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--

-se

--
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
                               --Benjamin Franklin, 1759

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users