Hi,

Barry Robinson wrote on 06.07.2007 at 09:54:49 [[BackupPC-users] Edit config 
not working]:
> I recently went to version 3.0 and it seems that my
> /TOP_DIR/backuppc/pc/localhost/config.pl is not being read.

BackupPC 3.x.x can be installed in two different "flavours": FHS and
legacy (non-FHS). New installations should probably choose FHS (Filesystem
Hierarchy Standard) which would put the configuration files under
$Conf{ConfDir} - normally /etc/BackupPC (above file specifically would then
be in /etc/BackupPC/pc/localhost.pl). The Debian package modifies ConfDir to
/etc/backuppc.

Non-FHS mode takes the first of
        TopDir/pc/$host/config.pl
        ConfDir/$host.pl
        ConfDir/pc/$host.pl
that exists.

Your installation probably has $useFHS set to 1 in sub new in
BackupPC/Lib.pm.

> On the web interface I click Edit Config and it takes me to the server
> status page.  Matter of fact, all the edit links take me to server status.

That looks as if the 'action=' parameter were not passed correctly. What
does the link look like? What happens if you go to the server status page
and add '?action=editConfig' to the end of the URL (or
'?action=editConfig&host=localhost' if you want to edit the host config)?

> I have manually edited the config files in the /pc/$hostname directory and
> the only thing being read is the main config under /etc/BackupPC.
> 
> Any idea where I make the change so it reads the per PC configs?

See above. /etc/BackupPC/pc/localhost.pl.

Regards,
Holger

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to