Author: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Tue, 01 Dec 2009 18:04:38 -0500
Tino Schwarze wrote at about 18:07:35 +0100 on Wednesday, November 25, 2009: I agree - I think it is the non-working yet present $Config(TopDir) variable that is the primary source of the confusion.
Author: Les Mikesell <lesmikesell AT gmail DOT com>
Date: Tue, 01 Dec 2009 18:31:42 -0600
But it is an artifact of packaging and distributing a pre-configured copy that makes it a problem at all. The distribution packagers should document the choice they made and how to deal with it. -- L
Author: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Tue, 01 Dec 2009 23:48:53 -0500
Disregard my post - I see that others have already answered that this is fixed in the latest Beta. Jeffrey J. Kosowsky wrote at about 18:04:38 -0500 on Tuesday, December 1, 2009: -- Join us December
Hi, What exactly is the difference between __TOPDIR__ and $Conf{TopDir}? It seems the former one is set at compile time, while the other is clearly a configuration file option, but how do these work
Author: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Tue, 24 Nov 2009 23:39:28 +0100
Short answer: They have to be the same, at all times! Long answer: http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Change_archive_directory HTH, Tino. -- "What we nourish flourishes."
I agree - almost every "newbie" that picks up BackupPC makes this mistake - the more experienced you are with old-school config files the MORE likely you are to assume changing this is all you need t
Author: Pieter Wuille <sipa AT users.sourceforge DOT net>
Date: Wed, 25 Nov 2009 00:05:00 +0100
If they need to be the same, why do we need the configuration option in the first place? -- Pieter -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your
Author: Les Mikesell <lesmikesell AT gmail DOT com>
Date: Tue, 24 Nov 2009 17:32:14 -0600
__TOPDIR__ is a token that gets substituted/replaced during an initial install (a step that deb/rpm packagers have already done). One of the places that the actual value is substituted is the value o
Author: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Wed, 25 Nov 2009 08:43:15 +0100
Well, then we could simply move it out of config.pl into the code which reads config.pl, e.g. have it preloaded into $Config... Tino. -- "What we nourish flourishes." - "Was wir nähren erblüht." www.
Author: Les Mikesell <lesmikesell AT gmail DOT com>
Date: Wed, 25 Nov 2009 08:44:02 -0600
The installer doing the substitution also establishes and moves the code to its runtime location - which the packagers have put elsewhere. It is approximately the equivalent of wanting to change 'con
Author: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Wed, 25 Nov 2009 18:07:35 +0100
I'm not talking about installation time. I figure it works like this: - someone calls BackupPC::new() - it takes it's patched-in $TopDir to locate config.pl - it reads config.pl - so what's $Config{T
Author: Holger Parplies <wbppc AT parplies DOT de>
Date: Thu, 26 Nov 2009 01:21:44 +0100
Hi, Tino Schwarze wrote on 2009-11-24 23:40:13 +0100 [Re: [BackupPC-users] __TOPDIR__ and $Conf{TopDir}]: as far as that statement goes, you are correct. There should be, but there isn't for older ve
Author: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Thu, 26 Nov 2009 08:53:55 +0100
Hi Holger, [...] Thanks for your detailed explanation. It makes sense. Old versions are out there, we've got to live with their users asking that question. New versions don't have this problem (and a
Author: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
Date: Thu, 26 Nov 2009 21:58:23 +1100
Not wanting to beat a dead horse... but isn't the usual method of dealing with this simply a command line parameter which would specify the location of the config file which would then specify the To
Thanks for all the answers. The information provided here was much clearer than the wiki! Thanks again, Koen -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simp