Hi all,
Thanks to William, I have figured out how to put a config file on a per
pc basis.
This is what I've done.
__TOPDIR__ == /backuppc
so, I've got the main config file as /backuppc/conf/config.pl and hosts
in /backuppc/conf/hosts (this file currently has only 1 host specified
as dhcp -> marks-desktop)
/backuppc/pc/marks-desktop/config.pl contains the following::
do "/backuppc/conf/config.pl
$Conf{SmbShareName} = 'TestBackup';
#completion of marks-desktop config file
When I connect to the cgi interface, it says that it can successfully
ping marks-desktop (from marks-desktop home page). But when I click for
a perform Full Backup Now, it says in the error log that It was unable
to backup C$ share on marks-desktop! the contents of Xfer-log for
marks-desktop::
Running: /usr/bin/smbclient \\\\marks-desktop\\C\$ -I 172.16.102.169 -U
-E -N -d 1 -c tarmode\ full -Tc -
Xfer PIDs are now 4640,4639
Domain=[TECHNOLOGY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Unexpected end of tar archive (tot = 512, num = , posn = )
tarExtract: Done: 1 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
I see 10 problems here:
(0) somehow the share name has not been over-ridden (its specified in
config.pl for marks-desktop)
(1) whats the tree connect failed thingy? I can connect to the machine
and browse the shares there. I actually have Full permissions on the
TestBackup folder on marks-desktop!
Should I remove the smbsharename config attribute (C$) from the main
config.pl file? The default config.pl file defaults $Conf{XferMethod} to
smb.
Regards,
Imran
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
