Giter Club home page Giter Club logo

nullboard-backup's Introduction

nbagent

nbagent is a Nullboard backup agent for Unix systems.

It works in the same way that the official Nullboard Backup Agent for Windows.

Note: I also created https://github.com/luismedel/docker-nullboard in case you want to have a full self-contained Nullboard installation (Nullboard app + nbagent)

Installation

$ pip install nbagent

Usage

Invoke nbagent:

$ nbagent

Immediately you'll see an output similar to this:

 * [i] Using data directory /Users/luis/.local/share/nbagent
 * [i] Config saved to /Users/luis/.local/share/nbagent/app-config.json
 * [!] Nullboard token: d6606ecaaae54612906cc56a75583b61
 * [i] Server listening 0.0.0.0:10001...

Note the line:

 * [!] Nullboard token: d6606ecaaae54612906cc56a75583b61

Just copy the auth token (in this example d6606ecaaae54612906cc56a75583b61) into Nullboard, as per the instructions and you're ready to go.

If for any reason you need to reset the auth token use:

$ nbagent --reset-token

You can also set a custom token if you want:

$ nbagent --override-token "123-456-789"

Overriding defaults

nbagent allows you to specify several settings if you're not comfortable with the defaults.

Note that nbagent don't use hardcoded paths for the data. It tries to use the standard directory $XDG_DATA_HOME. If not defined, it defaults to $HOME/.local/share.`

$ nbagent --help

Usage: nbagent [OPTIONS]

 Start listening for Nullboard requests.

Options:
 --addr TEXT            Bind to address  [default: 0.0.0.0]
 --port INTEGER         Use custom port  [default: 10001]
 --data TEXT            Directory for data  [default: ~/.local/share/nbagent]
 --reset-token          Generate a new random auth token
 --override-token TEXT  Use a custom auth token
 --help                 Show this message and exit.

nullboard-backup's People

Contributors

luismedel avatar

Watchers

 avatar

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.