Skip to content

Instantly share code, notes, and snippets.

@PedroCavaleiro
PedroCavaleiro / debian13upgrade.sh
Last active July 26, 2026 04:21
Debian 13 upgrade script
#!/bin/bash
# A sequence of scripts to safely upgrade from Debian 12 to Debian 13
# This is based of this guide https://linuxconfig.org/how-to-upgrade-debian-to-latest-version
# This script ONLY executes the commands, some commands require user input for confirmations
# EMERGENCY RECOVERY
# If the upgrade fails and your system becomes unbootable, use a Debian 13 live USB to access recovery tools and restore your system from backups or fix package conflicts.
# Run as root (by logging in as root)
@sdellysse
sdellysse / .pbc-config.sh
Last active May 20, 2026 05:52
Proxmox Backup Client setup
export PBS_HOST="10.69.4.20"
export PBS_PORT="8007"
export PBS_USERNAME="root@pam"
export PBS_PASSWORD="totallymyrealpassword"
export PBS_DATASTORE="tank"
export PBS_NAMESPACE="backups"
export PBS_FINGERPRINT="fi:ng:er:pr:in:ts:ar:en:ts:ec:re:tb:ut:im:ch:an:gi:ng:it:an:yw:ay"
export PBS_REPOSITORY="${PBS_USERNAME}@${PBS_HOST}:${PBS_PORT}:${PBS_DATASTORE}"