Class: Backup::Adapters::MongoDB
- Defined in:
- lib/backup/adapters/mongo_db.rb
Instance Attribute Summary collapse
-
#additional_options ⇒ Object
Returns the value of attribute additional_options.
-
#backup_method ⇒ Object
Returns the value of attribute backup_method.
-
#collections ⇒ Object
Returns the value of attribute collections.
-
#database ⇒ Object
Returns the value of attribute database.
-
#host ⇒ Object
Returns the value of attribute host.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#user ⇒ Object
Returns the value of attribute user.
Attributes inherited from Base
#compressed_file, #encrypt_with_gpg_public_key, #encrypt_with_password, #encrypted_file, #final_file, #keep_backups, #options, #performed_file, #procedure, #timestamp, #tmp_path, #trigger
Method Summary
Methods inherited from Base
#create_tmp_folder, #encrypt, #handle_after_backup, #handle_before_backup, #initialize, #notify, #record, #remove_tmp_files, #skip_backup, #store, #system_messages
Methods included from CommandHelper
Constructor Details
This class inherits a constructor from Backup::Adapters::Base
Instance Attribute Details
#additional_options ⇒ Object
Returns the value of attribute additional_options.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def @additional_options end |
#backup_method ⇒ Object
Returns the value of attribute backup_method.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def backup_method @backup_method end |
#collections ⇒ Object
Returns the value of attribute collections.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def collections @collections end |
#database ⇒ Object
Returns the value of attribute database.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def database @database end |
#host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def host @host end |
#password ⇒ Object
Returns the value of attribute password.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def port @port end |
#user ⇒ Object
Returns the value of attribute user.
6 7 8 |
# File 'lib/backup/adapters/mongo_db.rb', line 6 def user @user end |