Module: Backup

Defined in:
lib/backup.rb,
lib/backup/cli.rb,
lib/backup/model.rb,
lib/backup/binder.rb,
lib/backup/config.rb,
lib/backup/errors.rb,
lib/backup/logger.rb,
lib/backup/archive.rb,
lib/backup/cleaner.rb,
lib/backup/package.rb,
lib/backup/version.rb,
lib/backup/packager.rb,
lib/backup/pipeline.rb,
lib/backup/splitter.rb,
lib/backup/template.rb,
lib/backup/utilities.rb,
lib/backup/config/dsl.rb,
lib/backup/storage/s3.rb,
lib/backup/cloud_io/s3.rb,
lib/backup/storage/ftp.rb,
lib/backup/storage/scp.rb,
lib/backup/syncer/base.rb,
lib/backup/notifier/ses.rb,
lib/backup/storage/base.rb,
lib/backup/storage/sftp.rb,
lib/backup/cloud_io/base.rb,
lib/backup/database/base.rb,
lib/backup/database/riak.rb,
lib/backup/encryptor/gpg.rb,
lib/backup/logger/syslog.rb,
lib/backup/notifier/base.rb,
lib/backup/notifier/mail.rb,
lib/backup/storage/local.rb,
lib/backup/storage/rsync.rb,
lib/backup/config/helpers.rb,
lib/backup/database/mysql.rb,
lib/backup/database/redis.rb,
lib/backup/encryptor/base.rb,
lib/backup/logger/console.rb,
lib/backup/logger/logfile.rb,
lib/backup/notifier/prowl.rb,
lib/backup/notifier/slack.rb,
lib/backup/storage/cycler.rb,
lib/backup/storage/qi_niu.rb,
lib/backup/cloud_io/qi_niu.rb,
lib/backup/compressor/base.rb,
lib/backup/compressor/gzip.rb,
lib/backup/database/sqlite.rb,
lib/backup/notifier/nagios.rb,
lib/backup/notifier/zabbix.rb,
lib/backup/storage/dropbox.rb,
lib/backup/syncer/cloud/s3.rb,
lib/backup/compressor/bzip2.rb,
lib/backup/database/mongodb.rb,
lib/backup/notifier/command.rb,
lib/backup/notifier/datadog.rb,
lib/backup/notifier/hipchat.rb,
lib/backup/notifier/twitter.rb,
lib/backup/storage/ninefold.rb,
lib/backup/compressor/custom.rb,
lib/backup/database/openldap.rb,
lib/backup/notifier/campfire.rb,
lib/backup/notifier/flowdock.rb,
lib/backup/notifier/pushover.rb,
lib/backup/syncer/cloud/base.rb,
lib/backup/syncer/rsync/base.rb,
lib/backup/syncer/rsync/pull.rb,
lib/backup/syncer/rsync/push.rb,
lib/backup/encryptor/open_ssl.rb,
lib/backup/logger/fog_adapter.rb,
lib/backup/notifier/http_post.rb,
lib/backup/notifier/pagerduty.rb,
lib/backup/syncer/rsync/local.rb,
lib/backup/database/postgresql.rb,
lib/backup/storage/cloud_files.rb,
lib/backup/cloud_io/cloud_files.rb,
lib/backup/syncer/cloud/local_file.rb,
lib/backup/syncer/cloud/cloud_files.rb

Overview

Build the Backup Command Line Interface using Thor

Defined Under Namespace

Modules: Cleaner, CloudIO, Compressor, Config, Database, Encryptor, NestedExceptions, Notifier, Packager, Storage, Syncer, Utilities Classes: Archive, Binder, CLI, Error, FatalError, Logger, Model, Package, Pipeline, Splitter, Template

Constant Summary collapse

LIBRARY_PATH =

Backup’s internal paths

File.join(File.dirname(__FILE__), 'backup')
STORAGE_PATH =
File.join(LIBRARY_PATH, 'storage')
SYNCER_PATH =
File.join(LIBRARY_PATH, 'syncer')
DATABASE_PATH =
File.join(LIBRARY_PATH, 'database')
COMPRESSOR_PATH =
File.join(LIBRARY_PATH, 'compressor')
ENCRYPTOR_PATH =
File.join(LIBRARY_PATH, 'encryptor')
NOTIFIER_PATH =
File.join(LIBRARY_PATH, 'notifier')
TEMPLATE_PATH =
File.expand_path('../../templates', __FILE__)
VERSION =
'4.2.0'

Instance Method Summary collapse

Instance Method Details

#libObject

Require Backup base files



125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/backup.rb', line 125

%w{
  errors
  logger
  utilities
  archive
  binder
  cleaner
  model
  config
  cli
  package
  packager
  pipeline
  splitter
  template
  version
}.each {|lib| require File.join(LIBRARY_PATH, lib) }