softlayer / softlayer-object-storage-backup

Other
11 stars 3 forks source link

Key error exceptions raised during backups #18

Closed briancline closed 8 years ago

briancline commented 11 years ago

I'm running this each night at 4am to capture a backup of my server. It worked the first night or two, but each night now I receive the below error in my email:

Traceback (most recent call last):
  File "/home/brian/_/bin/slbackup.py", line 800, in <module>
    code = upload_directory(app)
  File "/home/brian/_/bin/slbackup.py", line 671, in upload_directory
    prefix=app.prefix)
  File "/home/brian/_/bin/slbackup.py", line 633, in delta_force_one
    work.append(('stat', (st, remote_objects[st],),))
  File "<string>", line 2, in __getitem__
  File "/usr/lib/python2.6/multiprocessing/managers.py", line 740, in _callmethod
    raise convert_to_error(kind, result)
KeyError: '20120905/org.briancline.static-20120905.tgz'
Traceback (most recent call last):
  File "/home/brian/_/bin/slbackup.py", line 800, in <module>
    code = upload_directory(app)
  File "/home/brian/_/bin/slbackup.py", line 671, in upload_directory
    prefix=app.prefix)
  File "/home/brian/_/bin/slbackup.py", line 633, in delta_force_one
    work.append(('stat', (st, remote_objects[st],),))
  File "<string>", line 2, in __getitem__
  File "/usr/lib/python2.6/multiprocessing/managers.py", line 740, in _callmethod
    raise convert_to_error(kind, result)
KeyError: 'lab/php/php-5.2.6/ext/pcntl/config.m4'

Machine specs (don't judge! I'm backing up to migrate off of this 7 year-old dinosaur): OS: CentOS 5.5 with Python v2.6.8 (via the python26 package), with a virtualenv under $HOME/_ Hardware: Single-core Celeron 2.4GHz, 1GB RAM, 80GB drive with 20GiB free

CrackerJackMack commented 10 years ago

You give this a run yet ? Was it able to fix the issue?