BackupPC-users

Re: [BackupPC-users] Backup remote ftp server (internet site)

2009-04-09 12:37:48
Subject: Re: [BackupPC-users] Backup remote ftp server (internet site)
From: Mirco Piccin <pictux AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 9 Apr 2009 18:32:35 +0200
Hi

>> > There are two more occurrences of the same typo and
>> > several usages of $t->{host} instead of $args->{Host}, though that is 
>> > probably
>> > intentional (logging the host name as defined in BackupPC rather than the
>> > actual DNS name or IP used). I'd attach a patch, but it's really only
>> >
>> > :%s/\$args->{host}/$args->{Host}/gc
>>
>> i've applied in the /usr/share/backuppc/lib/BackupPC/Xfer/Ftp.pm the
>> patch you provide (thanks!).
>> I also edit $t->{host} occurences (that is used for log messages) in 
>> $t->{Host}.
>
> no, $t->{host} is correct. $args are for Net::FTP (which expects a member
> "Host"), $t is from BackupPC (which uses a member "host").

yes, it's right!
I've right now rollled back my Ftp.pm :-D

> I haven't got time right now to trace down the "invalid argument". Does the
> DNS name resolve? Have you tried with the numerical IP in ClientNameAlias?

Same result:
Last error is "xfer start failed: Can't open connection to
xxx.xxx.xxx.xxx: Invalid argument".

> Have you tried appending a :21 (as in "127.0.0.1:21")? Don't know if it makes
> any difference (according to docs, both should work).

appendig port number, ping fails:
Pings to ftp.XXX.it have failed 1 consecutive times.

It seems that is not so different to put ftp address as host or as
ClientNameAlias, error is the same.
I think that this problem is due to other variable.

Regards,
M

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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/