User Tools

Site Tools


computing:nixnscripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:nixnscripts [2022/11/24 21:57] oemb1905computing:nixnscripts [2022/12/23 03:34] (current) – removed oemb1905
Line 1: Line 1:
-------------------------------------------- 
-  * **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: [[https://repo.haacksnetworking.org/oemb1905/haackingclub|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. 
- 
-  - [[http://example.com|loop-business.sh]] 
-  - [[http://example.com|loop-student.sh]] 
- 
-Helpful little scripts to conduct or clear out zfs/virsh snapshots, zfs scrubbing, display zfs stats at once: 
- 
-  - [[http://example.com|zfs-snapshot.sh]] 
-  - [[http://example.com|zfs-scrub.sh]] 
-  - [[http://example.com|stats.sh]] 
-  - [[http://example.com|vm-snapshot]] 
- 
-To backup mariadb or postgres databases, I use something like these: 
- 
-  - [[http://example.com|External sfsLink]] 
-  - [[http://example.com|External sfsLink]] 
-  - [[http://example.com|External sfsLink]] 
-  - [[http://example.com|External sfsLink]] 
- 
-To ensure the web server, database, fail2ban, keep running, I do something like these: 
- 
-  - [[http://example.com|External sfsLink]] 
-  - [[http://example.com|External sfsLink]] 
-  - [[http://example.com|External sfsLink]] 
- 
-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: 
- 
-  - [[http://example.com|External sfsLink]] 
- 
- 
- 
- 
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/11/24 11:51// 
computing/nixnscripts.1669327058.txt.gz · Last modified: 2022/11/24 21:57 by oemb1905