On Tue, Feb 07, 2012 at 12:59:53PM +0100, Olivier Berger wrote:
>
> Hi.
>
> Here's what happens :
>
> # LANG=C duplicity full --no-print-statistics --scp-command 'scp '
> --sftp-command 'sftp ' --extra-clean --archive-dir
> /var/cache/backupninja/duplicity --exclude '/home/*/.local/share/Trash'
> --exclude '/home/*/.Trash' --include '/home' --exclude '**' /
> scp://backup@whetever//mnt/backups/whatever
> Warning: Option --scp-command is deprecated and ignored. Use --ssh-options
> instead.
> Warning: Option --sftp-command is deprecated and ignored. Use --ssh-options
> instead.
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup left a partial set, restarting.
> Last full backup date: Tue Feb 7 01:36:09 2012
> GnuPG passphrase:
> Retype passphrase to confirm:
> RESTART: Volumes 291 to 291 failed to upload before termination.
> Restarting backup at volume 291.
> Restarting after volume 290, file /.../whatever, block 2669
> BackendException: sftp put of /tmp/duplicity-kAlv2U-tempdir/mktemp-jaj5JJ-3
> (as duplicity-full.20120207T003609Z.vol291.difftar.gpg) failed: Failure
>
> The message is rather cryptic :-(
>
I retried with -v 9 and here's the output now (then end of it, slightly
anonymized) :
...
Selecting /home/...
Comparing ('home', '...') and None
Getting delta of (('home', '...') /home/... reg) and None
A home/...
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file
/tmp/duplicity-vBv6Yz-tempdir/mktemp-9L5Srx-3
AsyncScheduler: running task synchronously (asynchronicity disabled)
Removing still remembered temporary file
/tmp/duplicity-vBv6Yz-tempdir/mktemp-9L5Srx-3
Removing still remembered temporary file
/tmp/duplicity-vBv6Yz-tempdir/mkstemp-ItQRTN-1
Backend error detail: Traceback (most recent call last):
File "/usr/bin/duplicity", line 1388, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1381, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1351, in main
full_backup(col_stats)
File "/usr/bin/duplicity", line 500, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 399, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line
145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line
171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 398, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename,
vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 296, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/sshbackend.py",
line 179, in put
raise BackendException("sftp put of %s (as %s) failed: %s" %
(source_path.name,remote_filename,e))
BackendException: sftp put of /tmp/duplicity-vBv6Yz-tempdir/mktemp-9L5Srx-3 (as
duplicity-full.20120207T003609Z.vol291.difftar.gpg) failed: Failure
BackendException: sftp put of /tmp/duplicity-vBv6Yz-tempdir/mktemp-9L5Srx-3 (as
duplicity-full.20120207T003609Z.vol291.difftar.gpg) failed: Failure
Hope this helps.
Best regards,
--
Olivier BERGER
(OpenPGP: 4096R/7C5BB6A5)
http://www.olivierberger.com/weblog/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]