Class Backup::Syncer::Cloud
In: lib/backup/syncer/cloud.rb
Parent: Base

Methods

new   perform!  

Classes and Modules

Class Backup::Syncer::Cloud::LocalFile
Class Backup::Syncer::Cloud::SyncContext

Constants

MUTEX = Mutex.new   Create a Mutex to synchronize certain parts of the code in order to prevent race conditions or broken STDOUT.

Attributes

concurrency_level  [RW]  Concurrency level - the number of threads or processors to use. Defaults to 2.
concurrency_type  [RW]  Concurrency setting - defaults to false, but can be set to:
  • :threads
  • :processes

Public Class methods

Instantiates a new Cloud Syncer object and sets the default configuration specified in the Backup::Configuration::Syncer::S3. Then it sets the object defaults if particular properties weren‘t set. Finally it‘ll evaluate the users configuration file and overwrite anything that‘s been defined.

Public Instance methods

Performs the Sync operation

[Validate]