Re-ran the incremental backup, but it fails with the same error while adding /var/log/lastlog, which is a sparse file with a reported size of 36Gb, but actually only 56k on disk. Can this be the cause?
---
(duplicity-venv) # ls -l /var/log/lastlog
-rw-rw-r-- 1 root utmp 367219431264 Aug 23 09:57 /var/log/lastlog
# du -k /var/log/lastlog
56 /var/log/lastlog
---
Selecting /var/log/lastlog
Comparing var/log/lastlog and var/log/lastlog
Getting delta of (var/log/lastlog reg) and (var/log/lastlog reg)
Releasing lockfile /root/.cache/duplicity/d485e8d753a7b2ad7aafce096f9fbb92/lockfile.lock
Removing still remembered temporary file /tmp/duplicity-0VnewC-tempdir/mktemp-MvQFNN-128
Removing still remembered temporary file /tmp/duplicity-0VnewC-tempdir/mkstemp-Lc2BZc-1
Traceback (most recent call last):
File "/opt/duplicity-venv/bin/duplicity", line 1546, in <module>
with_tempdir(main)
File "/opt/duplicity-venv/bin/duplicity", line 1540, in with_tempdir
fn()
File "/opt/duplicity-venv/bin/duplicity", line 1391, in main
do_backup(action)
File "/opt/duplicity-venv/bin/duplicity", line 1522, in do_backup
incremental_backup(sig_chain)
File "/opt/duplicity-venv/bin/duplicity", line 671, in incremental_backup
globals.backend)
File "/opt/duplicity-venv/bin/duplicity", line 434, in write_multivol
at_end = gpg.GzipWriteFile(tarblock_iter, tdp.name, globals.volsize)
File "/opt/duplicity-venv/lib/python2.7/site-packages/duplicity/gpg.py", line 401, in GzipWriteFile
new_block = block_iter.next()
File "/opt/duplicity-venv/lib/python2.7/site-packages/duplicity/diffdir.py", line 523, in next
result = self.process(self.input_iter.next())
File "/opt/duplicity-venv/lib/python2.7/site-packages/duplicity/diffdir.py", line 218, in get_delta_iter
(new_path, sig_path, sigTarFile))
File "/opt/duplicity-venv/lib/python2.7/site-packages/duplicity/robust.py", line 38, in check_common_error
return function(*args)
File "/opt/duplicity-venv/lib/python2.7/site-packages/duplicity/diffdir.py", line 139, in get_delta_path
delta_path.setfileobj(librsync.DeltaFile(old_sigfp, newfp))
File "/opt/duplicity-venv/lib/python2.7/site-packages/duplicity/librsync.py", line 154, in __init__
self.maker = _librsync.new_deltamaker(sig_string)
OverflowError: size does not fit in an int
Re-ran the incremental backup, but it fails with the same error while adding /var/log/lastlog, which is a sparse file with a reported size of 36Gb, but actually only 56k on disk. Can this be the cause?
---
(duplicity-venv) # ls -l /var/log/lastlog
-rw-rw-r-- 1 root utmp 367219431264 Aug 23 09:57 /var/log/lastlog
# du -k /var/log/lastlog
56 /var/log/lastlog
---
Selecting /var/log/lastlog cache/duplicity /d485e8d753a7b2 ad7aafce096f9fb b92/lockfile. lock 0VnewC- tempdir/ mktemp- MvQFNN- 128 0VnewC- tempdir/ mkstemp- Lc2BZc- 1 -venv/bin/ duplicity" , line 1546, in <module> tempdir( main) -venv/bin/ duplicity" , line 1540, in with_tempdir -venv/bin/ duplicity" , line 1391, in main backup( action) -venv/bin/ duplicity" , line 1522, in do_backup _backup( sig_chain) -venv/bin/ duplicity" , line 671, in incremental_backup backend) -venv/bin/ duplicity" , line 434, in write_multivol le(tarblock_ iter, tdp.name, globals.volsize) -venv/lib/ python2. 7/site- packages/ duplicity/ gpg.py" , line 401, in GzipWriteFile -venv/lib/ python2. 7/site- packages/ duplicity/ diffdir. py", line 523, in next self.input_ iter.next( )) -venv/lib/ python2. 7/site- packages/ duplicity/ diffdir. py", line 218, in get_delta_iter -venv/lib/ python2. 7/site- packages/ duplicity/ robust. py", line 38, in check_common_error -venv/lib/ python2. 7/site- packages/ duplicity/ diffdir. py", line 139, in get_delta_path path.setfileobj (librsync. DeltaFile( old_sigfp, newfp)) -venv/lib/ python2. 7/site- packages/ duplicity/ librsync. py", line 154, in __init__ new_deltamaker( sig_string)
Comparing var/log/lastlog and var/log/lastlog
Getting delta of (var/log/lastlog reg) and (var/log/lastlog reg)
Releasing lockfile /root/.
Removing still remembered temporary file /tmp/duplicity-
Removing still remembered temporary file /tmp/duplicity-
Traceback (most recent call last):
File "/opt/duplicity
with_
File "/opt/duplicity
fn()
File "/opt/duplicity
do_
File "/opt/duplicity
incremental
File "/opt/duplicity
globals.
File "/opt/duplicity
at_end = gpg.GzipWriteFi
File "/opt/duplicity
new_block = block_iter.next()
File "/opt/duplicity
result = self.process(
File "/opt/duplicity
(new_path, sig_path, sigTarFile))
File "/opt/duplicity
return function(*args)
File "/opt/duplicity
delta_
File "/opt/duplicity
self.maker = _librsync.
OverflowError: size does not fit in an int