<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shell Script – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/shell-script/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Wed, 20 Aug 2025 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/shell-script/index.xml" rel="self" type="application/rss+xml"/><item><title>Debian 13 Upgrade Adventure – With a Little Help from ChatGPT 🐧🤖</title><link>https://www.apt-upgrade.me/2025/08/20/debian-13-upgrade-adventure-with-a-little-help-from-chatgpt-%F0%9F%90%A7%F0%9F%A4%96/</link><pubDate>Wed, 20 Aug 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/08/20/debian-13-upgrade-adventure-with-a-little-help-from-chatgpt-%F0%9F%90%A7%F0%9F%A4%96/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; I asked ChatGPT to write me a Bash script that upgrades Debian 12 to Debian 13 – the sysadmin equivalent of &amp;ldquo;hold my beer&amp;rdquo;. Tested in a VM with a backup first, it went surprisingly smoothly. The post shows the script, why sharing it can also be dangerous, and my conclusion.&lt;/p&gt;&#10;&lt;p&gt;So today I did something both brilliant &lt;em&gt;and&lt;/em&gt; borderline reckless: I asked ChatGPT to whip up a &lt;strong&gt;Bash script&lt;/strong&gt; that upgrades a &lt;strong&gt;Debian 12&lt;/strong&gt; system to the fresh new &lt;strong&gt;Debian 13&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>🛡️ Nextcloud Backup Like a Pro – Automated with Bash</title><link>https://www.apt-upgrade.me/2025/07/11/%F0%9F%9B%A1%EF%B8%8F-nextcloud-backup-like-a-pro-automated-with-bash/</link><pubDate>Fri, 11 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/11/%F0%9F%9B%A1%EF%B8%8F-nextcloud-backup-like-a-pro-automated-with-bash/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Backing up Nextcloud without breaking a sweat: this lean Bash script switches on maintenance mode, syncs the data directory, dumps the database and switches maintenance mode off again. The post shows the script ready to adapt, where your own credentials go and why you test first and automate afterwards.&lt;/p&gt;&#10;&lt;p&gt;Ever wanted to backup your self-hosted &lt;strong&gt;Nextcloud&lt;/strong&gt; instance without sweating bullets? Tired of rsync-ing folders manually or risking broken databases? Buckle up, sysadmin – here’s a neat little &lt;strong&gt;Bash script&lt;/strong&gt; that does the dirty work for you. From enabling maintenance mode to syncing your external data and dumping your MySQL database – it’s all handled in a single run. 🧠&lt;/p&gt;</description></item></channel></rss>