← Back to team overview

duplicity-team team mailing list archive

[Question #270812]: Overflow error signed integer is greater than maximum

 

New question #270812 on Duplicity:
https://answers.launchpad.net/duplicity/+question/270812

I have a duply install on centos and I'm having this error:

[root@s1 ~]# /usr/bin/duply vesta_s3 full_purge --force 2>&1 >> /var/log/duply_ispconfig.log
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1466, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1459, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1429, in main
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 534, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 395, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/usr/lib64/python2.6/site-packages/duplicity/gpg.py", line 331, in GPGWriteFile
    data = block_iter.next().data
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 511, in next
    result = self.process(self.input_iter.next())
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 190, in get_delta_iter
    for new_path, sig_path in collated:
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 285, in collate2iters
    for relem1 in riter1:
  File "/usr/lib64/python2.6/site-packages/duplicity/selection.py", line 175, in Iterate
    subpath, val = diryield_stack[-1].next()
  File "/usr/lib64/python2.6/site-packages/duplicity/selection.py", line 144, in diryield
    error_handler, Path.append, (path, filename))
  File "/usr/lib64/python2.6/site-packages/duplicity/robust.py", line 37, in check_common_error
    return function(*args)
  File "/usr/lib64/python2.6/site-packages/duplicity/path.py", line 517, in append
    return self.__class__(self.base, self.index + (ext,))
  File "/usr/lib64/python2.6/site-packages/duplicity/path.py", line 497, in __init__
    self.setdata()
  File "/usr/lib64/python2.6/site-packages/duplicity/path.py", line 511, in setdata
    self.set_from_stat()
  File "/usr/lib64/python2.6/site-packages/duplicity/path.py", line 96, in set_from_stat
    self.devnums = (os.major(self.stat.st_rdev),
OverflowError: signed integer is greater than maximum

the start of verbose output is:

Start duply v1.6.0, time is 2015-08-26 15:41:20.
Using profile '/etc/duply/vesta_s3'.
Using installed duplicity version 0.6.22, python 2.6.6, gpg 2.0.14 (Home: ~/.gnupg), awk 'GNU Awk 3.1.7', bash '4.1.2(1)-release (x86_64-redhat-linux-gnu)'.
Autoset found secret key of first GPG_KEY entry 'xxxx' for signing.
Test - Encrypt to xxxx,cccc,zzzz & Sign with xxxx (OK)
Test - Decrypt (OK)
Test - Compare (OK)
Cleanup - Delete '/tmp/duply.21498.1440614481_*'(OK)

--- Start running command PRE at 15:41:21.247 ---
Running '/etc/duply/vesta_s3/pre' - OK
Output: Comenzando el respaldo de las bases de datos
Respaldo base de datos admin_default
Comprimiendo (gzip) base de datos --- admin_default
Respaldo base de datos cdesiec_db
Comprimiendo (gzip) base de datos --- cdesiec_db
Respaldo base de datos cdesieh_db
Comprimiendo (gzip) base de datos --- cdesieh_db
Respaldo base de datos mysql
Comprimiendo (gzip) base de datos --- mysql
Respaldo base de datos roundcube
Comprimiendo (gzip) base de datos --- roundcube
Puedes revisar el log en /root/SK-BackupLog.txt y el errorlog en /tmp/skdump_errorlog
Se respaldaron 5 Bases de datos
--- Finished state OK at 15:41:21.475 - Runtime 00:00:00.228 ---

--- Start running command BKP at 15:41:21.484 ---
Using archive dir: /root/.cache/duplicity/duply_vesta_s3
Using backup name: duply_vesta_s3
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.dpbxbackend Failed: No module named dropbox
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Reading globbing filelist /etc/duply/vesta_s3/exclude
Main action: inc
================================================================================
duplicity 0.6.22 (August 22, 2013)
Args: /usr/bin/duplicity --name duply_vesta_s3 --encrypt-key xxxx --encrypt-key cccc --encrypt-key zzzz --sign-key xxxx --verbosity 9 --exclude-if-present .duplicity-ignore --full-if-older-than 1M --volsize 250 --exclude-globbing-filelist /etc/duply/vesta_s3/exclude / s3://s3-us-west-2.amazonaws.com/my-bkp/web.com
Linux s1.web.com 2.6.32-042stab108.2 #1 SMP Tue May 12 18:07:50 MSK 2015 x86_64 x86_64
/usr/bin/python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
================================================================================
Using temporary directory /tmp/duplicity-W9krhi-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-W9krhi-tempdir/mkstemp-Lodpo8-1
Temp has 23312936960 available, backup will use approx 340787200.
Listing s3://s3-us-west-2.amazonaws.com/my-bkp/web.com
Local and Remote metadata are synchronized, no sync needed.
Listing s3://s3-us-west-2.amazonaws.com/my-bkp/web.com
0 files exist on backend
0 files exist in cache
Extracting backup chains from list of files: []
Last full backup date: none
Last full backup is too old, forcing full backup
Collection Status
-----------------
Connecting with backend: BotoBackend
Archive dir: /root/.cache/duplicity/duply_vesta_s3

Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Reuse configured PASSPHRASE as SIGN_PASSPHRASE
Using temporary directory /root/.cache/duplicity/duply_vesta_s3/duplicity-dWTobW-tempdir
Registering (mktemp) temporary file /root/.cache/duplicity/duply_vesta_s3/duplicity-dWTobW-tempdir/mktemp-wyn7JN-1
Using temporary directory /root/.cache/duplicity/duply_vesta_s3/duplicity-wZXmEj-tempdir
Registering (mktemp) temporary file /root/.cache/duplicity/duply_vesta_s3/duplicity-wZXmEj-tempdir/mktemp-h0yn0b-1
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file /tmp/duplicity-W9krhi-tempdir/mktemp-WdnRMG-2
Selecting /
Comparing () and None
Getting delta of (() / dir) and None
A .
Selecting /etc
Comparing ('etc',) and None
Getting delta of (('etc',) /etc dir) and None
A etc
Selecting /etc/.pwd.lock
Comparing ('etc', '.pwd.lock') and None
Getting delta of (('etc', '.pwd.lock') /etc/.pwd.lock reg) and None
A etc/.pwd.lock
Selecting /etc/ConsoleKit
Comparing ('etc', 'ConsoleKit') and None
Getting delta of (('etc', 'ConsoleKit') /etc/ConsoleKit dir) and None
A etc/ConsoleKit
Selecting /etc/ConsoleKit/run-seat.d
Comparing ('etc', 'ConsoleKit', 'run-seat.d') and None
Getting delta of (('etc', 'ConsoleKit', 'run-seat.d') /etc/ConsoleKit/run-seat.d dir) and None
A etc/ConsoleKit/run-seat.d
Selecting /etc/ConsoleKit/run-session.d...
...

any idea?

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.