laravel-backup
Dokku
laravel-backup | Dokku | |
---|---|---|
5 | 189 | |
5,623 | 28,923 | |
0.7% | 8.1% | |
8.9 | 9.9 | |
6 days ago | 7 days ago | |
PHP | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-backup
-
Packages for Laravel
https://github.com/jeremykenedy/laravel-logger#authentication-middleware-usage https://github.com/beyondcode/laravel-dump-server https://github.com/barryvdh/laravel-debugbar https://github.com/laravel-shift/blueprint https://github.com/spatie/laravel-backup https://github.com/spatie/laravel-permission https://github.com/spatie/laravel-activitylog https://github.com/realrashid/sweet-alert https://github.com/rappasoft/laravel-livewire-tables https://github.com/yajra/laravel-datatables https://github.com/Labs64/laravel-boilerplate https://github.com/creativetimofficial/argon-dashboard-laravel https://github.com/the-control-group/voyager https://github.com/beyondcode/laravel-er-diagram-generator
-
10 Laravel packages that might save your day
8. spatie/laravel-backup
-
4 Packages You Need in Any Laravel Project
4. spatie/laravel-backup https://github.com/spatie/laravel-backup
-
Ask HN: Solo-preneurs, how do you DevOps to save time?
In my case I'm dumping + zipping the entire database at the application level. In my case is as simple as adding a library [1], scheduling the job and transferring to AWS S3 (my main application is on DigitalOcean)
[1] https://github.com/spatie/laravel-backup
-
Development environment suggestions
Database backups via php artisan backup:run
Dokku
-
Deploy multiple apps on a single VPS with Docker
Dokku is open source. Its focus lies on making deployments easy with a simple "git push". The user interface is a CLI.
-
Show HN: A CLI tool I made to self-host any app with two commands and a VPS
I don't think that's true. I opened https://github.com/dokku/dokku/issues/5008 a while back and Jose didn't seem to disagree.
Addressing your argument directly though: you know that if you spin up a Postgres database for your app, you need to dump the database to disk to back it up (or if you wanna get fancy, you can do a delta from the last backup + a full backup periodically). Anytime a Postgres database exists, you know the steps you need to take to backup that service.
Same with persistent file storage on disk: if you have a directory of files, you need a snapshot of all of those files.
Each _service_ can know how to back itself up. If you tell a Dokku _app_ to back itself up, what you really mean is that each _service_ attached to that app should do whatever it needs to do to create a backup. Then, dokku only needs to collate all of the various backup outputs, include a copy of the git repository that drives the app, tar/zstd it, and write it to disk.
As you pointed out, the user should probably be able to control the backup cadence, where those backups are shipped off to, the retention period, whether or not they are encrypted, etc, but the actual mechanics of performing a backup aren't exactly rocket science. All of the user configurable values can have reasonable defaults too -- they can/should Just Work (tm). There's value in having that work OOTB even if the backups are just being written to disk on the actual Dokku machine somewhere.
-
Does Your Startup Need Complex Cloud Infrastructure?
> For all the people who are saying you don’t need X and Y - what is the simplest way to deploy a web app using TLS on a VPS/VM?
Depends on your defintion of simplest. In terms of set-up probably someting like https://dokku.com/ . It's a simple self-hosted version of herokku, you can be up and running in literally minutes and because its compatable with herokku you can re-use lots of github action/ other build scripts.
In terms of simple (low complexity and small sized components) just install caddy as your reverse-proxy which will do ssl certs and reverse proxy for you with extremely little, if any config. Then just have your github action push your containers there using whatever container set-up you prefer. This is usually a simple script on your build process like "build container -> push container to registry -> tell machine to get new image and run it" or even simpler just have your server check for updated images routinely if you don't want to handle communication between build script and server. That's the bare minimum needed. This takes a bit longer than a few minutes but you can still be done within an hour or two.
Regardless of your choice it shouldn't take more than 1 working day, and will save you a lot of money compared to the big cloud providers. You can run as low as €4.51/month with hetzner and that includes a static IP and basically unlimited traffic. An EC2 instance with the same hardware costs about $23 a month for comparison (yes shared vs dedicated vCPU, but even the dedicated offer at hetzner is cheaper, and this is compared to a serverless set-up where loads are spikey, which is exactly how we can benefit from a shared vCPU situation).
-
Reclaim the Stack
It seems like a nice Kubernetes setup! But I don’t see how this is comparable to something like Heroku – the complexity is way higher from what I see.
If you’re looking for something simpler, try https://dokku.com/ (the OG self-hosted Heroku) or https://lunni.dev/ (which I’ve been working on for a while, with a docker-compose based workflow instead). (I've also heard good things about coolify.io!)
-
dokploy VS Dokku - a user suggested alternative
2 projects | 26 Aug 2024
A good alternative as recommended on Hacker News https://news.ycombinator.com/item?id=41358020
- piku: The tiniest PaaS you've ever seen
-
Open-source alternative to Heroku, Vercel, and Netlify
Would be great to see a comparison to some better known alternatives like
- Dokku [0]
- CapRover [1]
[0] https://dokku.com/
[1] https://caprover.com/
-
Hosting old Node Projects 👴🏼
If you want to dig into it anyways, Dokku is an interesting mention. They provide an Open Source PaaS that you can install on your server to simplify self hosting containers.
-
Deploy Node.js applications on a VPS using Coolify
When I came across Coolify, I thought of giving it a try. I am aware of Dokku, but I never really tried it because it doesn't have a UI. I work primarily as a UI developer, so having a nice UI to work with is a plus for me.
-
The Hater's Guide to Kubernetes
I run all my projects on Dokku. It’s a sweet spot for me between a barebones VPS with Docker Compose and something a lot more complicated like k8s. Dokku comes with a bunch of solid plugins for databases that handle backups and such. Zero downtime deploys, TLS cert management, reverse proxies, all out of the box. It’s simple enough to understand in a weekend and has been quietly maintained for many years. The only downside is it’s meant mostly for single server deployments, but I’ve never needed another server so far.
https://dokku.com/
What are some alternatives?
laravel-zipstream - Easily create Zip files on-the-fly and provide a streaming download
coolify - An open-source & self-hostable Heroku / Netlify / Vercel alternative.
laravel-database-backup - Backup your laravel database by a simple artisan command
CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
ZipStream-PHP - :floppy_disk: PHP ZIP Streaming Library
Portainer - Making Docker and Kubernetes management easy.
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Docker Compose - Define and run multi-container applications with Docker
sst - SST v2
swarmpit - Lightweight mobile-friendly Docker Swarm management UI
porter - Kubernetes powered PaaS that runs in your own cloud.