zinapse / larabackup
A simple package to let you backup your Laravel application's data.
v0.1.0-alpha
2022-07-29 15:19 UTC
Requires
- laravel/framework: ^9.11
This package is auto-updated.
Last update: 2024-12-14 17:57:03 UTC
README
Backup a database using Laravel connections.
Overview
This package iterates over every table in the source connection (you can define tables to ignore), gets all the records, then creates them on the target connection.
Installation
Include it with composer: composer require zinapse/larabackup
Usage
Example: php artisan larabackup:backup --source=source_connection --target=target_connection --ignore=tables,to,ignore