Giter Site home page Giter Site logo

arangler's Introduction

Arangler

An ArangoDB management tool.

npm version license

A command line tool to ease development and administration.

FAQ

Doesn't ArangoDB already have dump and restore commands for handling this?

Arangler's sync command can dump and restore in one step (even to remote databases). sync can also target a different database on the same server. It runs a hashing function on the collections in both databases and only modifies the data that is different, saving tons of bandwidth and time.


Special thanks to Arthur Andrew Medical for sponsoring this project.

Arthur Andrew Medical manufactures products with ingredients that have extensive clinical research for safety and efficacy. We specialize in Enzymes, Probiotics and Antioxidants.


Installation.

Requires nodejs v8+

npm install -g @internalfx/arangler

Documentation

Synchronize two ArangoDB databases.

arangler sync Synchronizes collections, indexes and data from the source database to the target database. The target database is modified to match the source.

Arangler Sync
==============================

Sync two ArangoDB databases.

Usage:
  arangler sync [options]
  arangler sync --sh host[:port] --th host[:port] --sd dbName --td dbName
  arangler sync -h | --help

Options:
  --sh, --sourceHost=<host[:port]>        Source host, defaults to 'localhost:8529'
  --th, --targetHost=<host[:port]>        Target host, defaults to 'localhost:8529'
  --sd, --sourceDB=<dbName>               Source database
  --td, --targetDB=<dbName>               Target database

  --pc, --pickCollections=<coll1,coll2>   Comma separated list of collections to sync (whitelist)
  --oc, --omitCollections=<coll1,coll2>   Comma separated list of collections to ignore (blacklist)
                                          Note: '--pc' and '--oc' are mutually exclusive options.

  --user                                  Source and Target username
  --password                              Source and Target password

  --su                                    Source username, overrides --user
  --sp                                    Source password, overrides --password

  --tu                                    Target username, overrides --user
  --tp                                    Target password, overrides --password

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.