I recently switched to iDrive for my backup needs but couldn’t work out how to get it running on Linux. iDrive provide a series of scripts for Debian machines but this is obviously no good for non Debian systems (using Nixos here). I read about a method of hacking the scripts so they think you’re running Debian, but this didn’t work. Anyway, I eventually figured it out and thought I’d share the workaround here in case it’s useful to anyone. The solution is to use Distrobox. Just set up a Debian box there and run the scripts as described. It took me 2-3 goes to get the dependencies installed but now it’s all great and working as intended. Good luck, fellow iDrive users.
Hehe ^^ I would never have thought of dockerizing my stupid backup-scripts although i work with container-stuff fairly often.
I’ve never dared to try anything other than debian based distros though.
Is that a common approach for non-debian people?
From what I read, it works best with immutable distros, like NixOS
I think the common approach would be to just alter or rewrite the scripts if they are open. Shouldn’t be difficult.
The scripts are loooooooong. And the main problem for me is that Nixos doesn’t use the FHS, so it’s difficult to use standard .deb files.