[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] "Bad fd number" with new FTP backend
From: |
daacyy302 |
Subject: |
[Duplicity-talk] "Bad fd number" with new FTP backend |
Date: |
Thu, 19 Jul 2007 12:27:23 -0700 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070604) |
I'm trying to use the new FTP backend to perform a full backup from my
Linux computer to my Windows box (running FileZilla). I'm then
uploading the results to Amazon S3 from Windows.
I used this command line (I know, I know, I'll change it to "-v 9" until
we get a stable new Duplicity release).
duplicity -v 6 --archive-dir /var/backups/duplicity_archives
--include-globbing-filelist list --full --short-filenames /
ftp://address@hidden/
The full backup runs for several hours and then fails with these error
messages:
Comparing ('root', 'tmp') and None
Generating delta - new file: root/tmp
Comparing ('root', 'tmp', 'HyperSpec-7-0.tar.gz') and None
Generating delta - new file: root/tmp/HyperSpec-7-0.tar.gz
Running 'ncftpput -F -t 30 -u 'backup' -p '???' -V -c 'Deck'
'df.jlew61.u5.dt.g' < '/tmp/tmpII5RRL'' (attempt #1)
Running 'ncftpput -F -t 30 -u 'backup' -p '???' -V -c 'Deck'
'df.jlew61.u6.dt.g' < '/tmp/tmpjfQamd'' (attempt #1)
Running 'ncftpput -F -t 30 -u 'backup' -p '???' -V -c 'Deck'
'df.jlew61.m.g' < '/tmp/tmpD1PJH4'' (attempt #1)
Running 'ncftpput -F -t 30 -u 'backup' -p '???' -V -c 'Deck'
'dfs.jlew61.st.g' < '/tmp/tmpAu4ZVi'' (attempt #1)
Reading results of 'ncftpls -F -t 30 -u 'backup' -p '???'
'ftp://address@hidden/''
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' (attempt #1)
sh: Syntax error: Bad fd number
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' failed (attempt #1)
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' (attempt #2)
sh: Syntax error: Bad fd number
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' failed (attempt #2)
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' (attempt #3)
sh: Syntax error: Bad fd number
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' failed (attempt #3)
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' (attempt #4)
sh: Syntax error: Bad fd number
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' failed (attempt #4)
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' (attempt #5)
sh: Syntax error: Bad fd number
Running 'ncftpls -F -t 30 -u 'backup' -p '???' -X 'DELE
/dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' failed (attempt #5)
Giving up trying to execute 'ncftpls -F -t 30 -u 'backup' -p '???' -X
'DELE /dfs.jlew61.st.g' 'ftp://address@hidden/' >& /dev/null' after 5 attempts
Traceback (most recent call last):
File "/usr/bin/duplicity", line 378, in <module>
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 368, in main
if action == "full": full_backup(col_stats)
File "/usr/bin/duplicity", line 149, in full_backup
col_stats.set_values(sig_chain_warning = None).cleanup_signatures()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
635, in cleanup_signatures
map(SignatureChain.delete, self.other_sig_chains)
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
344, in delete
self.backend.delete(inclist_copy)
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
414, in delete
self.run_command_persist(commandline)
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
167, in run_command_persist
raise BackendException("Error running '%s'" % private)
duplicity.backends.BackendException: Error running 'ncftpls -F -t 30 -u
'backup' -p '???' -X 'DELE /dfs.jlew61.st.g' 'ftp://address@hidden/' >&
/dev/null'
As an aside, does this mean that it's trying to delete files on the
Windows box? There was only an empty directory there when it started
the full backup; why would it be deleting files? Also, I told it to
store the signatures locally using the --archive-dir switch, so if it's
trying to delete signatures, it shouldn't be doing it via FTP.
Bob
- [Duplicity-talk] "Bad fd number" with new FTP backend,
daacyy302 <=