This commit is contained in:
Rizqi 2026-06-21 12:25:23 +07:00
parent b06961d915
commit 5b8d96f1e0
17 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,7 @@
# vSphere Snapshot Backup Tool # vSphere Backup Manager
A web interface and CLI tool to automate, schedule, and manage snapshot-based backups for virtual machines on VMware vCenter/ESXi.
Simple CLI to automate the snapshot -> copy -> compress -> delete workflow for a VM on vCenter/ESXi.
Requirements Requirements
- Python 3.8+ - Python 3.8+
@ -50,8 +51,9 @@ PM2 natively supports Python applications and can keep the server running across
3. **Useful PM2 Commands**: 3. **Useful PM2 Commands**:
- Status: `pm2 status` - Status: `pm2 status`
- Logs: `pm2 logs vsphere-backup-gui` - Logs: `pm2 logs vsphere-backup-manager`
- Restart: `pm2 restart vsphere-backup-gui` - Restart: `pm2 restart vsphere-backup-manager`
- Stop: `pm2 stop vsphere-backup-gui` - Stop: `pm2 stop vsphere-backup-manager`
- Setup auto-start on server boot: `pm2 startup` and then run the command it outputs, followed by `pm2 save`. - Setup auto-start on server boot: `pm2 startup` and then run the command it outputs, followed by `pm2 save`.

View File

@ -1,7 +1,7 @@
module.exports = { module.exports = {
apps: [ apps: [
{ {
name: 'vsphere-backup-gui', name: 'vsphere-backup-manager',
script: 'gui_app.py', script: 'gui_app.py',
// If you are using a virtual environment (recommended), set the interpreter to: // If you are using a virtual environment (recommended), set the interpreter to:
// interpreter: './venv/bin/python3', // interpreter: './venv/bin/python3',