@kevin I mirror repositories for years now for stuff that might vanish.
Mostly smaller tools and scripts I use or used to use ... something about 300 repos that I mirror automatically on my NAS just in case 😉
@kevin its https://github.com/matthiasbeyer/mirrorit/blob/master/mirrorit plus some systemd services and timers.
Don't forget to `git gc` with that script, that can easily safe a dozen GBs if you mirror a lot of stuff.
@kevin I also plan to write something that can automatically mirror all dependencies of a/my rust project, down to stuff from the flake, such as GCC and libc and so on, so that you can just dumb the world on a storage and recover from there.
I believe that @Hemera was the person who came up with that initial idea. 🤔
@kevin @musicmatze So far it's just an idea really :D
Since its nix, I am sure there is some way by saying 'no substitutions' and pointing it at a store via SSH or so. To force it to do a 'source only' build.
But that's not easy, cause you gotta bootstrap right? And if you do a binary cache, which is also fine IMO, it might still be quite a lot of data.