All notable changes to db-dumper
will be documented in this file
- require PHP 8+
- drop all PHP 7.x support
- use PHP 8 syntax
- add
Bzip2Compressor
to allow use of the bzip2 compression utility
- fix attempt to generate dump over http connection when using socket (#145)
- fix: make the process more extensible, avoid touching anything (#141)
- revert changes in 2.19.0
- fix: add some public functions that allow extensibility (#139)
- support PHP 8
- add
doNotUseColumnStatistics
- fix using gzip compression on windows (#130)
- allow for adding options after the db name (#129)
- Fix incomplete credential guard (#126)
- Fix sqlite3 dump on Windows
- allow symfony 5 components
- add
doNotCreateTables
to Postgres driver (#116)
- fix memory leak (issue #109)
- Determine quotes for windows for MongoDB and PostgreSql dumps (#107)
- wrap the dump command in an
if
statement when using compression (#100) - drop support for PHP 7.2 and lower
- add --skip-lock-tables and --quick option (#95)
- fix process warnings
- remove pipefail operator when compressing dump
- add ability to specify all databases as MySQL option
- add
doNotCreateTables
- add
useExtension
- add
Compressor
- allow destination paths to have a space character
- add support for compressing dumps
- add support for setting
--set-gtid-purged
- add support for Symfony 4
- fix SQLite dump
- add
setAuthenticationDatabase
- fix for dumping a MongoDB without username or password
- allow empty passwords for MongoDB dumps
- make
--databases
optional
- made option passing more flexible by adding
--databases
option to the MySQL dumper
MongoDb
dumps won't be compressed by default anymore- add
enableCompression
onMongoDb
- fix sqlite dumper
- add support for MongoDB
- prefix excluded tables with database name when dumping a MySql db
- add
--default-character-set
option for MySql - improve the preservation of the used charset when dumping a MySql db
- fix bug where custom binary path with spaces on linux would not process correctly
- add
skipComments
- add support for SQLite
- made a change so the package can be used on Windows
- added
getHost
- fix for dump paths with spaces
- refactored all classes
- added the ability to add artribrary options
- Removed -d flag from pg_dump for compability with pgsql 7.3+
- Added
includeTables
andexcludeTables
- Added --single-transaction option to Mysql dump command
- Added the ability to use insert when dumping a PostgreSQL db
- Added more details about a dump failure in the error message
- Fixed an issue where paths containing spaces would cause problems
- Added an option to set a timeout
- Fixed PostgreSQL dump
- Added support for PostgreSQL
- Lowered PHP and symfony requirements
- Fixed a bug when the backup has failed.
- Added missing abstract
getDbName
-method
- Added missing abstract
dumpToFile
-method
- Fixed typo in
checkIfDumpWasSuccessFul
-method name - Fixed bug running Process
- Initial release