Dawn Susini Wallis wrote on 18.05.2007 at 11:00:46 [Re: [BackupPC-users]
Problems with per-PC config file]:
>>> Dawn Susini Wallis wrote:
>>>
>>>> When BackupPC runs a backup, it does not look at my per-PC config file.
>>>> [...]
>>>> My main config file is in "/store/backuppc/data/conf", while my per-PC
>>>> config files are stored in each pc directory
>>>> "/store/backuppc/data/pc/pcname/".
>>>>
>> I had it in /etc/BackupPC/ and had the same problem. By the way, you
>> can't just change that setting in the main config.pl file, you also have
>> to change it in the Lib.pm file.
>>
>
> so you have $useFHS = 1 in Lib.pm and have changed the default ConfDir? Then
> your per-PC config files go in /store/backuppc/data/conf/pc/pcname.pl :
>
---->The per-pc files I had stored in /store/backuppc/data/pc/config.pl
(not by pcname.pl and not in conf). I will try moving the renaming the
per-pc config file to pcname.pl and move it into the conf directory and
see what happens.
>> "As a configuration variable $Conf{SmbSharePasswd}
>> <http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_smbsharepasswd_>
>>
>> in the per-PC configuration file (__CONFDIR__/pc/$host.pl or
>>
> ^^^^^^^^^^^^^^^^^^^^^^^
>
>> __TOPDIR__/pc/$host/config.pl in non-FHS versions of BackupPC)."
>>
>
>
>> So I wanted to put the config file in the __TOPDIR__ rather than moving
>> all of my backups.
>>
>
> Why would you have to move all your backups?
-->Hmmmm... I didn't have to move all of my backups. But because I had
gotten frustrated that my per-pc settings weren't being used, I got a
bit desperate and thought maybe shuffling the location of my
configuration files would fix things (matching them with my data
directory/ or moving my data directory to match the config location ---
it was just an act of desperation). Of course this did not fix anything.
I had all of the configuration stuff setup in /etc/BackupPC and I had
all of the data backing up in /store/backuppc/data/pc. I moved the
configuration files to /store/backuppc/data/conf. I can move it back to
/etc/... I will do that.
The backups are working now, though. I wrote a script that writes an
authentication file at the time of computer registration and I set up
the main config file to use the authentication script during backups.
Now that I've got backups completing successfully, I'm going to play
around with the per-pc configuration stuff and see what I can find out.
Using your advice I will add a pcname.pl config file to the config
directory and see what happens. Thanks for your suggestions!
> If $useFHS is set,
> configuration goes in /etc/BackupPC/ and the backups stay under __TOPDIR__,
> /store/backuppc/data in your case.
>
> Regards,
> Holger
>
--->Dawn
-------------------------------------------------------------------------
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/