Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

etcd2-backup

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

etcd2-backup

etcd v2 backup cli

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

etcd2-backup

A simple backup utility for etcd v2

Build Status

Install


npm install --global etcd2-backup

Usage


  Usage: etcd2-backup [options] [command]


  Options:

    -V, --version                    output the version number
    -f, --file <file>                backup file
    -e, --etcd <etcd>                etcd url eg: https://host.docker.internal:4001
    -c, --concurrency <concurrency>  max parallel requests
    -h, --help                       output usage information


  Commands:

    restore   restore keys from backup file
    dump      dump keys to backup file

Restoring a backup file

# Node
etcd2-backup -e https://host.docker.internal:4001 -f /backup/backup.json restore

# Docker
docker run -ti -v /my_backup_dir:/backup evert0n/etcd2-backup -e https://host.docker.internal:4001 -f /backup/backup.json restore

Creating a backup file

# Node
etcd2-backup -e https://host.docker.internal:4001 -f /backup/backup.json dump

# Docker
docker run -ti -v /my_backup_dir:/backup evert0n/etcd2-backup -e https://host.docker.internal:4001 -f /backup/backup.json dump

Keywords

FAQs

Package last updated on 08 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc