templates/cli/config in backup-3.8.0 vs templates/cli/config in backup-3.9.0
- old
+ new
@@ -14,22 +14,22 @@
# Utilities
#
# If you need to use a utility other than the one Backup detects,
# or a utility can not be found in your $PATH.
#
-# Backup::Utilities.configure do
+# Utilities.configure do
# tar '/usr/bin/gnutar'
# redis_cli '/opt/redis/redis-cli'
# end
##
# Logging
#
# Logging options may be set on the command line, but certain settings
# may only be configured here.
#
-# Backup::Logger.configure do
+# Logger.configure do
# console.quiet = true # Same as command line: --quiet
# logfile.max_bytes = 2_000_000 # Default: 500_000
# syslog.enabled = true # Same as command line: --syslog
# syslog.ident = 'my_app_backup' # Default: 'backup'
# end
@@ -43,18 +43,51 @@
# Component Defaults
#
# Set default options to be applied to components in all models.
# Options set within a model will override those set here.
#
-# Backup::Storage::S3.defaults do |s3|
+# Storage::S3.defaults do |s3|
# s3.access_key_id = "my_access_key_id"
# s3.secret_access_key = "my_secret_access_key"
# end
#
-# Backup::Encryptor::OpenSSL.defaults do |encryption|
-# encryption.password = "my_password"
-# encryption.base64 = true
-# encryption.salt = true
+# Notifier::Mail.defaults do |mail|
+# mail.from = 'sender@email.com'
+# mail.to = 'receiver@email.com'
+# mail.address = 'smtp.gmail.com'
+# mail.port = 587
+# mail.domain = 'your.host.name'
+# mail.user_name = 'sender@email.com'
+# mail.password = 'my_password'
+# mail.authentication = 'plain'
+# mail.encryption = :starttls
+# end
+
+##
+# Preconfigured Models
+#
+# Create custom models with preconfigured components.
+# Components added within the model definition will
+# +add to+ the preconfigured components.
+#
+# preconfigure 'MyModel' do
+# archive :user_pictures do |archive|
+# archive.add '~/pictures'
+# end
+#
+# notify_by Mail do |mail|
+# mail.to = 'admin@email.com'
+# end
+# end
+#
+# MyModel.new(:john_smith, 'John Smith Backup') do
+# archive :user_music do |archive|
+# archive.add '~/music'
+# end
+#
+# notify_by Mail do |mail|
+# mail.to = 'john.smith@email.com'
+# end
# end
# * * * * * * * * * * * * * * * * * * * *
# Do Not Edit Below Here.