xvc storage list

Purpose

List all configured storages with their names and guids.

Synopsis

$ xvc storage list --help List all configured storages Usage: xvc storage list Options: -h, --help Print help

Examples

The command works only in Xvc repositories.

$ git init ... $ xvc init

Define two local storages:

$ xvc storage new local --name backup-1 --path '../backup-1' $ xvc storage new local --name backup-2 --path '../backup-2'

You can list the storages and their GUIDs.

$ xvc storage list Local: backup-1 [..] ../backup-1 Local: backup-2 [..] ../backup-2

Caveats

This one uses the local configuration and doesn't try to connect storages.

If a storage is listed, it doesn't mean it's guaranteed to be able to pull or push.

Xvc never stores credentials for storages.