Re: debian patch for localconfig.pl

jbk <[email protected]> Fri, 14 Nov 2025 09:52:45 -0500
Newsgroups gmane.comp.sysutils.backup.backuppc.general
Message-ID <[email protected]>
On 11/13/25 2:31 PM, Paul Fox wrote:
> A couple of years ago I filed a backuppc issue on github
> (https://github.com/backuppc/backuppc/issues/486) complaining that
> localconfig.pl wasn't documented.  It turns out that it's a Debian
> addition, courtesy of their patches when packaging backuppc.  I had
> learned this a while ago, and I apologize to Ged for not updating the
> github issue (which I confess I'd forgotten about).
>
> Anyway, Ged just asked whether it's useful, and whether the
> functionality should move into backuppc proper.
>
> Well, at some point, when I wasn't sure whether localconfig.pl was a
> feature I should be relying on, I decided to simply move all of my
> local config onto the tail of config.pl.  (Previously it had been
> sprinkled throughout, with bits of comment here and there telling me
> why I'd changed something or other.)   Putting it all at the end isn't
> quite as clean, management-wise, as having local changes in a separate
> file, but at least it keeps the release-to-release diffs clean(er), which
> is important at system upgrade time.
>
> So I'm not going to champion the feature too hard, even though I think
> it's a good idea.  I have an adequate workaround.  But if anyone else
> uses it, and/or thinks it should become permanent in all packages, I
> can't imagine it would be a lot of work for it to be implemented.  And
> I'd probably start using it again in that case.
>
> paul
> =----------------------
>   paul fox, [email protected] (arlington, ma, where it's 48.6 degrees)
>
>
>

Unless I'm misunderstanding this, is the localconfig.pl to 
define a backup schedule for the server?
I eventually accomplished this by identifying the server as 
a named host <servername.pl> in the list of hosts to backup. 
It took a bit of trial and error to set it up and help from 
this list many years ago. So yes it would be helpful to have 
a sample script to achieve this since it is not part of the 
documentation.

-- 
Jim KR



_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/