-
Notifications
You must be signed in to change notification settings - Fork 0
Release Notes
All deprecations are made in such a way that your currently configured backups will still function.
However, the use of deprecated options will cause your backup jobs to complete "with Warnings" until
your configuration files are updated. You can check your current configuration using backup check.
See the The Command Line Utility page for details.
- Bug fix for the Mail Notifier when using the
:eximdelivery method.
- Installing or updating Backup with
gem install backupwill now install all required gem dependencies. Thebackup dependenciescommand has been removed. - Using
gem cleanupwill no longer silently remove Backup's gem dependencies. - Each release of Backup now specifies exact versions of each of it's gem dependencies. Installing an updated version of a gem Backup uses will no longer affect Backup.
- Adds an option to the PostgreSQL Database to dump all databases.
- The S3 Storage may now be configured to use Server-Side Encryption.
- The S3 Storage may now be configured to use Reduced Redundancy Storage.
- The S3 Storage now uses Amazon's Multipart Upload for files larger than 5 MiB. All failed requests will be retried 10 times, pausing 30 seconds before each attempt. These default values may be adjusted if desired.
- The S3 Storage now includes a MD5 checksum which AWS uses to verify the integrity of the uploaded data.
- The Dropbox Storage will now retry failed requests to complete the chunked upload.
- Update Dropbox Storage to retry chunk upload on
Timeout::Errorunder ruby-1.8.7.
- Bug fix for the Dropbox Storage when running ruby-1.8.7
- All Database dumps are now stored within the final backup package directly under the
databases/folder.
This changes the structure of your final backup package. See the Databases page for details. - Adds a
database_idto all Databases, used to uniquely identify their dump files within the final backup package.
This will be required for certain configurations. See the Databases page for details. - Adds an
oplogoption to the MongoDB Database. - Riak Database backups may now be run as a user with
sudoprivileges. - Adds a
use_sudooption to Archives to run thetarcommand usingsudo. - Adds a
backup checkcommand to the Command Line Utility. - The Dropbox Storage now uses Dropbox's Chunked_Uploader. All failed chunks will be retried 10 times, pausing 30 seconds before each attempt. These default values may be adjusted if desired.
-
Riak Database
- The
nameandgroupsettings are no longer used.
- The
-
All Databases
All Databases had settings (which ended in
_utility) that allowed you to configure the path to the system utilities each database used, such asmysqldumporredis-cli. If Backup can not find a utility in your$PATHusing awhichcommand, the path to the utility may be set using Utilities.
-
New
database_idRequirementIf you have more than one Database of the same type (i.e. MySQL, PostgreSQL, etc) defined on a single Backup model, setting a
database_idfor each instance will be required. If this is not done, Backup will auto-generate one for you and log a warning.
Usingbackup checkwill detect this.
- Adds a
rootpath option to Archives to allow creating tar archives with paths relative to the specifiedroot, as opposed to the root of the filesystem. - The Logger may be configured to ignore certain warnings if needed.
-
backup performwill now exit with a non-zero status code if any warnings or errors occurred while performing any model/trigger. These exit codes are listed on the Performing Backups page. - The Mail Notifier may now be configured to use a SSL/TLS connection, as opposed to using STARTTLS.
- The RSync Syncers may now be used with an rsync daemon with both Push and Pull operations. Supports direct TCP connection to a daemon, as well as using SSH transport to a single-use daemon spawned on the remote.
- The RSync Storage also supports these same rsync daemon options that have been added to the RSync Syncers.
-
Mail Notifier
- The
enable_starttls_autosetting has been replaced with aencryptionsetting.
- The
-
RSync Syncers
- The
additional_optionssetting has been changed toadditional_rsync_options. - The
usernamesetting has been changed tossh_user. - The
passwordsetting has been changed torsync_password. - The
ipsetting has been changed tohost.
- The
-
RSync Storage
- The
localsetting is no longer used. (just don't specify ahost) - The
usernamesetting has been changed tossh_user. - The
passwordsetting has been changed torsync_password. - The
ipsetting has been changed tohost.
- The
- Fix
backup dependencies --installso gems may be installed when Bundler is loaded, as long as no bundled environment is active.
-
Add the
excongem as a managed dependency.The
foggem requires this, but places no constraints on newer versions, which leads to incompatibilities.
-
Tightened dependency version requirements to maintain stability.
fog-1.10.0changed it's requirement onnet-scpfrom~> 1.0.4to~> 1.1.0.
Also,net-scp > 1.0.4requiresnet-sshversions> 2.6.
Although they appear to work properly, versions ofnet-ssh > 2.5.1
do not officially supportruby-1.8.7- which we still do (for the moment).
Changes since version 3.0.27:
- Riak Database dumps now work when a Compressor is used.
- The system
userandgroupmay now be specified for a Riak Database. - Fix for segfaults on some systems running ruby-1.8.7.
- Cloud Syncers now dereference symbolic links when scanning local directories.
- The Hipchat Notifier now accepts a comma-delimited string of room names.
- If a Notifier configured to send an
on_failurenotification fails, the error that caused it to fail will now be logged. - Backup can now be configured to log to the
syslog. See Performing Backups and Logging for details. - A
--checkoption was added for thebackup performcommand. See Performing Backups for details. - Backup's dependency management system has been updated to prevent dependencies from activating incompatible versions of other dependencies. Also, version requirements for Backup's dependencies have all been updated based on the dependency's versioning policy.
-
Archives will no longer fail to complete if files being archived are
changed while
taris packaging them. See Archives for details, as this behavior varies based on whether GNU or BSDtaris being used. - An
rsyncableoption has been added to theGzipCompressor. - The paths to all system utilities that Backup uses may now be set in your
config.rb. See Utilities for details.
This page was started with the 3.1.0 release.
To see changes between older versions, see the repository's commit log.
You may also use Github's Compare View to view changes between tagged releases:
https://github.com/meskyanichi/backup/compare/3.0.27...3.1.0
A list of all released versions is available at RubyGems.org