Skip to content

hussmaster/ProxSnapMgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxmox Snapshot Manager

This will utilize the python package proxmoxer. This is a community maintained package but it is on the official API Proxmox wiki.

The primary functionality of this project is the ability to manage snapshots of resources. Snapshotting multiple VMs/LXCs quickly as well as snapshot removal. When doing maintenance in my homelab I like to do updates on multiple machines at once so I wanted a way to quickly do this rather than go through the GUI one at a time. I also wanted the ability to only remove snapshots from certain VMs after updating.

Requirements

pip install -r requirements.txt

Or pip install the following

  • dotenv
  • inquirer
  • proxmoxer

You will also need to proxmox API key Create API Token

.env file with

API_TOKEN = "<api token>"
HOST = "<host ip>"
API_USER = "<username@pve>"
TOKEN_NAME = "<token name>"

Installation

To setup and use this project:

  1. Clone the repository:
git clone https://github.com/hussmaster/ProxSnapMgr
  1. Navigate to the project directory:
cd ProxSnapMgr
  1. Create a .env file in the root of the directory. Use the .env.example file as a guide.

Running the program

After cloning the repository, installing the required python packages, and editing the .env file. You can run the program in two ways

  1. Make main.sh exectuable and run the main.sh script
chmod +x main.sh
./main.sh
  1. Or you can run the python program directly
python3 src/main.py

Screenshots

Selection Screen

Selection Screen

Resource selection

Resource Selection

Snapshot creation

Snapshot Name

Removing snapshot

Remove Snapshot

About

Python based proxmox snapshot manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published