etcdctl3(1)

NAME

etcdctl-snapshot-restore - Restores an etcd member snapshot to an etcd directory

SYNOPSIS

ETCDCTL=3 etcdctl snapshot restore [OPTIONS]

DESCRIPTION

Restores an etcd member snapshot to an etcd directory

OPTIONS

--data-dir=""
    Path to the data directory

--initial-advertise-peer-urls=" ⟨http://localhost:2380"⟩
    List of this member's peer URLs to advertise to the rest of the cluster

--initial-cluster="default= ⟨http://localhost:2380"⟩
    Initial cluster configuration for restore bootstrap

--initial-cluster-token="etcd-cluster"
    Initial cluster token for the etcd cluster during restore bootstrap

--name="default"
    Human-readable name for this member

--skip-hash-check[=false]
    Ignore snapshot integrity hash value (required if copied from data directory)

OPTIONS INHERITED FROM PARENT COMMANDS

--cacert=""
    verify certificates of TLS-enabled secure servers using this CA bundle

--cert=""
    identify secure client using this TLS certificate file

--command-timeout=5s
    timeout for short running command (excluding dial timeout)

--debug[=false]
    enable client-side debug logging

--dial-timeout=2s
    dial timeout for client connections

--endpoints=[127.0.0.1:2379]
    gRPC endpoints

--hex[=false]
    print byte strings as hex encoded strings

--insecure-skip-tls-verify[=false]
    skip server certificate verification

--insecure-transport[=true]
    disable transport security for client connections

--key=""
    identify secure client using this TLS key file

--user=""
    username[:password] for authentication (prompt if password is not supplied)

-w, --write-out="simple"
    set the output format (fields, json, protobuf, simple, table)

SEE ALSO

etcdctl3-snapshot(1)

HISTORY

4-Mar-2020 Auto generated by spf13/cobra