Releases: mirko-pagliai/cakephp-database-backup
Releases · mirko-pagliai/cakephp-database-backup
2.1.1
afterExport()
,afterImport()
,beforeExport()
andbeforeImport
methods
are now real events;- now you can choose if you want to redirects stderr to
/dev/null
. This
suppresses the output of executed commands.
2.1.0
- added support for Postgres databases;
- all
export()
andimport()
methods have been moved to theDriver
class; - added
afterExport()
,afterImport()
,beforeExport()
andbeforeImport
methods to theDriver
class; getCompression()
andgetExtension()
moved fromDriver
toBackupTrait
class, because these methods are not strictly related to the database engine
you are using;- removed
getValidExtensions()
andgetValidCompressions()
methods from
Driver
class, because extensions and compressions are the same for any
database engine; - removed
getDefaultExtension()
method fromDriver
class, because the
default extension is the same for any database engine.
2.0.0
- the plugin has been renamed as
DatabaseBackup
(cakephp-database-backup
); - the code has been completely rewritten to work with drivers, so it can also
work with other database engines; - added support for Sqlite database;
- checks the return status code when it runs
mysql
andmysqldump
from the
command line.