├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer.json ├── config └── backup-restore.php ├── pint.json ├── src ├── Actions │ ├── CheckDependenciesAction.php │ ├── CleanupLocalBackupAction.php │ ├── DecompressBackupAction.php │ ├── DownloadBackupAction.php │ ├── ImportDumpAction.php │ └── ResetDatabaseAction.php ├── Commands │ └── RestoreCommand.php ├── Databases │ ├── DbImporter.php │ ├── MySql.php │ ├── PostgreSql.php │ └── Sqlite.php ├── DbImporterFactory.php ├── Events │ ├── DatabaseDumpImportWasSuccessful.php │ ├── DatabaseReset.php │ ├── DatabaseRestored.php │ └── LocalBackupRemoved.php ├── Exceptions │ ├── CannotCreateDbImporter.php │ ├── CliNotFound.php │ ├── DecompressionFailed.php │ ├── ImportFailed.php │ ├── NoBackupsFound.php │ └── NoDatabaseDumpsFound.php ├── HealthChecks │ ├── Checks │ │ └── DatabaseHasTables.php │ ├── HealthCheck.php │ └── Result.php ├── LaravelBackupRestoreServiceProvider.php └── PendingRestore.php └── workbench └── app ├── .gitkeep └── BackupRestoreWorkbenchProvider.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/composer.json -------------------------------------------------------------------------------- /config/backup-restore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/config/backup-restore.php -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/pint.json -------------------------------------------------------------------------------- /src/Actions/CheckDependenciesAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Actions/CheckDependenciesAction.php -------------------------------------------------------------------------------- /src/Actions/CleanupLocalBackupAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Actions/CleanupLocalBackupAction.php -------------------------------------------------------------------------------- /src/Actions/DecompressBackupAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Actions/DecompressBackupAction.php -------------------------------------------------------------------------------- /src/Actions/DownloadBackupAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Actions/DownloadBackupAction.php -------------------------------------------------------------------------------- /src/Actions/ImportDumpAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Actions/ImportDumpAction.php -------------------------------------------------------------------------------- /src/Actions/ResetDatabaseAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Actions/ResetDatabaseAction.php -------------------------------------------------------------------------------- /src/Commands/RestoreCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Commands/RestoreCommand.php -------------------------------------------------------------------------------- /src/Databases/DbImporter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Databases/DbImporter.php -------------------------------------------------------------------------------- /src/Databases/MySql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Databases/MySql.php -------------------------------------------------------------------------------- /src/Databases/PostgreSql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Databases/PostgreSql.php -------------------------------------------------------------------------------- /src/Databases/Sqlite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Databases/Sqlite.php -------------------------------------------------------------------------------- /src/DbImporterFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/DbImporterFactory.php -------------------------------------------------------------------------------- /src/Events/DatabaseDumpImportWasSuccessful.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Events/DatabaseDumpImportWasSuccessful.php -------------------------------------------------------------------------------- /src/Events/DatabaseReset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Events/DatabaseReset.php -------------------------------------------------------------------------------- /src/Events/DatabaseRestored.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Events/DatabaseRestored.php -------------------------------------------------------------------------------- /src/Events/LocalBackupRemoved.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Events/LocalBackupRemoved.php -------------------------------------------------------------------------------- /src/Exceptions/CannotCreateDbImporter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Exceptions/CannotCreateDbImporter.php -------------------------------------------------------------------------------- /src/Exceptions/CliNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Exceptions/CliNotFound.php -------------------------------------------------------------------------------- /src/Exceptions/DecompressionFailed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Exceptions/DecompressionFailed.php -------------------------------------------------------------------------------- /src/Exceptions/ImportFailed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Exceptions/ImportFailed.php -------------------------------------------------------------------------------- /src/Exceptions/NoBackupsFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Exceptions/NoBackupsFound.php -------------------------------------------------------------------------------- /src/Exceptions/NoDatabaseDumpsFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/Exceptions/NoDatabaseDumpsFound.php -------------------------------------------------------------------------------- /src/HealthChecks/Checks/DatabaseHasTables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/HealthChecks/Checks/DatabaseHasTables.php -------------------------------------------------------------------------------- /src/HealthChecks/HealthCheck.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/HealthChecks/HealthCheck.php -------------------------------------------------------------------------------- /src/HealthChecks/Result.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/HealthChecks/Result.php -------------------------------------------------------------------------------- /src/LaravelBackupRestoreServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/LaravelBackupRestoreServiceProvider.php -------------------------------------------------------------------------------- /src/PendingRestore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/src/PendingRestore.php -------------------------------------------------------------------------------- /workbench/app/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /workbench/app/BackupRestoreWorkbenchProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanzweifel/laravel-backup-restore/HEAD/workbench/app/BackupRestoreWorkbenchProvider.php --------------------------------------------------------------------------------