Sha256: d95165ea1daf39cc055b7a07443597b1bd86dfbfd72b5f1d42ea80baaa166f93

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

#!/usr/bin/env ruby

# Disable verbose (when running from cron) to squash warnings output by rest_client (1.6.1) and also fog (0.4.0)
unless STDOUT.isatty
  $VERBOSE = nil
end

require 'rubygems'
require File.dirname(__FILE__) + '/../lib/ey_backup'
require File.dirname(__FILE__) + '/../lib/ey-flex'

begin
  EY::Backup.run(ARGV)
rescue => e
  puts e.message
  puts "******* Trace *******"
  puts e.inspect
  EY.notify_backup_error(e) unless STDOUT.isatty
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey_cloud_server-1.5.0 bin/eybackup
ey_cloud_server-1.4.61 bin/eybackup
ey_cloud_server-1.4.60 bin/eybackup