HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tlmgr backup — Manage backups of TeX Live packages. The default backup directory is specified by the `backupdir` op

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandtexliveclimanagetlmgr backupbackupspackages

Problem

How to use the tlmgr backup command: 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/doc/tlmgr.html#backup>.

Solution

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/doc/tlmgr.html#backup>.

Make a backup of one or more packages:
tlmgr backup {{package1 package2 ...}}


Make a backup of all packages:
tlmgr backup --all


Make a backup to a custom directory:
tlmgr backup {{package}} --backupdir {{path/to/backup_directory}}


Remove a backup of one or more packages:
tlmgr backup clean {{package1 package2 ...}}


Remove all backups:
tlmgr backup clean --all

Code Snippets

Make a backup of one or more packages

tlmgr backup {{package1 package2 ...}}

Make a backup of all packages

tlmgr backup --all

Make a backup to a custom directory

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

Remove a backup of one or more packages

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

Remove all backups

tlmgr backup clean --all

Context

tldr-pages: common/tlmgr backup

Revisions (0)

No revisions yet.