spatie/laravel-backup
Create ZIP backups of your Laravel app: selected files plus database dumps. Store backups on any Laravel filesystem (including multiple destinations), monitor backup health, send notifications on failures, and automatically clean up old backups to save space.
Fix German translations in notifications.php
Full Changelog: https://github.com/spatie/laravel-backup/compare/10.1.0...10.1.1
Add log_channel config option to control where backup activity logs are written. Set to a channel name to redirect logs, false to disable logging, or null (default) to keep existing behavior.
Fix callMethodOnDumper treating false config values as no-argument calls (#1961)
Full Changelog: https://github.com/spatie/laravel-backup/compare/10.0.0...10.0.1
v10 is a major release requiring PHP 8.4+ and Laravel 12+. See the upgrade guide for migration instructions.
string $diskName, string $backupName) instead of BackupDestination or BackupDestinationStatus objects — events can now be used with queued listenersconsoleOutput() helper replaced by backupLogger()ConsoleOutput class removedBackupJob::disableNotifications() removed — use EventHandler::disable() insteadCleanupStrategy constructor changed from Repository $config to Config $confignull/false/'default' to 'none'/'default'/'aes128'/'aes192'/'aes256'BackupDestinationStatus::getHealthCheckFailure() replaced by getHealthCheckFailures() (returns a collection)continue_on_failure config optionverify_backup config option)--filename-suffix, --exclude, --destination-pathstorage/framework excluded by defaultFull Changelog: https://github.com/spatie/laravel-backup/compare/9.4.0...9.4.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.7...9.4.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.6...9.3.7
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.5...9.3.6
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.4...9.3.5
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.3...9.3.4
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.2...9.3.3
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.1...9.3.2
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.0...9.3.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.9...9.3.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.8...9.2.9
only() from tests by @pxpm in https://github.com/spatie/laravel-backup/pull/1875Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.4...9.2.8
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.6...9.2.7
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.5...9.2.6
only() from tests by @pxpm in https://github.com/spatie/laravel-backup/pull/1875Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.4...9.2.5
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.3...9.2.4
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.2...9.2.3
Slovak language by @patressz in https://github.com/spatie/laravel-backup/pull/1870Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.1...9.2.2
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.0...9.2.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.1.3...9.2.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.1.2...9.1.3
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.1.1...9.1.2
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.1.0...9.1.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.4...9.1.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.8.1...8.8.2
backup.notifications.discord.username to fail sending a notification by @RVxLab in https://github.com/spatie/laravel-backup/pull/1821Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.3...9.0.4
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.2...9.0.3
Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.1...9.0.2
delete_oldest_backups_when_using_more_megabytes_than in https://github.com/spatie/laravel-backup/commit/ef8b0fab439b6209ad221a2139a68cd7b67d83ebFull Changelog: https://github.com/spatie/laravel-backup/compare/9.0.0...9.0.1
Dropped support for 8.1
Add types to the codebase by @Nielsvanpach in https://github.com/spatie/laravel-backup/pull/1799
Migrate config to DTOs by @Nielsvanpach in https://github.com/spatie/laravel-backup/pull/1800
Feature/use config object by @Nielsvanpach in https://github.com/spatie/laravel-backup/pull/1805
Update installation-and-setup.md by @Geoffry304 in https://github.com/spatie/laravel-backup/pull/1807
V9 release by @Nielsvanpach in https://github.com/spatie/laravel-backup/pull/1806
Chore/ci updates by @Nielsvanpach in https://github.com/spatie/laravel-backup/pull/1798
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.8.1...9.0.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.8.0...8.8.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.7.0...8.8.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.6.0...8.7.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.5.1...8.6.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.5.0...8.5.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.4.1...8.5.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.4.0...8.4.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.3.4...8.4.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.3.3...8.3.4
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.3.2...8.3.3
Command constants instead of integers in commands by @joshbonnick in https://github.com/spatie/laravel-backup/pull/1706Full Changelog: https://github.com/spatie/laravel-backup/compare/8.3.1...8.3.2
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.3.0...8.3.1
backup and clean commands by @prestamodule in https://github.com/spatie/laravel-backup/pull/1684Full Changelog: https://github.com/spatie/laravel-backup/compare/8.2.0...8.3.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.11...8.2.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.10...8.1.11
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.9...8.1.10
CannotCreateDbDumper exception by @dejagersh in https://github.com/spatie/laravel-backup/pull/1661Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.8...8.1.9
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.7...8.1.8
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.6...8.1.7
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.5...8.1.6
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.4...8.1.5
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.3...8.1.4
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.2...8.1.3
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.1.0...8.1.1
Full Changelog: https://github.com/spatie/laravel-backup/compare/8.0.10...8.1.0
Full Changelog: https://github.com/spatie/laravel-backup/compare/7.7.3...7.8.0
DumpingDatabase event (#1292)CleanupStrategy to access its intended BackupDestination (#1149)exists and date (#1084)unix_socket database config option (#1072)THIS VERSION CONTAINS A BREAKING BUG, DO NOT USE
monitor_backups.name default config valuebackup_options on a disk defined in the filesystems config filestream() to Backupstream() on BackupdisableNotifications on CleanupJobCleanupStrategy out of the containertemporary_directory config option is not setTHIS RELEASE WAS DELETED BECAUSE IT COULD GET PULLED IN WITH ONLY PHP7.0 INSTALLED
icon and username to slack configconfig instead of env to get the app nameread database connectionsAPP_NAME instead of APP_URL to name the backupEventHandlerlaravel-backup to backupdisable-notifications option to backup and clean commandsbackup:list for external file systemsFile is busy errorbackupName to backupDestinationProperties of notificationsunhealthy_backup_found_full translationunhealthy_backup_found_full translationUnhealthyBackupWasFound notificationBackupDestinationStatus::maximumAllowedUsageInBytes() to return an integerspatie/temporary-backup can be pulled insetMaximumStorageUsageInMegabytesfilename option would not be respected in the BackupCommandapp.name is emptyfilename_prefix to config fileBackupZipCreated eventFileSelection in an attempt to reduce memory usagefollowLinks option after running composer updateCleanupWasSuccessfulport configuration of a postgresql db will now be used when dumping the dbport configuration of a mysql db will now be used when dumping the db--only-to-disk option in backup:rundump_command_path in the database configuration file, for that particular databasebackup:list-commandThis version contains a bug, that pops up when running backup:list. Please upgrade to 3.1.1
filesystems to disks in the config file, console output, events and error messages (in a non-breaking way, the old "filesystems" key will still work)Complete rewrite with lots of new features:
Full Changelog: https://github.com/spatie/laravel-backup/compare/7.7.2...7.7.3
only-files-optionlist-commanddump_command_path-option a bit more robustHow can I help you explore Laravel packages today?