code: def _get_db():
      
      with cd(env.remote_path):
          file_path = '/tmp/' + _sql_paths('remote', str(base64.urlsafe_b64encode(uuid.uuid4().bytes)).replace('=', ''))
          run(env.python + ' manage.py dump_database | gzip > ' + file_path)
          local_file_path = './backups/' + _sql_paths('remote', datetime.now())
      get(file_path, local_file_path)
      run('rm ' + file_path)
      return local_file_path
docs: Get database from server