Skip to content

Releases: mirko-pagliai/cakephp-database-backup

2.1.1

18 Jul 16:09
Compare
Choose a tag to compare
  • afterExport(), afterImport(), beforeExport() and beforeImport 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

13 Jul 11:45
Compare
Choose a tag to compare
  • added support for Postgres databases;
  • all export() and import() methods have been moved to the Driver class;
  • added afterExport(), afterImport(), beforeExport() and beforeImport
    methods to the Driver class;
  • getCompression() and getExtension() moved from Driver to BackupTrait
    class, because these methods are not strictly related to the database engine
    you are using;
  • removed getValidExtensions() and getValidCompressions() methods from
    Driver class, because extensions and compressions are the same for any
    database engine;
  • removed getDefaultExtension() method from Driver class, because the
    default extension is the same for any database engine.

2.0.0

23 Jun 20:48
Compare
Choose a tag to compare
  • 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 and mysqldump from the
    command line.