Listing backup restores
Skpr automatically mounts the restic repository when shelling into an environment. This means you are able to dump and rsync any files from the backup directly. Or you can use the Skpr cli to restore an entire backup directly to an environment.
Usage
Backups can be restored directly from the Skpr cli to any environment.
$ skpr restore list dev
─────────── ──────────────── ─────────── ─────────────────────────────── ────────── ─────────── ─────────────────
NAME BACKUP PHASE START TIME DURATION DATABASES VOLUMES
─────────── ──────────────── ─────────── ─────────────────────────────── ────────── ─────────── ─────────────────
dev-pzwjn dev-1631628000 Completed 2021-09-17 05:09:04 +0000 UTC 2s default private, public
─────────── ──────────────── ─────────── ─────────────────────────────── ────────── ─────────── ─────────────────
More Information
$ skpr restore list --help
usage: skpr restore list [<flags>] <environment>
RestoreList all restores for this project.
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--json Show output as JSON.
Args:
<environment> Environment to list restores
What's next?
After listing restored backups, consider one of the following: