tlmgr backup

Manage backups of TeX Live packages. The default backup directory is specified by the backupdir option, and can be obtained with tlmgr option. More information: https://www.tug.org/texlive/tlmgr.html.

tlmgr backup {{package1 package2 ...}}

tlmgr backup --all

tlmgr backup {{package}} --backupdir {{path/to/backup_directory}}

tlmgr backup clean {{package1 package2 ...}}

tlmgr backup clean --all