code: func (e *CombinedEtcdClient) Restore(version *EtcdVersion, snapshotFile string) error {
  	// We cannot use etcd/clientv3 to make this call. It is implemented in the etcdctl client code.
  	if version.Major != 3 {
  		return fmt.Errorf("etcd 3.x required but got version '%s'", version)
  	}
  	return e.runEtcdctlCommand(version,
  		"snapshot", "restore", snapshotFile,
  		"--data-dir", e.cfg.dataDirectory,
  		"--name", e.cfg.name,
  		"--initial-advertise-peer-urls", e.cfg.peerAdvertiseUrls,
  		"--initial-cluster", e.cfg.initialCluster,
  	)
  }
docs: // Restore restores a given snapshotFile into the data directory specified this clients config.