Backup Database Daily with Laravel Backup package

  Рет қаралды 20,868

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 32
@theological1127
@theological1127 5 жыл бұрын
please don't stop making videos. you cover so much material that the rest of the internet leaves untouched
@TrevorVanDerLinden
@TrevorVanDerLinden 5 жыл бұрын
Excellent. Here are the composer lines to cut and paste - composer require spatie/laravel-backup and composer require laravel/slack-notification-channel
@edisvelicanin8854
@edisvelicanin8854 5 жыл бұрын
did not know this was so easy. great example.
@JunaidAli480
@JunaidAli480 2 жыл бұрын
Very to see this, its absolutely amazing. ✨ My question is that can we place button in the view and on click it downloads the SQL database backup in the harddrive. I have heard about laravel-backup and backupmanager. Can you tell us some brief about them. Thanks Again 💖
@tangseakmeng599
@tangseakmeng599 3 жыл бұрын
Thank you so much for your useful tutorial! Thank You!!!
@nabeelyousafpasha
@nabeelyousafpasha 5 жыл бұрын
Thanks a lot sir. Love from Pakistan
@cenays_g2b
@cenays_g2b 3 жыл бұрын
Slack no longer allows this type of integration, preferring instead to use their "apps" section. I can't figure out how to implement with the new apps requirement. I've read their documentation, and just not seeing it... have you run into this?
@devendergupta_official
@devendergupta_official 4 жыл бұрын
I've got a question, suppose the cron job for "php artisan schedule:run" is called every minute. And I have a list of commands that needs to be run every minute and every hour too. Will all the commands that needs to be run hourly, work? How will the scheduler know that its been an hour and it needs to run the command which is scheduled hourly?
@andaru-triadi
@andaru-triadi 4 жыл бұрын
Works in Laravel 7. Thanksssss
@firdavs.ibodullayev
@firdavs.ibodullayev 2 жыл бұрын
Hi everyone, I configured spatie backup, but I have an issue, my DB is located in another server and server versions mismatch, is there any solving for this problem?
@Amor-Boudabbous
@Amor-Boudabbous Жыл бұрын
how backup db every single modification on't??
@popovvasko
@popovvasko 4 жыл бұрын
Did anyone tried the slack notification? It won't work for me :(
@msajdain7151
@msajdain7151 3 жыл бұрын
wow great tutorial.. !
@thomaspotterdotexe
@thomaspotterdotexe 2 жыл бұрын
Can I use telegram bot instead of slack?
@militellosalvatore4877
@militellosalvatore4877 4 жыл бұрын
Is it possible to send the backups to an email in attachment? Or only notification?
@PovilasKorop
@PovilasKorop 4 жыл бұрын
There's no such feature in the package, but you can do it manually, set up some event where you would call a job to download backup from wherever you store it and send an email. But personally, I think it's a very bad idea to save database backups in email, for many reasons, starting with security and privacy.
@militellosalvatore4877
@militellosalvatore4877 4 жыл бұрын
@@PovilasKorop Thank you for yuor response. You are right for the security issues, it is a bad idea, but sometimes it could be useful. However very good video tutorial! Thanks.
@usamafarrukhkhan3825
@usamafarrukhkhan3825 3 жыл бұрын
Sir please make a video on how to setup this backup schedule on live hosting server because i have tried this on my local windows machine it works but when i transfer my web app on live hosting it didn't work on it please help......
@LaravelDaily
@LaravelDaily 3 жыл бұрын
It depends on your hosting details, it's very individual, I can't do a video for all possible hosting providers.
@UsamaKhan-rb6ut
@UsamaKhan-rb6ut 3 жыл бұрын
@@LaravelDaily thank you sir...
@ricko13
@ricko13 3 жыл бұрын
The only downside of this implementation is when your database is huge (talking about gigabytes or terabytes) you literally backing up the same data over and over again.
@deepakthapa9528
@deepakthapa9528 4 жыл бұрын
how to make command in kernel run automatically in server without typing comands ??
@PovilasKorop
@PovilasKorop 4 жыл бұрын
Read about task scheduling here: laravel.com/docs/7.x/scheduling
@PranoySinha
@PranoySinha 3 жыл бұрын
@@PovilasKorop One quick ques - can you pls help: does it work on localhost Windows machine runs on xampp. TIA.
@hassanshaikh5501
@hassanshaikh5501 4 жыл бұрын
The dump process failed with exitcode 1 : General error : '"mysqldump"' is not recognized as an internal or external command sir i have an this error plzzz help...
@giahung5246
@giahung5246 4 жыл бұрын
'dump' => [ 'dump_binary_path' => 'C:/xampp/mysql/bin/', // only the path, so without `mysqldump` or `pg_dump` 'use_single_transaction', 'timeout' => 60 * 5, // 5 minute timeout ],
@mahmoudmohamed-oo3xs
@mahmoudmohamed-oo3xs 4 жыл бұрын
@@giahung5246 thank you very much this work with me thank
@md.moniruzzaman5031
@md.moniruzzaman5031 4 жыл бұрын
​@@giahung5246 This still not work for me, Please help me. Still not working for me.
@bryanjamesdelaluya6315
@bryanjamesdelaluya6315 4 жыл бұрын
@@md.moniruzzaman5031 config/database.php inside mysql 'dump' => [ 'dump_binary_path' => 'C:/xampp/mysql/bin/', // only the path, so without `mysqldump` or `pg_dump` 'use_single_transaction', 'timeout' => 60 * 5, // 5 minute timeout ],
@conkerjo196
@conkerjo196 2 жыл бұрын
fqw
@omidrayaneh
@omidrayaneh 3 жыл бұрын
🧡💙💜
Laravel: Change Two Symbols to Boost Eloquent Speed
6:34
Laravel Daily
Рет қаралды 86 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 72 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,8 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
1 Laravel Backup by Spatie Introduction
11:12
Bitfumes - AI & LLMs
Рет қаралды 17 М.
15 futuristic databases you’ve never heard of
8:42
Fireship
Рет қаралды 685 М.
#2: Store Automatic Laravel Backup On Google Drive
17:25
QiroLab
Рет қаралды 9 М.
How I use SQL as a Data Analyst
15:30
Luke Barousse
Рет қаралды 835 М.
Eloquent Performance: TOP 3 Mistakes Developers Make
7:59
Laravel Daily
Рет қаралды 49 М.
Optimizing Eloquent: Running Out Of Memory?
6:11
Laravel Daily
Рет қаралды 43 М.
Eloquent Observers or Events Listeners? Which is Better?
8:24
Laravel Daily
Рет қаралды 60 М.
[Live-Coding] Laravel Multi-Tenancy with Single Trait
16:01
Laravel Daily
Рет қаралды 39 М.
How to Backup MySQL Database Automatically
7:41
SysnSoft
Рет қаралды 68 М.