Skip to content

Listing volume restores

Keep track of all the volume restores that are running on a particular volume.

Usage

Backups can be restored directly from the Skpr CLI to any environment.

$ skpr volume restore list stg
 ──────────── ─────────────────── ─────────── ─────────── ─────────────────────── ─────────────────────── ────────── ────────────────────
  RESTORE ID   NAME                BACKUP ID   PHASE       START TIME              COMPLETION TIME         DURATION   VOLUME
 ──────────── ─────────────────── ─────────── ─────────── ─────────────────────── ─────────────────────── ────────── ────────────────────
  stg-mkrbp    stg-mkrbp-private   stg-8slgf   Completed   20 Apr 24 07:53 +0000   20 Apr 24 07:53 +0000   3s         drupal-stg-private
 ──────────── ─────────────────── ─────────── ─────────── ─────────────────────── ─────────────────────── ────────── ────────────────────

These restores can also be seen using the general restores command although with limited information.

$ skpr restore list stg
 ─────────── ─────────── ─────────── ─────────────────────────────── ────────── ─────────── ─────────
  NAME        BACKUP      PHASE       START TIME                      DURATION   DATABASES   VOLUMES
 ─────────── ─────────── ─────────── ─────────────────────────────── ────────── ─────────── ─────────
  stg-mkrbp   stg-8slgf   Completed   2024-04-20 07:53:46 +0000 UTC   3s         n/a         private
 ─────────── ─────────── ─────────── ─────────────────────────────── ────────── ─────────── ─────────
 ```

## More Information

```bash
$ skpr volume restore list --help
usage: skpr volume restore list [<flags>] <environment>

List all volume restores which have been created.

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 volume backups, consider one of the following: