duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Any suggestions for "Cleanup of temporary directory - t


From: address@hidden
Subject: [Duplicity-talk] Any suggestions for "Cleanup of temporary directory - this is probably a bug" error?
Date: Thu, 26 Jan 2012 09:04:14 -0500

Hello - I'm new to Duplicity and I'm likely making a user error, however I've 
been unable to find a path around this issue.  I've built Duplicity 0.6.17 and 
continue to receive the error message below when I attempt my first full backup 
using the local file backend.  Perhaps the real issue is that my backup config 
is invalid and is not generating a tmp file, but is exposing a minor bug.  At 
any rate, the same backup with "--dry-run" does not produce the same error.  
Details below.

Any suggestions?  Thanks!

-Chris


debussy> duplicity --verbosity debug /volume1/sirhc file:///volume2/backup/test
Using archive dir: /root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc
Using backup name: 353fa2a1d4f631ce7e04f457ad0ca9bc
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.botobackend Failed: No module named py
Import of duplicity.backends.giobackend Failed: No module named gio
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Main action: inc
================================================================================
duplicity 0.6.17 (November 25, 2011)
Args: /opt/bin/duplicity --verbosity debug /volume1/sirhc 
file:///volume2/backup/test
Linux debussy 2.6.32.12 #1955 SMP Sat Nov 26 14:52:27 CST 2011 x86_64 
/opt/bin/python 2.6.7 (r267:88850, Jun  8 2011, 23:10:54) 
[GCC 4.2.1]
================================================================================
Using temporary directory /tmp/duplicity-Q73Bx6-tempdir
Registering (mkstemp) temporary file 
/tmp/duplicity-Q73Bx6-tempdir/mkstemp-qrYQ7V-1
Temp has 520413184 available, backup will use approx 34078720.
Local and Remote metadata are synchronized, no sync needed.
0 files exist on backend
0 files exist in cache
Extracting backup chains from list of files: []
Last full backup date: none
Collection Status
-----------------
Connecting with backend: LocalBackend
Archive dir: /root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc

Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
PASSPHRASE variable not set, asking user.
GnuPG passphrase: 
PASSPHRASE variable not set, asking user.
Retype passphrase to confirm: 
No signatures found, switching to full backup.
Using temporary directory 
/root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc/duplicity-sA6J8t-tempdir
Registering (mktemp) temporary file 
/root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc/duplicity-sA6J8t-tempdir/mktemp-mj6VZN-1
Using temporary directory 
/root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc/duplicity-2o67Sb-tempdir
Registering (mktemp) temporary file 
/root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc/duplicity-2o67Sb-tempdir/mktemp-QkpxIF-1
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file 
/tmp/duplicity-Q73Bx6-tempdir/mktemp-bWLIa5-2
Selecting /volume1/sirhc
GPG process 16825 terminated before wait()
Comparing () and None
Getting delta of (() /volume1/sirhc dir) and None
A .
Removing still remembered temporary file 
/tmp/duplicity-Q73Bx6-tempdir/mktemp-bWLIa5-2
Cleanup of temporary file /tmp/duplicity-Q73Bx6-tempdir/mktemp-bWLIa5-2 failed
Removing still remembered temporary file 
/tmp/duplicity-Q73Bx6-tempdir/mkstemp-qrYQ7V-1
Cleanup of temporary file /tmp/duplicity-Q73Bx6-tempdir/mkstemp-qrYQ7V-1 failed
Cleanup of temporary directory /tmp/duplicity-Q73Bx6-tempdir failed - this is 
probably a bug.
Traceback (most recent call last):
  File "/opt/bin/duplicity", line 1377, in <module>
    with_tempdir(main)
  File "/opt/bin/duplicity", line 1370, in with_tempdir
    fn()
  File "/opt/bin/duplicity", line 1345, in main
    full_backup(col_stats)
  File "/opt/bin/duplicity", line 500, in full_backup
    globals.backend)
  File "/opt/bin/duplicity", line 378, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/opt/lib/python2.6/site-packages/duplicity/gpg.py", line 316, in 
GPGWriteFile
    bytes_to_go = data_size - get_current_size()
  File "/opt/lib/python2.6/site-packages/duplicity/gpg.py", line 308, in 
get_current_size
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: 
'/tmp/duplicity-Q73Bx6-tempdir/mktemp-bWLIa5-2'

Removing still remembered temporary file 
/root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc/duplicity-sA6J8t-tempdir/mktemp-mj6VZN-1
Removing still remembered temporary file 
/root/.cache/duplicity/353fa2a1d4f631ce7e04f457ad0ca9bc/duplicity-2o67Sb-tempdir/mktemp-QkpxIF-1
debussy> duplicity --version
duplicity 0.6.17
debussy> ls -la /tmp
total 160
drwxrwxrwt  6 root  root    640 Jan 26 08:50 .
drwxr-xr-x 25 root  root   4096 Jan 25 23:05 ..
(snip)
debussy> 
debussy> uname -a
Linux debussy 2.6.32.12 #1955 SMP Sat Nov 26 14:52:27 CST 2011 x86_64 GNU/Linux
debussy> whoami
root
debussy> 
debussy> ll /volume1/sirhc
total 32
drwxrwxrwx  4 root  root  4096 Jan 26 08:11 .
drwxr-xr-x 12 root  root  4096 Jan 25 23:05 ..
-rwxrwxrwx  1 sirhc users 6148 Jan 25 16:54 .DS_Store
-rwxrwxrwx  1 sirhc users  250 Jan 24 23:29 .apdisk
drwx------  2 root  users 4096 Jan 26 08:02 @eaDir
-rw-r--r--  1 sirhc users    7 Jan 26 07:35 hello
drwxrwsrwx  4 sirhc users 4096 Jan 26 08:03 tmp
debussy> 
debussy> duplicity --dry-run /volume1/sirhc file:///volume2/backup/test         
         
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
GnuPG passphrase: 
Retype passphrase to confirm: 
No signatures found, switching to full backup.
--------------[ Backup Statistics ]--------------
StartTime 1327586425.46 (Thu Jan 26 09:00:25 2012)
EndTime 1327586426.91 (Thu Jan 26 09:00:26 2012)
ElapsedTime 1.44 (1.44 seconds)
SourceFiles 1601
SourceFileSize 7286918 (6.95 MB)
NewFiles 845
NewFileSize 7286918 (6.95 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 845
RawDeltaSize 0 (0 bytes)
TotalDestinationSizeChange 0 (0 bytes)
Errors 0
-------------------------------------------------

debussy> 





reply via email to

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