This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:nixnscripts [2022/11/24 21:57] – oemb1905 | computing:nixnscripts [2022/12/23 03:34] (current) – removed oemb1905 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ------------------------------------------- | ||
- | * **nixnscripts** | ||
- | * **Jonathan Haack** | ||
- | * **Haack' | ||
- | * **webmaster@haacksnetworking.org** | ||
- | ------------------------------------------- | ||
- | |||
- | // | ||
- | |||
- | ------------------------------------------- | ||
- | |||
- | First of all, I maintain a self-hosted gitlab where I regularly push many of the scripts and configs I link here: [[https:// | ||
- | |||
- | 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:// | ||
- | - [[http:// | ||
- | |||
- | Helpful little scripts to conduct or clear out zfs/virsh snapshots, zfs scrubbing, display zfs stats at once: | ||
- | |||
- | - [[http:// | ||
- | - [[http:// | ||
- | - [[http:// | ||
- | - [[http:// | ||
- | |||
- | To backup mariadb or postgres databases, I use something like these: | ||
- | |||
- | - [[http:// | ||
- | - [[http:// | ||
- | - [[http:// | ||
- | - [[http:// | ||
- | |||
- | To ensure the web server, database, fail2ban, keep running, I do something like these: | ||
- | |||
- | - [[http:// | ||
- | - [[http:// | ||
- | - [[http:// | ||
- | |||
- | 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:// | ||
- | |||
- | |||
- | |||
- | |||
- | --- // |