by zolland on 11/1/22, 7:47 PM with 1 comments
by zolland on 11/1/22, 7:47 PM
I went back to cron and spit the output of each backup into a log file, but I kinda like being able to scan this stuff visually for important info such as failed backups.
As this is my first Rust project I would love it if anyone would be willing to check out the code base and give me any feedback in the repo!
I think the hardest part was honestly getting the Docker image working with some semblance of multi platform support. My M2 Air struggles to compile for some archs and I was eventually pushed into setting up a Github workflow for the builds. An improvement for sure, but I couldn't run iterations locally so it was a very slow debug process. Funnily enough I couldn't get arm builds to work so just went straight to amd64 and called it a day as my server is running x86.
It also takes like 9 minutes to build which seems a bit long to me... would love any tips on bringing this down.