Skip to content

Instantly share code, notes, and snippets.

View wommy's full-sized avatar

Tommy Williams wommy

View GitHub Profile
#!/bin/bash
## so we're taking the Proxmox VE Host Backup script
## former ttech
## https://community-scripts.github.io/ProxmoxVE/scripts?id=host-backup
## aka
## bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/host-backup.sh)"
## LINKS
## https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/host-backup.sh
#!/bin/bash
## from https://backports.debian.org/Instructions/
## and Andrea Borman 's https://www.youtube.com/@AndreaBorman
## youtube video :: How To Update With Debian Backports On Debian Bookworm.
## https://www.youtube.com/watch?v=XDF2CB-q60M
echo 'deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware' >> /etc/apt/sources.list
apt update ; apt upgrade -y -t bookworm-backports ; apt autoremove -y
## LINKS
## https://pbs.proxmox.com/docs/backup-client.html#
## https://ed.llo:8007/#DataStore-pbs:content
proxmox-backup-client backup \
--repository ed:pbs \
--ns hosts/skylake1 \
root.pxar:/root \
etc.pxar:/etc --exclude /etc/pve
#!/usr/bin/bash
## apt-cache
echo 'Acquire::http::Proxy "http://192.168.10.14:3142";' | sudo tee /etc/apt/apt.conf.d/00aptproxy
## etckeeper
sudo apt update ; sudo apt install -y etckeeper
### zram
## zram-tools
#!/usr/bin/bash
## credits
##
## ive spent dozens and dozen of hours on zram
##
## may my blood sweat and tears benefit another
##
## loosely based on ::
## Gary Explains - How to enable ZRAM on the Raspberry Pi