Skip to main content

netcfg-vault

产品主页: https://bg8cfb.github.io/netcfg-vault/

批量备份和对比网络设备配置的命令行工具 — 面向网络工程师 / 运维。

定时备份(Pro)

netcfg-vault watch devices.yml --out backups --interval 3600

每天/每小时自动备份,失败设备即时上报,支持钉钉/企业微信/飞书/Server酱 webhook(设 NETCFG_WEBHOOK 环境变量即可)。免费版限 5 台,Pro 解锁全部 + 告警。

为什么

交换机/路由器配置散落各处,改完没备份、出事没证据。现有方案要么要装平台(Oxidized 需 Ruby 环境),要么是厂商专属。

特性

  • 多设备并发备份(SSH/Telnet),华为/H3C/锐捷/思科开箱即用
  • 配置变更 diff(谁在什么时候改了什么)
  • 输出: 本地目录 / git 仓库
  • 单二进制 / 单 Python 文件,无依赖

快速开始

# 免费版: 最多 5 台设备
pip install netcfg-vault
netcfg-vault backup devices.yml

配置变更对比(自动忽略时间戳噪声,只看真实变更):

netcfg-vault diff backups/old.cfg backups/new.cfg
# -sysname CoreSW01
# +sysname CoreSW02
# [summary] +1 / -1

📖 完整教程: 网络设备配置还在手动导出?

Pro 版(¥99 一次性)

  • 无设备数限制
  • 定时任务 + 失败告警(邮件/企业微信/钉钉)
  • 配置变更周报
  • 1 年更新

购买链接: (见 releases 说明 / 联系作者)

状态

🚧 开发中 — 首个可用版本开发中。Star 关注进展。

License

MIT(代码),品牌与文档保留权利。

Metadata

Release files for netcfg-vault 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netcfg-vault 0.3.1
File Size Uploaded Provenance Actions
netcfg_vault-0.3.1.tar.gz 9.1 kB Without provenance Details for netcfg_vault-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netcfg-vault 0.3.1
File Interpreter ABI Platform Actions
netcfg_vault-0.3.1-py3-none-any.whl Python 3 none any Details for netcfg_vault-0.3.1-py3-none-any.whl

Total release size: 18.7 kB

Release files / netcfg_vault-0.3.1.tar.gz

Download URL netcfg_vault-0.3.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b14a6cbfcc7175ff57054c11bece8eb77df12276f59a4c7aad90880510f4f28c
BLAKE2b-256 checksum
How to use checksums
b430cca6a31afd50fb076d8337d63178317af9ce4b3cda39a9faee75ee0d5e25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / netcfg_vault-0.3.1-py3-none-any.whl

Download URL netcfg_vault-0.3.1-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae865d83107e6ed21b644ab39658f74acb513fd78f9c71f8ee1a76f6cf76a25c
BLAKE2b-256 checksum
How to use checksums
d0d18fdb081e0974a46e459527c47908d9e849f8a23107efc90e5248d12e86a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for netcfg-vault 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page