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.