DatabaseBackup is a CakePHP plugin to export, import and manage database backups
OTHER License
Bot releases are visible (Hide)
Published by mirko-pagliai almost 5 years ago
Command
class.Thanks to @fiste788
Published by mirko-pagliai almost 5 years ago
Command
class.Thanks to @fiste788
Published by mirko-pagliai almost 5 years ago
cakephp
4 and phpunit
8.Published by mirko-pagliai almost 5 years ago
BackupTrait::getBinary()
method has been moved to Driver
abstract class;BackupTrait::getTarget()
, BackupTrait::getDriverName()
andBackupTrait::getValidExtensions()
methods have been removed.Published by mirko-pagliai almost 5 years ago
phpDocumentor
and no longer by apigen
.Published by mirko-pagliai about 5 years ago
Published by mirko-pagliai about 5 years ago
BackupManager
and BackupExport
classes;Folder
class.Published by mirko-pagliai over 5 years ago
Published by mirko-pagliai over 5 years ago
BackupTrait::getDriverName()
method;BackupExport::compression()
takes a compression type name as string ornull
to disable compression;BackupExport::send()
takes a recipient's email address as string or null
BackupTrait::getCompression()
returns null
with no compression;DriverTestCase
class now implements testExportOnFailure()
andtestImportOnFailure()
test methods;IndexCommand
;php-tools
1.2 and me-tools
2.18.7.Published by mirko-pagliai almost 6 years ago
DriverTestCase::getMockForDriver()
method;DriverTestCase::allRecords()
method renamed as getAllRecords()
;me-tools
package for dev;ConsoleIntegrationTestTrait
, because it is now sufficient to use theme-tools
;php-tools
1.1.12.Published by mirko-pagliai almost 6 years ago
BackupShell
has been replaced with console commands. Every method of theCommand
class;BackupManager::index()
returns a collection of backups;ConsoleIntegrationTestCase
has been replaced by ConsoleIntegrationTestTrait
.TestCaseTrait
has been removed and its methods moved to TestCase
;DATABASE_BACKUP
constant;Published by mirko-pagliai almost 6 years ago
Plugin
class;Published by mirko-pagliai over 6 years ago
mirko-pagliai/php-tools
package. This also replacesmirko-pagliai/reflection
;BackupTrait::getClassShortName()
method. Theget_class_short_name()
global function will be used instead.Published by mirko-pagliai over 6 years ago
VALID_COMPRESSIONS
and VALID_EXTENSIONS
constants have been replaced bygetValidCompressions()
and getValidExtensions()
methods provided by theBackupTrait
class;InternalErrorException
with InvalidArgumentException
andRuntimeException
. This allows compatibility with CakePHP 3.6 branch.Published by mirko-pagliai over 6 years ago
Driver::getConfig()
method, removed Driver::$config
property. ThisisWin()
global function;onlyUnix
or onlyWindows
group.Thanks to @swiffer for the valuable contribution in supporting Windows.
Published by mirko-pagliai about 7 years ago
ConsoleIntegrationTestCase
and TestCaseTrait
classes. Console testsPublished by mirko-pagliai about 7 years ago
Published by mirko-pagliai about 7 years ago
createBackup()
and createSomeBackups()
to the TestCase
class;BackupManager::_send()
has become getEmailInstance()
.Published by mirko-pagliai about 7 years ago
composer.json
: the plugin requires at least version 3.4 of CakePHP.Published by mirko-pagliai over 7 years ago
afterExport()
, afterImport()
, beforeExport()
and beforeImport
methods/dev/null
. This