S3 backups failing

Getting a broken pipe error on the automated (and manual) attempts to back up to S3.

ubuntu@mail01:~/mailinabox/management$ sudo ./backup.py
Attempt 1 failed. error: [Errno 32] Broken pipe
Attempt 2 failed. error: [Errno 32] Broken pipe
Attempt 3 failed. error: [Errno 32] Broken pipe
Attempt 4 failed. error: [Errno 32] Broken pipe
Giving up after 5 attempts. error: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "./backup.py", line 561, in <module>
    perform_backup(full_backup)
  File "./backup.py", line 279, in perform_backup
    get_env(env))
  File "/home/ubuntu/mailinabox/management/utils.py", line 123, in shell
    ret = getattr(subprocess, method)(cmd_args, **kwargs)
  File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/duplicity', 'full', '--verbosity', 'warning', '--no-print-statistics', '--archive-dir', '/home/user-data/backup/cache', '--exclude', '/home/user-data/backup', '--volsize', '250', '--gpg-options', '--cipher-algo=AES256', '/home/user-data', 's3://s3.us-east-2.amazonaws.com/backup-mail01-us175/mail-backup', '--allow-source-mismatch', '--ssh-options= -i /root/.ssh/id_rsa_miab', '--rsync-options= -e "/usr/bin/ssh -oStrictHostKeyChecking=no -oBatchMode=yes -p 22 -i /root/.ssh/id_rsa_miab"']' returned non-zero exit status 50.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.