Back to Lego

Archive Operations

docs/content/advanced/archives.md

5.0.4715 B
Original Source

This section describes operations on the archives.

<!--more-->

List

You can list all the backuped accounts and certificates with the following command:

bash
lego archives list

To know the available options, run:

bash
lego archives list --help

Or read the [documentation]({{% ref "references/ref-flags/#archives-list-command" %}}).

Restore

You can restore a backup of an account or a certificate with the following command:

bash
lego archives restore

The command will ask you for the backup file to restore.

To know the available options, run:

bash
lego archives restore --help

Or read the [documentation]({{% ref "references/ref-flags/#archives-restore-command" %}}).