Make backups
greateasy again.
π¦ leanback provides a simple way to backup stuff. It uses restic and has an installer for generating backup policies. And it's all written in good ol' bash.
- Run the installer
- Forget about it
All repoos are located into the backups folder, examples are located in the templates folder.
.
βββ repo-name
βββ .env (secrets file)
βββ backup
βΒ Β βββ db-backup.sh (how the db backups are done)
βΒ Β βββ files-backup.sh (how the backups are done)
βββ cleanup
βΒ Β βββ cleanup.sh (how the clenup is done)
βββ sync
βββ sync.sh (how the syncing is done)
and that's about it.
You can add as many .sh file as you see fit, they are loaded automagically.