User Tools

Site Tools


computing:nixnscripts

This is an old revision of the document!



  • nixnscripts
  • Jonathan Haack
  • Haack's Networking
  • webmaster@haacksnetworking.org

nixnscripts


First of all, I maintain a self-hosted gitlab where I regularly push many of the scripts and configs I link here: haackingclub. This wiki post is a place for me to keep the most important scripts, configs, cron syntax, log rules, etc., for my most important workflows.

To backup one or more VMs, compress the VMs with tar and pbzip2 for extra space, and time how long it took to complete.

Helpful little scripts to conduct or clear out zfs/virsh snapshots, zfs scrubbing, display zfs stats at once:

To backup mariadb or postgres databases, I use something like these:

To ensure the web server, database, fail2ban, keep running, I do something like these:

On my home server, I have a little script that checks if AirSonic is running and restarts it if not. This allows me to freely update the homeserver VM and not worry about whether our music will be available after:

oemb1905 2022/11/24 11:51

computing/nixnscripts.1669327058.txt.gz · Last modified: 2022/11/24 21:57 by oemb1905