Skip to main content

A Nullboard backup agent for Unix systems

Project description

nbagent

nbagent is a Nullboard backup agent for Unix systems.

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbagent-1.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

nbagent-1.0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file nbagent-1.0.1.tar.gz.

File metadata

  • Download URL: nbagent-1.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for nbagent-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1287302207145fd4a72c593739c3c17a5e5fec6bda3b05073b933290bf80a4d0
MD5 83b9379f6a80e7fb2001c5c366a105eb
BLAKE2b-256 ba4b14ddf1e8b12ee9e2734cdcf4a220e627a3c15b96cfafda41d9cf1ae3a8b5

See more details on using hashes here.

File details

Details for the file nbagent-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: nbagent-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for nbagent-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64ac520c13f55c01c9507ed0f3794fd56a765eeed627793ebbecc920d8f384ad
MD5 a66cdf1c20c9af829dc8c42f6e769633
BLAKE2b-256 d0dd9e9792f5ccfc12f931972eb4e3363d7d2d10ad0a7bc01c25ba39ad31ec58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page