4 ms·
- `brew list` doesn't include apps you install from 3rd party taps, or casks, so `brew list --full-name` + `brew list --full-name --cask` is better - Many apps
by PhilippGille 2y ago
- `brew list` doesn't include apps you install from 3rd party taps, or casks, so `brew list --full-name` + `brew list --full-name --cask` is better
- Many apps store their config and user data outside of the home dir. I always find it dishonest when people say backing up home is enough on Linux. You did say "mostly ready to go", but that's exactly the tricky and important part that most people pretend doesn't exist
E.g. Docker volumes are in /var/lib/docker
So /etc/... and /var/lib are generally worth checking as well, but that probably still doesn't cover everything, as not all apps behave as maybe XDG specifies.
- paride5745 2y agoIdeally you shouldn't have to backup /var/lib/docker, as your docker configs should live in your docker-compose.yaml or whatever you use to start your docker containers. Also I have included backing up /etc confs in my original post. I agree on the brew list being incomplete, totally forgot about casks. Not even sure if they work correctly under Linux to be honest. I literally just use brew for golang and awscli :P
- PhilippGille 2y agoRe Docker I said volumes, not config. Some volumes you might have mapped to the host and maybe picked a home subdirectory, but others maybe not. For example the Ollama 3rd party UI `open-web-ui` suggests to run it like this in their documentation: `docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main` Then "open-webui" will be in `/var/lib/docker/volumes/open-webui/`. Sure you can change it, but what I mean is that a lot of software by itself, or by you following documentation, puts data that you usually want to back up outside of your home.