duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Error detection in FTP backend.


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Error detection in FTP backend.
Date: Fri, 27 Mar 2009 10:49:39 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

matthias wrote:
> Hi,
> 
> it seem that I'm doing something wrong because the duplicity doesn't
> care at all what happens during the ftp transfer. I use duplicity 0.5.13
> with ncftp 3.2.2
> 
> The log looks like this:
> 
> AsyncScheduler: task completed successfully
> Processed volume 1
> Registering (mktemp) temporary file
> /tmp/duplicity-6pbv8r-tempdir/mktemp-DyKkFs-3
> ===== Begin GnuPG log =====
> ===== End GnuPG log =====
> AsyncScheduler: running task synchronously (asynchronicity disabled)
> Running 'ncftp -u <LOGIN> <IP>' (attempt #1)
> State = authorizing, Before = 'NcFTP 3.2.2 (Sep 04, 2008) by Mike
> Gleason (http://www.NcFTP.com/contact/).
> Resolving <IP>... Connecting to <IP>...
> ProFTPD 1.3.1 Server (<COMPANY NAME>) [<IP>]
> Logging in...
> Password requested by <IP> for user "<LOGIN>".
> 
>     Password required for <LOGIN>
> 
> '
> State = running, Before = ' ********
> 
> User <LOGIN> logged in
> Logging in... Logged in to <IP>.
> '
> ftp command: 'set yes-i-know-about-NcFTPd yes'
> State = running, Before = ' set yes-i-know-about-'
> ftp command: 'set autosave-bookmark-changes no'
> State = running, Before = ' set autosave-bookmark-changes no
> '
> ftp command: 'set confirm-close no'
> State = running, Before = ' set confirm-close no
> '
> ftp command: 'set auto-resume yes'
> State = running, Before = ' set auto-resume yes
> '
> ftp command: 'type binary'
> State = running, Before = ' type binary
> '
> ftp command: 'set passive no'
> State = running, Before = ' set passive no
> '
> ftp command: 'mkdir root'
> State = running, Before = ' mkdir root
> '
> ftp command: 'cd root'
> State = running, Before = ' cd root
> '
> ftp command: 'put -z /tmp/duplicity-6pbv8r-tempdir/mktemp-DyKkFs-3
> duplicity-full.20090327T144217Z.vol2.difftar.gpg'
> State = running, Before = ' put -z
> /tmp/duplicity-6pbv8r-tempdir/mktemp-DyKkFs-3 duplicit
> put duplicity-full.20090327T144217Z.vol2.difftar.gpg: server said:
> Unable to build data connection: Connection refused
> '
> ftp command: 'quit'
> State = running, Before = ' quit
> '
> Deleting /tmp/duplicity-6pbv8r-tempdir/mktemp-DyKkFs-3
> Forgetting temporary file /tmp/duplicity-6pbv8r-tempdir/mktemp-DyKkFs-3
> 
> And there's my data gone. I assume that's not the expected behaviour.
> Any idead how this can be fixed?

It's not gone, that was just a temp file, and yes, this is a bug.

I'll have a patch out soon to fix the problem, but for now, try using
the "--ftp-passive" option.  This would be the error if the regular
connection to the data port (20) was not available.

...Ken

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]