Skip to main content

NetBox plugin for Proxmox Backup Server (PBS) inventory through proxbox-api

Project description

netbox-pbs

NetBox plugin that reflects Proxmox Backup Server (PBS) inventory into NetBox through the proxbox-api /pbs/* endpoints.

netbox-pbs is a sibling plugin of netbox-proxbox and reuses its FastAPI endpoint resolution, branch lifecycle, and job conventions. When netbox-proxbox is installed it is used as the source of backend context; otherwise the plugin falls back to its own proxbox_api_url / proxbox_api_key plugin settings.

Status

netbox-pbs v0.0.1 is a read-only NetBox inventory layer for PBS. All mutations remain in Proxmox Backup Server; this plugin only reflects.

Included Models

  • PBS servers
  • PBS datastores
  • PBS snapshots
  • PBS jobs
  • PBS plugin settings

Sync Job

PBSSyncJob calls proxbox-api sync resources:

  • full
  • datastores
  • snapshots
  • jobs
  • node

When NetBox branching support is available through netbox-proxbox, PBS sync jobs can create a branch, run the backend sync against the branch schema, and merge it back according to the plugin settings conflict policy.

Requirements

  • NetBox 4.5.x – 4.6.x
  • Python 3.12+
  • netbox-proxbox >= 0.0.16
  • A reachable proxbox-api instance with the /pbs/* route group enabled

Installation

pip install netbox-pbs

Then add to configuration.py:

PLUGINS = [
    "netbox_proxbox",   # required peer plugin
    "netbox_pbs",
]

Run NetBox migrations as usual:

python manage.py migrate

Documentation

Full documentation is published at https://emersonfelipesp.github.io/netbox-pbs/.

License

Apache-2.0

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

netbox_pbs-0.0.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_pbs-0.0.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file netbox_pbs-0.0.1.tar.gz.

File metadata

  • Download URL: netbox_pbs-0.0.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for netbox_pbs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33a3e7302d2cd46578d4d6e0b9a498c61262f5c562e453b556f083fc43d45c61
MD5 8551cfce1b95f93bd91ce7a73fe5cbc6
BLAKE2b-256 10e16b8f3f8a65c83e222e7c9fcf309b06ecfe23c41ddbe879aed51841d6e162

See more details on using hashes here.

File details

Details for the file netbox_pbs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: netbox_pbs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for netbox_pbs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dacab6338824aeea2f021f11e23c954872ec977bae96942e64da4b1238fd89bb
MD5 c72f35a1196f91536774303d15884b35
BLAKE2b-256 b0b0d6b2daaeaadaec804bbfc821a7a618c156d0d3aa5b280bcbb25563d453a5

See more details on using hashes here.

Supported by

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