'Full' backup set displayed by 'collection-status' only reports 1287 of 3192 volumes
Goal: Use Duplicity to backup user directory on OS X laptop to at-home file server, using SSH.
There are two machines in play:
* Client (MElch2), a laptop running OS X 10.9.1. I used Homebrew to install Duplicity 0.6.22. Logged-in user is 'melissa', but I 'su'ed to user 'jonathan'.
* Server (JElch4 at 192.168.10.100), a server running Ubuntu Linux with an SSH server. SSH user is also 'jonathan', who has write access to the target directory.
Steps to reproduce:
1. Begin from a known state (empty cache and empty backup location)
bash-3.2$ sudo rm -rf ~/.cache/duplicity/
2. Set max open files
bash-3.2$ ulimit -n 1024
3. Start backup
bash-3.2$ sudo duplicity --no-encryption --ssh-askpass --use-scp --progress --exclude /Users/
4. Show 'collection-status'
bash-3.2$ sudo duplicity collection-status --no-encryption --ssh-askpass --use-scp ssh://jonathan@
5. Attempt to list files contained in backup
bash-3.2$ sudo duplicity list-current-files --no-encryption --ssh-askpass --use-scp ssh://jonathan@
Expected results (corresponds with step numbers above):
1. Cache deleted
2. Limit set
3. Backup succeeds
4. Collection status shows actual number of volumes (in my case, 3192)
5. All backed up files are listed
Actual results (corresponds with step numbers above):
1. Cache deleted
2. Limit set
3. Backup succeeds
4. Collection status shows only 1287 volumes
5. Python exception
Actual output:
@@@@@@@
bash-3.2$ sudo rm -rf ~/.cache/duplicity/
Password:
@@@@@@@
bash-3.2$ sudo duplicity --no-encryption --ssh-askpass --use-scp --progress --exclude /Users/
Password:
Import of duplicity.
Max open files of 256 is too low, should be >= 1024.
Use 'ulimit -n 1024' or higher to correct.
bash-3.2$ ulimit -n 1024
@@@@@@@
bash-3.2$ sudo duplicity --no-encryption --ssh-askpass --use-scp --progress --exclude /Users/
Import of duplicity.
Password for 'jonathan@
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
0.0KB 00:00:03 [0.0KB/s] [> ] 0% ETA 3sec
0.0KB 00:00:06 [0.0KB/s] [> ] 0% ETA 6sec
0.0KB 00:00:09 [0.0B/s] [> ] 0% ETA Stalled!
0.0KB 00:00:12 [0.0B/s] [> ] 0% ETA Stalled!
0.0KB 00:00:15 [0.0B/s] [> ] 0% ETA Stalled!
<snip>
0.0KB 08:24:40 [0.0B/s] [> ] 0% ETA Stalled!
0.0KB 08:24:43 [0.0B/s] [> ] 0% ETA Stalled!
0.0KB 08:24:46 [0.0B/s] [> ] 0% ETA Stalled!
0.0KB 08:24:49 [0.0KB/s] [======
--------------[ Backup Statistics ]--------------
StartTime 1388149879.16 (Fri Dec 27 08:11:19 2013)
EndTime 1388169744.38 (Fri Dec 27 13:42:24 2013)
ElapsedTime 19865.23 (5 hours 31 minutes 5.23 seconds)
SourceFiles 74132
SourceFileSize 86413622259 (80.5 GB)
NewFiles 74132
NewFileSize 86413622259 (80.5 GB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 74132
RawDeltaSize 86410198462 (80.5 GB)
TotalDestinatio
Errors 0
-------
@@@@@@@
bash-3.2$ sudo duplicity collection-status --no-encryption --ssh-askpass --use-scp ssh://jonathan@
Password:
Import of duplicity.
Password for 'jonathan@
Synchronizing remote metadata to local cache...
Deleting local /Users/
Last full backup date: Fri Dec 27 08:10:25 2013
Collection Status
-----------------
Connecting with backend: SSHParamikoBackend
Archive dir: /Users/
Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------
Chain start time: Fri Dec 27 08:10:25 2013
Chain end time: Fri Dec 27 08:10:25 2013
Number of contained backup sets: 1
Total number of contained volumes: 1287
Type of backup set: Time: Num volumes:
-------
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
bash-3.2$ sudo duplicity -v9 collection-status --no-encryption --ssh-askpass --use-scp ssh://jonathan@
Using archive dir: /Users/
Using backup name: 2ec9c2c039f0ae9
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Password for 'jonathan@
Main action: collection-status
=======
duplicity 0.6.22 (August 22, 2013)
Args: /usr/local/
Darwin MElch2.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-
/usr/bin/python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
=======
Local and Remote metadata are synchronized, no sync needed.
1288 files exist on backend
2 files exist in cache
Extracting backup chains from list of files: ['duplicity-
<snip>
'duplicity-
File duplicity-
File duplicity-
File duplicity-
File duplicity-
<snip>
File duplicity-
File duplicity-
File duplicity-
File duplicity-
Found backup chain [Fri Dec 27 08:10:25 2013]-[Fri Dec 27 08:10:25 2013]
Last full backup date: Fri Dec 27 08:10:25 2013
Collection Status
-----------------
Connecting with backend: SSHParamikoBackend
Archive dir: /Users/
Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------
Chain start time: Fri Dec 27 08:10:25 2013
Chain end time: Fri Dec 27 08:10:25 2013
Number of contained backup sets: 1
Total number of contained volumes: 1287
Type of backup set: Time: Num volumes:
-------
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Collection Status
-----------------
Connecting with backend: SSHParamikoBackend
Archive dir: /Users/
Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------
Chain start time: Fri Dec 27 08:10:25 2013
Chain end time: Fri Dec 27 08:10:25 2013
Number of contained backup sets: 1
Total number of contained volumes: 1287
Type of backup set: Time: Num volumes:
-------
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Using temporary directory /tmp/duplicity-
@@@@@@@
bash-3.2$ sudo duplicity list-current-files --no-encryption --ssh-askpass --use-scp ssh://jonathan@
Import of duplicity.
Password for 'jonathan@
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Fri Dec 27 08:10:25 2013
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
list_
File "/usr/local/
sig_chain = col_stats.
File "/usr/local/
raise CollectionsErro
CollectionsError: No signature chains found
bash-3.2$ sudo duplicity -v9 list-current-files --no-encryption --ssh-askpass --use-scp ssh://jonathan@
Using archive dir: /Users/
Using backup name: 2ec9c2c039f0ae9
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Password for 'jonathan@
Main action: list-current
=======
duplicity 0.6.22 (August 22, 2013)
Args: /usr/local/
Darwin MElch2.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-
/usr/bin/python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
=======
Local and Remote metadata are synchronized, no sync needed.
1288 files exist on backend
2 files exist in cache
Extracting backup chains from list of files: ['duplicity-
<snip>
'duplicity-
File duplicity-
File duplicity-
File duplicity-
File duplicity-
<snip>
File duplicity-
File duplicity-
File duplicity-
File duplicity-
Found backup chain [Fri Dec 27 08:10:25 2013]-[Fri Dec 27 08:10:25 2013]
Last full backup date: Fri Dec 27 08:10:25 2013
Collection Status
-----------------
Connecting with backend: SSHParamikoBackend
Archive dir: /Users/
Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------
Chain start time: Fri Dec 27 08:10:25 2013
Chain end time: Fri Dec 27 08:10:25 2013
Number of contained backup sets: 1
Total number of contained volumes: 1287
Type of backup set: Time: Num volumes:
-------
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Using temporary directory /tmp/duplicity-
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
list_
File "/usr/local/
sig_chain = col_stats.
File "/usr/local/
raise CollectionsErro
CollectionsError: No signature chains found
bash-3.2$
@@@@@@@
jonathan@
duplicity-
duplicity-
duplicity-
duplicity-
<snip>
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
<snip>
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
duplicity-
jonathan@
3192
jonathan@
Volume 1:
Volume 2:
Volume 3:
<snip>
Volume 3189:
Volume 3190:
Volume 3191:
Volume 3192:
@@@@@@@
Anomalies:
* I'm aware that I don't have a backend module named 'dropbox'. I assume this is an artifact of using Homebrew to install Duplicity.
* Assume that the 'list-current-
* I don't think that the ulimit is in play, but it may be. I tried a value much larger than 1024, but it didn't seem to help. However, I didn't attempt a reboot.
Other notable data points
* 'collection-status' lists 1287 volumes
* The -v9 output for 'list-current-
* The server (JElch4) actually contains 3192 volumes
* I tried making this same backup to target URL 'file:/
* I tried making a smaller full backup to target URL 'ssh://
This issue is deterministically reproducible.
Can anyone help shed some light? Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Duplicity Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- edso
- Solved:
- Last query:
- Last reply: