zinapse/larabackup

A simple package to let you backup your Laravel application's data.

v0.1.0-alpha 2022-07-29 15:19 UTC

This package is auto-updated.

Last update: 2024-05-29 05:03:12 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