Sha256: 0a1e5bc62db27829051f54fb8431bd2529b2c3e99c9dd9f71351a28037753726
Contents?: true
Size: 457 Bytes
Versions: 5
Compression:
Stored size: 457 Bytes
Contents
module BackupJenkins class CLI class << self def run config = BackupJenkins::Config.new backup = BackupJenkins::Backup.new(config) aws = BackupJenkins::AWS.new(config) backup.do_backup full_filename = backup.tarball_filename filename = File.basename(full_filename) aws.upload_file(filename, File.open(full_filename)) aws.remove_old_files # Clean up! end end end end
Version data entries
5 entries across 5 versions & 1 rubygems