Skip to content

Failed backup: MemoryError? #7

Description

@ph1l

Backup Failure Happened. no archive saved in s3, details:

Date: Wed,  1 Nov 2017 00:01:55 +0000 (UTC)                                                                                    
From: Cron Daemon <root@REDACTED>                                                                                          
To: REDACTED                                                                                                           
Subject: Cron <root@REDACTED> . /etc/server-backup-s3.source && /usr/local/bin/server-backup-s3 --encrypt --recipient              
        CE4A0BF21E1C237DD8C400FAA39487B22697143F --bucket REDACTED --region us-west-1                             


tar: ./dev: directory is on a different filesystem; not dumped                                                                 
tar: ./proc: directory is on a different filesystem; not dumped                                                                
tar: ./run: directory is on a different filesystem; not dumped                                                                 
tar: ./sys: directory is on a different filesystem; not dumped                                                                 
Error: Unexpected exception in upload:                                                                                         
Traceback (most recent call last):                                                                                             
  File "build/bdist.linux-x86_64/egg/ServerBackupS3/__main__.py", line 216, in main                                            
    backup.get_pipe()                                                                                                          
  File "build/bdist.linux-x86_64/egg/ServerBackupS3/S3Upload.py", line 75, in multipart_from_process                           
    output = process.stdout.read(CHUNK_SIZE)                                                                                   
MemoryError                                                                                                                    
failing backup...                                                                                                              
Error: backup failed...                                                                                                        
Traceback (most recent call last):                                                                                             
  File "/usr/local/bin/server-backup-s3", line 9, in <module>                                                                  
    load_entry_point('ServerBackupS3==1.0.0', 'console_scripts', 'server-backup-s3')()                                         
  File "build/bdist.linux-x86_64/egg/ServerBackupS3/__main__.py", line 227, in main                                            
  File "build/bdist.linux-x86_64/egg/ServerBackupS3/BackupFilesystem.py", line 207, in failure                                 
  File "/usr/lib/python2.7/subprocess.py", line 791, in communicate                                                            
    stdout = _eintr_retry_call(self.stdout.read)                                                                               
  File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call                                                      
    return func(*args)                                                                                                         
ValueError: I/O operation on closed file                                                                                       
gpg: [stdout]: write error: Broken pipe                                                                                        
gpg: DBG: deflate: iobuf_write failed                                                                                          
gpg: build_packet failed: file write error                                                                                     
gpg: [stdout]: write error: Broken pipe                                                                                        
gpg: iobuf_flush failed on close: file write error                                                                             
gpg: [stdin]: encryption failed: file write error                                                                              

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions