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
Backup Database Bundle

Backup Database Bundle Laravel Package

andreas-a/backup-database-bundle

View on GitHub
Deep Wiki
Context7

A Symfony bundle that provides a command to easily backup databases. For now only MySQL is supported. It should also support MariaDB, but that has not been verified.

Frequently asked questions about Backup Database Bundle
Can I use this bundle directly in a Laravel project without extra setup?
No, this is a Symfony bundle, not a Laravel package. Laravel doesn’t natively support Symfony bundles, so you’d need to manually integrate it via `symfony/console` or wrap its logic in a custom Artisan command. This introduces complexity and isn’t recommended for production.
What Laravel alternatives support MySQL/MariaDB backups with scheduling and cloud storage?
For Laravel, consider `spatie/laravel-backup` (supports MySQL, PostgreSQL, SQLite, and cloud storage like S3) or `laravel-backup` (by the same author). Both are actively maintained, offer encryption, and integrate seamlessly with Laravel’s task scheduler.
Does this bundle work with Laravel’s task scheduler (e.g., `schedule:run`)?
No, the bundle’s Symfony command won’t trigger directly via Laravel’s scheduler. You’d need to create a custom Artisan command that calls the bundle’s logic or replace it entirely with a Laravel-native solution like `spatie/laravel-backup`.
What databases does this bundle support, and are there limitations?
The bundle officially supports MySQL, with *unverified* MariaDB support. PostgreSQL, SQLite, and other databases are **not supported**. If you use multiple databases, you’d need separate solutions or custom extensions.
Are there risks using this bundle in production? What about security?
Yes—this bundle is **archived** (no updates since 2022) and lacks recent security patches. Dependencies like Symfony components may have unpatched vulnerabilities. For production, prioritize actively maintained alternatives like `spatie/laravel-backup`.
How do I configure backup retention or cloud storage with this bundle?
This bundle **doesn’t support retention policies or cloud storage** (e.g., S3). You’d need to manually manage files or integrate third-party tools. Alternatives like `spatie/laravel-backup` handle this natively with configurable retention and cloud uploads.
What if `mysqldump` or `bzip2` fails during backup? Are there retries or notifications?
No, the bundle lacks retry logic, error handling, or notifications. If `mysqldump` or `bzip2` fails, the backup process stops silently. For resilience, use a Laravel-native solution with built-in error handling (e.g., `spatie/laravel-backup`).
Can this bundle handle large databases efficiently, or will it time out?
The bundle uses `mysqldump` + `bzip2` in a pipeline, which can block I/O and cause timeouts for large databases. Laravel alternatives like `spatie/laravel-backup` offer optimizations (e.g., chunked backups) and better performance tuning.
Does this bundle support incremental backups, or only full backups?
This bundle **only supports full backups** via `mysqldump`. For incremental backups, you’d need a custom solution or switch to a Laravel package like `spatie/laravel-backup`, which supports incremental strategies for certain databases.
What’s the best way to integrate this bundle into Laravel if I must use it?
If you proceed, extract the core logic (e.g., `mysqldump` execution) into a Laravel service, then wrap it in a custom Artisan command. Avoid forcing the Symfony bundle directly—it’s unsupported and adds maintenance overhead. Test thoroughly for edge cases like binary data or large tables.
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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui