Corsinvest.ProxmoxVE.NodeProtect.Api 2.2.0

dotnet add package Corsinvest.ProxmoxVE.NodeProtect.Api --version 2.2.0
                    
NuGet\Install-Package Corsinvest.ProxmoxVE.NodeProtect.Api -Version 2.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Corsinvest.ProxmoxVE.NodeProtect.Api" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Corsinvest.ProxmoxVE.NodeProtect.Api" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Corsinvest.ProxmoxVE.NodeProtect.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Corsinvest.ProxmoxVE.NodeProtect.Api --version 2.2.0
                    
#r "nuget: Corsinvest.ProxmoxVE.NodeProtect.Api, 2.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Corsinvest.ProxmoxVE.NodeProtect.Api@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Corsinvest.ProxmoxVE.NodeProtect.Api&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Corsinvest.ProxmoxVE.NodeProtect.Api&version=2.2.0
                    
Install as a Cake Tool

<img src="icon.png" alt="" height="36" align="top"> cv4pve-node-protect

     ______                _                      __
    / ____/___  __________(_)___ _   _____  _____/ /_
   / /   / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
  / /___/ /_/ / /  (__  ) / / / / |/ /  __(__  ) /_
  \____/\____/_/  /____/_/_/ /_/|___/\___/____/\__/

Node Protect for Proxmox VE (Made in Italy)

License Release Downloads NuGet WinGet AUR

Configuration backup for Proxmox VE nodes: connects to each node over SSH and saves the files you choose, from /etc/network/interfaces to the cluster database, in one tar.gz per node with automatic retention.

Documentation

Prefer a web interface with scheduled backups? cv4pve-node-protect also runs inside cv4pve-admin, as its Node Protect module.


Why

Proxmox VE backup jobs save your VMs and containers, not the node they run on. Bridges, bonds and VLANs, /etc/hosts, storage definitions, the cluster configuration in /etc/pve, certificates, SSH keys, cron jobs and scripts live on the node. When its boot disk dies, rebuilding them by hand is slow and easy to get wrong.

cv4pve-node-protect copies those files from every node into a dated archive, on a schedule, so you can see what changed and put back exactly what was there. It runs outside the nodes and connects over SSH, not through the Proxmox VE API. Nothing is installed or written on the nodes. It needs root, and the archives contain secrets: read SSH access and security first.


Features

  • The whole cluster in one run: every node in --host, one archive per node in the same dated folder.
  • You choose what goes in: /etc, the readable /etc/pve files, the cluster database, crontabs, SSH keys, your scripts.
  • Nothing left on the nodes: tar streams over SSH straight into your local file, with no temporary files and no agent.
  • Retention: --keep removes the oldest dated folders, never other folders.
  • Plain tar.gz: restore with standard tools, step by step.
  • Password or SSH key, custom port per host, IPv4, IPv6 and host names.
  • .NET library: the engine is on NuGet as Corsinvest.ProxmoxVE.NodeProtect.Api.

Quick start

# Windows
winget install Corsinvest.cv4pve.nodeprotect

# Linux (other platforms and packages: see the documentation)
wget https://github.com/Corsinvest/cv4pve-node-protect/releases/latest/download/cv4pve-node-protect-linux-x64.zip
unzip cv4pve-node-protect-linux-x64.zip && chmod +x cv4pve-node-protect

# Back up three nodes, keep a week
mkdir -p /srv/node-protect && chmod 700 /srv/node-protect
./cv4pve-node-protect --host=pve01,pve02,pve03 --username=root --private-key-file=/root/.ssh/id_ed25519 \
  backup --paths='/etc/.;/etc/pve/.;/var/lib/pve-cluster/.' --directory-work=/srv/node-protect --keep=7

/etc/. alone does not include /etc/pve: what to back up explains why and which paths to add.


Documentation

Getting started Install, first backup, the options of backup
SSH access and security The account it needs, host keys, protecting the archives
Connection What runs on each node, hosts and ports, authentication, options in a file
What to back up Recommended paths, /etc/pve and the cluster database
Archives and retention Layout, format, --keep, what happens when a run fails
Scheduling cron and Task Scheduler
Restore A single file, a reinstalled node, a lost node
.NET library The engine in your own application
Troubleshooting Diagnostic options and common errors

cv4pve-node-protect protects the node; cv4pve-autosnap takes scheduled snapshots of the guests, cv4pve-report documents the whole cluster. The whole suite: corsinvest.it/cv4pve.


Support

Professional support and consulting available through Corsinvest.


Part of cv4pve suite | Made with ❤️ in Italy by Corsinvest

Copyright © Corsinvest Srl

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Corsinvest.ProxmoxVE.NodeProtect.Api:

Repository Stars
Corsinvest/cv4pve-admin
Web management platform for Proxmox VE clusters: like vCenter but for Proxmox
Version Downloads Last Updated
2.2.0 442 9/30/2026
2.1.1 402 4/20/2026
2.1.0 147 4/17/2026
2.0.1 137 4/16/2026
1.8.0 351 12/16/2025
1.7.0 310 3/21/2025
1.6.1 374 5/2/2024
1.6.0 282 2/29/2024
1.5.0 949 7/14/2022
1.4.0 744 4/29/2021
1.3.4 752 10/12/2020
1.3.3 689 9/28/2020
1.3.2 800 8/24/2020
1.3.1 771 7/30/2020
1.3.0 782 7/17/2020
1.2.0 747 6/20/2020
1.1.0 745 5/12/2020
1.0.0 820 4/17/2020