All notable changes to laravel-backup
will be documented in this file.
- use
config
instead ofenv
to get the app name
- fix deleting all backups when using maximum storage
- add Italian translations
- use all configuration keys when using
read
database connections
- fix CleanupHasFailed application_name translations
- use
APP_NAME
instead ofAPP_URL
to name the backup
- renamed temporary directory
- type hint config contract instead of concreate config class on
EventHandler
- added support for Laravel 5.5, dropped support for older versions of the framework
- renamed config file from
laravel-backup
tobackup
- make sure the temp directory is empty before starting the backup
- fix bug in default cleaning strategy
- add Spanish translations
- close resource in backup destination if this was not already done by Flysystem
- add
disable-notifications
option tobackup
andclean
commands
- add Danish translation
- add French translation
- add Romanian translation
- fix for empty backup when trying to back up a single file
- prevent overwriting of dump files when two databases with the same name (but other driver) are dumped
- add support for MongoDB.
- fix call to undefined method getFilesystemName
- add support for gzipping database dumps
- optimise
backup:list
for external file systems
- add Russian translation
- add Ukranian translation
- add ability to override the Slack channel in the config file
- add pt-BR translation
- dump mysql databases in the configured charset
- add Arabic translation
- fix bug where a file that was already closed by Flysystem would be closed again
- do not send mail notification when config for notification contains an empty string
- added German translations
- fix for
File is busy
error
- added
backupName
tobackupDestinationProperties
of notifications
- fix
unhealthy_backup_found_full
translation
- fix
unhealthy_backup_found_full
translation
- fixed translation for
UnhealthyBackupWasFound
notification - fixed support for floating point numbers for maximum allow storage
- fixed translations for notifications
- add translations for notifications
- add SQLite support
- fix the dumping of DB's on Windows systems
- avoid empty directories in zips on Windows systems
- improve the creation of db dumper subdirectory in the temporary directory
- force creation of temporary directory
- force
BackupDestinationStatus::maximumAllowedUsageInBytes()
to return an integer
- fix constraints so the latest version of
spatie/temporary-backup
can be pulled in
- fix bug where entire backup disk would be ignored for backups
- improve handling of temporary directory
- fix typehint of
setMaximumStorageUsageInMegabytes
- add compatibility for Laravel 5.4
- fix bugs in passing values from the database dump config to the db dumpers
- fix error where
filename
option would not be respected in theBackupCommand
- fix errors when
app.name
is empty
- fix excluding paths of symlinked directories
- added
filename_prefix
to config file
- added
BackupZipCreated
event
- added the ability to use a read-only host for db backups
- use 24h clock when determining names for the zipfile.
- fix for performance problems when backing up a large number of files
- various bugfixes for the backup monitor
- fix for dumping of databases than run on custom ports
- removed custom notification system in favor of Laravel 5.3's native notifications
- made it easier to pass custom arguments to the database dumpers
- refactored most classes
- dropped PHP 5 support
- added L5.3 compatibility
- refactored some code so backing up only writes to a disk without reading from it
- made backup filename configurable
- added telegram sender
- fixed wrong comment in the config file
- vastly reduce memory usage and speed up backup
- the backup:list command now highlights the problems with a backupdestination when it is unhealty
- refactor
FileSelection
in an attempt to reduce memory usage
- fix for missing
followLinks
option after runningcomposer update
- added an option to determine if symlinks should be followed when selecting files
- refactored wildcard support
- add support for wildcards in excluding paths
- add support for dumping a mysql db using a single transaction
- fixed the capitalization of
CleanupWasSuccessful
- the
port
configuration of a postgresql db will now be used when dumping the db
- the
port
configuration of a mysql db will now be used when dumping the db
- fixed the
--only-to-disk
option inbackup:run
- added the ability to use inserts when dumping a PostgreSQL db
- fixed a bug where the error events would not hold the exceptions in the right variable
- excluded node_modules in default backup configuration
- fix bug in service provider
- made the pushover sounds configurable
- made sure that, when a notifier fails, the other notifiers wil still get called
- fixed a typo in the config file
- added pushover sender
- added an option to specify a timeout for the database dumpers
- fixed a bug where notifications for certain events would not be sent
- added an option to specify a custom mysqldump or pg_dump path, by adding
dump_command_path
in the database configuration file, for that particular database
- upped the required version of db-dumper to a bug free version
- fixed
backup:list
-command
This version contains a bug, that pops up when running backup:list
. Please upgrade to 3.1.1
- added support for PostgreSQL
- added an option to the backup command to backup only to a specified diskname
- renamed
filesystems
todisks
in the config file, console output, events and error messages (in a non-breaking way, the old "filesystems" key will still work)
- improve the console output
- fixed the monitor command in Laravel 5.1 apps
- make backup destinations more robust when using non existing file systems
- added console output when a backup command fails
- fixed a bug in the mail and slack notification senders
Complete rewrite with lots of new features:
- added a new strategy to clean up old backups
- added a monitor to check the health of the backups
- added notifications to keep you informed about the status of the backups
- databases will now be dumped using the separate spatie/db-dumper package
- full documentation is now provided on https://docs.spatie.be/laravel-backup
###2.10.0
- Add
list
-command - Make the
dump_command_path
-option a bit more robust
###2.9.2
- Fix installation error when using Symfony 3
###2.9.1
- Fixed a bug that prevented to write directly into the root of an S3 bucket
###2.9.0
- Added support for PostgreSQL.
###2.8.3
- Further improve the clean up of temporary files.
###2.8.2
- Improve the clean up of temporary files.
###2.8.1
- Fixed determining the driver of the database.
###2.8.0
- The temp backup file will now be explicitly deleted.
###2.7.0
- Add
only-files
-option
###2.6.0
- Display warning when backupping zero bytes
###2.5.1
- Fix tests
###2.5.0
- Added option to specify the timeout of the mysqldump command
###2.4.2
- Fixed an issue where the incorrect backup filename would be displayed
###2.4.1
- Changed github repo location
###2.4.0
- Add option to enable mysqldump's extended insert
- Fixed a bug that caused a failure when backing up a large db
- Fixed a bug where the backups would not be stored in the right directory
- Add options to specifify a suffix and a prefix for the backup-zip-file
- Add support for laravel installation that have seperate hosts for reading a writing a db
- Fixes issues where not the whole db gets backed up when not using a socket
2.2.0 (Warning: this version contains a critical bug that could cause an incomplete backup of the database. This issue has been fixed in version 2.2.1)
- Add support for custom sockets
- Package is now compatible with php 5.4
- Fixed a bug where the specified path in the config file is not respected during clean up
- Added a command to clean up old backups
- Added an option to only backup the db
- Fixed a bug that caused dot files not being included in the backup
- Moved orchestra/testbench to dev-dependencies
- Fixed a security issue where, on shared hosting environments, the username and password show up in the processlist
- Fixed a bug that caused excluded files to still end up in the backup
- Added an exception when the database dump returns an empty string
- Added support to backup directories and individual files
- Configuration file changed
- Refactored all classes
- Added support to backup to multiple filesystems at once
- Added support for L5's filesystem service
- Initial release