BackupPC-users

Re: [BackupPC-users] backing up BackupPC server

2009-11-04 00:59:03
Subject: Re: [BackupPC-users] backing up BackupPC server
From: Ivan Arteaga <iarteaga AT cwpanama DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 04 Nov 2009 00:55:34 -0500
Mirco Piccin wrote:
> Hi,
>
> > I want to schedule a backup for the BackupPC system and config 
> files. Is this possible?
>
> default installation of BackupPC provides also localhost backup.
> "Localhost backup" means of course BackupPC system and config files.
> Or, if it is not avalilable, you can add it.
>
> Usually BackupPC system files are stored here:
> /usr/share/backuppc
> , and config files are stored here:
> /etc/backuppc
>
> > how can I configure the path to the files to backup if the server 
> and client would be in the same machine
>
> All backup files are stored in the $Conf{TopDir} variable defined in 
> /etc/backuppc/config.pl <http://config.pl> file (and also in web gui - 
> server configuration section).
>
> You will find localhost backup in $Conf{TopDir}/pc/localhost/X (where 
> X is the backup number).
>
> Hope this helps you
> Regards
> M
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> ------------------------------------------------------------------------
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>   
Hello,

I did configure the backup for one share I have in the server using 
samba as /Xfer method/ but I am getting this message when the backup starts:

2009-11-04 00:31:21 Got fatal error during xfer (tree connect failed: 
NT_STATUS_BAD_NETWORK_NAME)
2009-11-04 00:31:26 Backup aborted (tree connect failed: 
NT_STATUS_BAD_NETWORK_NAME)

This is the config file for the localhost in /etc/BackupPC/pc/ccnt1.pl 
(ccnt1 is the server name where backuppc is running) I have no Xfer nor 
smbShare configuration in the main /etc/BackupPC/config.pl

[root@server]# more /etc/BackupPC/pc/ccnt1.pl
$Conf{SmbShareName} = [
  '/cose'
];
$Conf{SmbSharePasswd} = 'xxxxxxx';
$Conf{SmbShareUserName} = 'administrator';
[root@server]#

This is the output from the XferLog.bad.z file:

Running: /usr/bin/smbclient \\\\ccnt1\\/cose -U administrator -E -N -d 1 -c 
tarmode\ full -Tc -
full backup started for share /cose
Xfer PIDs are now 21057,21056
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.28-0.el4.9]
This backup will fail because: tree connect failed: NT_STATUS_BAD_NETWORK_NAME
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.28-0.el4.9]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (tree connect failed: NT_STATUS_BAD_NETWORK_NAME)
Backup aborted (tree connect failed: NT_STATUS_BAD_NETWORK_NAME)


I've been googling about this error and it seems everything is well 
configured but obviously I'm missing something. I've tried this via the 
console:

[root@server]# smbclient \\\\ccnt1\\/cose -U administrator #command in 
XferLog.bad.z
Password:
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.28-0.el4.9]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

[root@server]# smbclient //ccnt1/\cose -U administrator #manual 
smbclient command in console
Password:
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.28-0.el4.9]
smb: \> ls
. D 0 Thu Oct 29 17:01:39 2009
.. D 0 Thu Oct 29 12:50:12 2009
smb: \> exit
[root@server]#

I will appreciate any comment or suggestion.

Regards,

--Ivan.





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/