Skip to content

Instantly share code, notes, and snippets.

@Bubbgump209
Bubbgump209 / gist:b7d209434d6c1468157c74977a8dd80d
Last active December 20, 2021 00:29
Proxmox Backup Client host based backup example
#!/bin/bash
export PBS_PASSWORD="somepassword"
proxmox-backup-client backup pve-etc.pxar:/etc --include-dev /etc/pve --repository some.ip.or.dns:Backups > /dev/null
#Parameter descriptions
#The password of the user *on the target PBS server* that is running the script. If you run the script as user 'johndoe', the PBS server must have a user 'johndoe' on the system with proper ACLs in PBS and this is that user's password. If you're using LDAP or something non-local, that's a another story.
#export PBS_PASSWORD="somepassword"
@Bubbgump209
Bubbgump209 / gist:ceaf39bad9e589975633f72022098794
Last active January 6, 2020 01:34
New Pihole setup on GCP and Buster
New PiHole
apt install zram-tools
nano /etc/default/zramswap
###
ALLOCATION=512
###
systemctl enable zramswap