Hmm, I think duplicity has portability issues. I was able to fix the windows invalid file name by changing the time_separator in globals.py from ":" to "_" hmm, I wonder why ":" was used in the first place?
# Character used like the ":" in time strings like # 2002-08-06T04:22:00-07:00. The colon isn't good for filenames on # windows machines.
New problem, gpg is not happy and duplicity is not calling "gpg -status-fd 2" as a result
I have no clude why I am getting the following error. Please note: NO ERRORS if backup to an empty destination The the problem is likely some sort of gpg reading error. The gpg manual says don't trust exit codes you -status-fd. So I think
duplicity needs to be fixed to do so. Also I have a feeling I need to look into how duplicity is calling GnuPGInterface.py. Also IMO, duplicity should dump gpg error messages like it dumps ssh and other subcall error messages.
duplicity --no-print-statistics --scp-command 'scp -i /root/.ssh/id_dsa_duplicity' --ssh-command 'ssh -i /root/.ssh/id_dsa_duplicity' --encrypt-key 6A30A326 --sign-key 7BEF38F3 --remove-older-than 60D --include '/var/spool/cron/crontabs' --include '/var/backups' --include '/etc' --include '/root' --include '/home' --include '/usr/local/bin' --include '/usr/local/sbin' --include '/var/lib/dpkg/status' --include '/var/lib/dpkg/status-old' --exclude '**' /
scp://address@hidden//backups GnuPG passphrase: duplicity-full.2006-08-01T17_12_48+08_00.mani 100% 8276 8.1KB/s 00:00 Traceback (most recent call last): File "/usr/bin/duplicity", line 358, in ?
if __name__ == "__main__": main() File "/usr/bin/duplicity", line 347, in main check_last_manifest(col_stats) File "/usr/bin/duplicity", line 327, in check_last_manifest
last_backup_set.check_manifests() File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 117, in check_manifests remote_manifest = self.get_remote_manifest() File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 136, in get_remote_manifest
manifest_buffer = self.backend.get_data(self.remote_manifest_name) File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 202, in get_data assert not fin.close() File "/usr/lib/python2.4/site-packages/duplicity/dup_temp.py", line 121, in close
assert not self.fileobj.close() File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 115, in close self.gpg_process.wait() File "/usr/lib/python2.4/site-packages/GnuPGInterface.py", line 644, in wait
raise IOError, "GnuPG exited non-zero, with code %d" \ IOError: GnuPG exited non-zero, with code 2
[Prev in Thread]
Current Thread
[Next in Thread]
[Duplicity-talk] duplicity gpg error,
Tim Webster<=