Support the ongoing development of Laravel.io →
Database Eloquent Laravel

Backup single or multiple database tables with ease.

By adding BackupTables::generateBackup('users') and that is it.

You can also backup multiple tables BackupTables::generateBackup(['users', 'posts']) or simple pass models instead of tables if you want `BackupTables::generateBackup([User::class, Post::class]).

This is different from the Spatie backup package because this package is focused on tables for certain cases, not the regular backups for all applications like what the Spatie package did.

package link with examples and features in detail: https://github.com/WatheqAlshowaiter/backup-tables

0

You don't need any external package or anything you can create simple job and do take backup

https://codingtricks.co/laravel-backup-mysql-database here you can take a look

0

My package is for specific cases when you want to backup some tables + supports multiple SQL databases

kamleshpaul liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.