I get a hard-to-interpret error trying out backup-push:

n1 ~ $ sudo su postgres -c 'envdir /etc/wal-e.d/env wal-e backup-push 
/mnt/datastore/pgsql/data'
wal_e.operator.backup INFO     MSG: start upload postgres version metadata
        DETAIL: Uploading to 
s3://my-bucket/my-dir/basebackups_005/base_000000010000002B0000002B_00000032/extended_version.txt.
        STRUCTURED: time=2014-09-19T23:40:56.485503-00 pid=16585
wal_e.operator.backup INFO     MSG: postgres version metadata upload 
complete
        STRUCTURED: time=2014-09-19T23:40:56.547282-00 pid=16585
wal_e.operator.backup WARNING  MSG: blocking on sending WAL segments
        DETAIL: The backup was not completed successfully, but we have to 
wait anyway.  See README: TODO about pg_cancel_backup
        STRUCTURED: time=2014-09-19T23:40:56.549380-00 pid=16585
NOTICE:  pg_stop_backup complete, all required WAL segments have been 
archived
wal_e.main   CRITICAL MSG: An unprocessed exception has avoided all error 
handling
        DETAIL: Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/wal_e/cmd.py", line 
543, in main
            pool_size=args.pool_size)
          File 
"/usr/local/lib/python2.7/dist-packages/wal_e/operator/backup.py", line 
194, in database_backup
            **kwargs)
          File 
"/usr/local/lib/python2.7/dist-packages/wal_e/operator/backup.py", line 
410, in _upload_pg_cluster_dir
            for tpart in parts:
          File 
"/usr/local/lib/python2.7/dist-packages/wal_e/tar_partition.py", line 391, 
in _segmentation_guts
            if et_info.tarinfo.size > max_partition_size:
        AttributeError: 'NoneType' object has no attribute 'size'
        
        STRUCTURED: time=2014-09-19T23:40:59.666867-00 pid=16585


environment:

n1 ~ $ wal-e version
0.7.2
n1 ~ $ python --version
Python 2.7.3
n1 ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

Anyone have an idea what might be happening?

-- 
You received this message because you are subscribed to the Google Groups 
"wal-e" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to