title: Can't upload files to Google Cloud Storage bucket
body: <p>I have the following script which tries to upload backup files from my instance <code>vm</code> to the bucket.</p>
  
  <p>When  executing the script, it only uploads the files of smaller size up to 30 GB in size, however it does not load the files that are >= 80 GB to the bucket.</p>
  
  <pre><code>python 2&gt;/dev/null - &lt;&lt;EOF
  import os
  import socket
  import logging
  from datetime import datetime
  from google.cloud import storage
  storage_client = storage.Client()
  today = datetime.today()
  current_hour = today.strftime('%Y/%m/%d/%H')
  hostname = socket.gethostname()
  bucket = storage_client.get_bucket("fsa_backup")
  for subdir, dirs, files in os.walk('/hanabackup/log/DB_FRD/'):
    for file in files:
        backupfilename = os.path.join(subdir, file)
        if 'log_backup' in backupfilename:
            only_filename = backupfilename.split('/')[-1]
            backup_file = hostname + '/log/' + only_filename
            blob = bucket.blob(backup_file)
        blob.upload_from_filename(filename=backupfilename)
  for subdir, dirs, files in os.walk('/hanabackup/data/DB_FRD/'):
    for file in files:
        backupfilename = os.path.join(subdir, file)
        if 'COMPLETE_DATA_BACKUP' in backupfilename:
              only_filename = backupfilename.split('/')[-1]
              backup_file = hostname + '/data/' + only_filename
              blob = bucket.blob(backup_file)
        try:
              blob.upload_from_filename(filename=backupfilename)
        except Exception as e: 
              logging.fatal(e, exc_info=True)            
  EOF
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/h9kDo.png" rel="nofollow noreferrer">files backup</a>
  <a href="https://i.stack.imgur.com/kGdEp.png" rel="nofollow noreferrer">bucket</a></p>