feat: Initial commit for OnEver Drive centralized backup system with Windows PyQt6 agent and Proxmox LXC deployment

This commit is contained in:
2026-08-13 19:33:44 -03:00
commit 1bfb808c79
77 changed files with 10675 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
# ==============================================================================
# OnEver Drive — Proxmox VE LXC 2: Dedicated Storage Node Setup Script
# Target: Debian 12 Bookworm LXC (CT 101)
# ==============================================================================
set -e
echo "=== [1/4] Configurando nodo de almacenamiento Proxmox VE ==="
apt-get update && apt-get install -y nfs-kernel-server rsync zfsutils-linux acl
echo "=== [2/4] Creando jerarquía de almacenamiento y permisos de aislamiento ==="
mkdir -p /storage/backups/clients
mkdir -p /storage/temp
chmod 750 /storage/backups
chmod 770 /storage/temp
echo "=== [3/4] Configuración de punto de montaje persistente ==="
# En Proxmox Host (pve), montar el dataset ZFS o volumen LVM con:
# pct set 100 -mp0 /mnt/pve/backup-zfs/backups,mp=/storage/backups
cat <<EOF
--------------------------------------------------------------------------------
Para vincular este almacenamiento con el LXC 1 (Backend) en el nodo Proxmox Host:
Ejecute en el shell del nodo Proxmox VE:
pct set 100 -mp0 /storage/backups,mp=/storage/backups
pct set 100 -mp1 /storage/temp,mp=/storage/temp
--------------------------------------------------------------------------------
EOF
echo "=== [4/4] Storage Node configurado correctamente ==="