Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Backup Laravel Package

spatie/laravel-backup

Spatie Laravel Backup creates zip backups of your app files and database, storing them on any Laravel filesystem (even multiple). Includes health monitoring, notifications, and automatic cleanup of old backups. Run with php artisan backup:run.

View on GitHub
Deep Wiki
Context7
10.3.0

Backup archives are now encrypted while they are being built (#1978)

Previously the archive was written unencrypted and then rewritten with encryption by the EncryptBackupArchive listener, writing large backups to disk twice. Encryption is now applied per file while the zip is built, so the archive is only written once. The configuration (backup.backup.password and backup.backup.encryption) and the resulting archives are unchanged.

Upgrade notes

  • Spatie\Backup\Listeners\EncryptBackupArchive is deprecated and no longer registered. If you registered this listener yourself, remove that registration. The class is kept and still works for backwards compatibility.
  • If you suppressed encryption by unregistering the listener while keeping a password configured, set backup.backup.encryption to 'none' instead.
  • If encryption cannot be applied (for example libzip without AES support), the backup now fails with BackupFailed instead of silently producing an unencrypted archive.

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/10.2.2...10.3.0

10.2.2

What's Changed

  • The backup:clean command now resolves the cleanup strategy from the config passed via --config instead of always using the default config's strategy (#1976). Reported in #1975.
  • Fixed a PHPStan error in File::mimeType() (#1977).
10.2.1

Fix German translations in notifications.php

10.2.0

What's Changed

10.1.0

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.

10.0.2

Fix callMethodOnDumper treating false config values as no-argument calls (#1961)

10.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/10.0.0...10.0.1

10.0.0

What's new

v10 is a major release requiring PHP 8.4+ and Laravel 12+. See the upgrade guide for migration instructions.

Breaking changes

  • All events now carry primitive data (string $diskName, string $backupName) instead of BackupDestination or BackupDestinationStatus objects — events can now be used with queued listeners
  • consoleOutput() helper replaced by backupLogger()
  • ConsoleOutput class removed
  • BackupJob::disableNotifications() removed — use EventHandler::disable() instead
  • CleanupStrategy constructor changed from Repository $config to Config $config
  • Encryption config values changed from null/false/'default' to 'none'/'default'/'aes128'/'aes192'/'aes256'
  • BackupDestinationStatus::getHealthCheckFailure() replaced by getHealthCheckFailures() (returns a collection)

New features

  • Resilient multi-destination backups with continue_on_failure config option
  • Backup verification (verify_backup config option)
  • Generic webhook notification channel
  • New command options: --filename-suffix, --exclude, --destination-path
  • Health check now reports all failures instead of stopping at the first one
  • storage/framework excluded by default
  • Events and notifications are now decoupled — events always fire, notifications are gated separately
9.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.7...9.4.0

9.3.7

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.6...9.3.7

9.3.6

What's Changed

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.5...9.3.6

9.3.5

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.4...9.3.5

9.3.4

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.3...9.3.4

9.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.2...9.3.3

9.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.1...9.3.2

9.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.3.0...9.3.1

9.2.8

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.4...9.2.8

9.2.6

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.5...9.2.6

9.2.5

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.4...9.2.5

9.2.4

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.3...9.2.4

9.2.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.2...9.2.3

9.2.2
9.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.2.0...9.2.1

9.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.1.3...9.2.0

9.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.4...9.1.0

8.8.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/8.8.1...8.8.2

9.0.4

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.3...9.0.4

9.0.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.2...9.0.3

9.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-backup/compare/9.0.1...9.0.2

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony