This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}" |