Skip to content

Instantly share code, notes, and snippets.

View vinanrra's full-sized avatar
🐒
Working from home

Vicente Fernández Guerra vinanrra

🐒
Working from home
View GitHub Profile
@vinanrra
vinanrra / vhbackup.py
Created November 28, 2022 17:25 — forked from jclc/vhbackup.py
#!/bin/env python3
import os, sys, datetime, lzma, tarfile
MAX_BACKUPS = 10
BACKUP_DIR = "backups"
SERVER_DIR = "" # set your server installation directory here, eg. /home/vhserver
DIRS_TO_BACKUP = [
"lgsm/config-lgsm",
"savedir",