Hi Arch,
What Craig told you will work if you're editing the PC's config file
directly (from unix), but not if you're using the CGI.
In the CGI, when you edit the host's config, under Xfer/Smb
Settings/SmbShareName, click the "Add" button twice, add D$ and W$ in the
new boxes, then click Save. Then you'll get a correct config:
# more /etc/BackupPC/pc/test1.pl
$Conf{SmbShareName} = [
'C$',
'D$',
'W$'
];
$Conf{XferMethod} = 'smb';
Don't forget, it's a good idea to reload the server config anytime you make
a config change.
Cheers, Stephen
--
Stephen Joyce
Systems Administrator P A N I C
Physics & Astronomy Department Physics & Astronomy
University of North Carolina at Chapel Hill Network Infrastructure
voice: (919) 962-7214 and Computing
fax: (919) 962-0480 http://www.panic.unc.edu
Some people make the world turn and others just watch it spin.
-- Jimmy Buffet
On Sat, 14 Jul 2007, Arch Willingham wrote:
> I opened up the status page (where you can change that particular host's
> config file). I tried pasting in these combos in the SmbShareName box:
> [ 'C$', 'D$', 'W$' ];
> [ 'C$', 'D$', 'W$' ]
> 'C$', 'D$', 'W$'
> 'C$','D$','W$'
>
> In each case, I got the same NT_STATUS_BAD_NETWORK_NAME error. See the log
> below (you can see where it works when I just use one drive).
>
> 2007-07-13 13:00:02 full backup started for share C$ D$ W$
> 2007-07-13 13:00:05 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 13:00:10 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 13:02:05 full backup started for share C$ D$ W$
> 2007-07-13 13:02:13 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 13:02:18 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 14:00:07 full backup started for share C$, D$, W$
> 2007-07-13 14:00:10 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 14:00:16 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 14:01:54 full backup started for share C$, D$, W$
> 2007-07-13 14:02:00 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 14:02:05 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-13 14:16:04 full backup started for share C$
> 2007-07-13 15:14:05 full backup 0 complete, 30913 files, 5702595395 bytes, 34
> xferErrs ( bad files, bad shares, 34 other)
> 2007-07-14 09:49:05 full backup started for share [ 'C$', 'D$', 'W$' ]
> 2007-07-14 09:49:07 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:49:12 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:51:56 full backup started for share 'C$','D$','W$'
> 2007-07-14 09:51:59 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:52:04 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:53:17 full backup started for share C$,D$,W$
> 2007-07-14 09:53:19 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:53:24 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:55:39 full backup started for share [ 'C$', 'D$', 'W$' ];
> 2007-07-14 09:55:42 Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> 2007-07-14 09:55:47 Backup aborted (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
>
>
> Arch
>
>
> -----Original Message-----
> From: Craig Barratt [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 14, 2007 1:10 AM
> To: Arch Willingham
> Cc: [email protected]
> Subject: Re: [BackupPC-users] Backup multiple drives gives error "tree
> connect failed: NT_STATUS_BAD_NETWORK_NAME"
>
>
> Arch writes:
>
>> If I backup one drive of a computer, all is A-OK. If I try to backup
>> a computer with multiple drives, I get an error saying "tree connect
>> failed: NT_STATUS_BAD_NETWORK_NAME". I tried separating them like
>> this 'C$, D$, W$'.
>
> You need to use:
>
> $Conf{SmbShareName} = [ 'C$', 'D$', 'W$' ];
>
> Craig
>
> -------------------------------------------------------------------------
> 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/
>
>
> --
>
>
-------------------------------------------------------------------------
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/