Is there an easy and safe way to back up and restore an entire texlive installation, e.g. before a fresh OS (re)installation or to put onto another pc (same architecture)?
What I have in mind is to simply copy (rsync) my whole texlive directory (~/texlive) to my external HD, i.e. along with my usual home directory backup, then copy it back into my (new) home directory after doing a fresh install of Xubuntu. As far as I know, everything tex-related is in ~/texlive.
But I don't know whether tlmgr perhaps has a backup option (for entire texlive installations, not just packages), or if there's a better way. I also don't know if my proposal requires something extra, like updating tlmgr or what.