<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>sysadmin tools – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/sysadmin-tools/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Thu, 24 Jul 2025 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/sysadmin-tools/index.xml" rel="self" type="application/rss+xml"/><item><title>🚀 Bulk-Import Users into Nextcloud via CSV + Group Assignment (Shell Edition)</title><link>https://www.apt-upgrade.me/2025/07/24/%F0%9F%9A%80-bulk-import-users-into-nextcloud-via-csv-group-assignment-shell-edition/</link><pubDate>Thu, 24 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/24/%F0%9F%9A%80-bulk-import-users-into-nextcloud-via-csv-group-assignment-shell-edition/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; You want to create many users in Nextcloud at once, each with groups? This pure shell script reads them from a CSV file, creates them via &lt;code&gt;occ&lt;/code&gt; and assigns them one or more groups. The post shows prerequisites, the CSV format, the script, usage and a few notes on passwords and groups.&lt;/p&gt;&#10;&lt;p&gt;So, you&amp;rsquo;re running a Nextcloud instance and want to batch-create users like a proper sysadmin? Here&amp;rsquo;s a &lt;strong&gt;pure shell-based solution&lt;/strong&gt; to create users from a CSV file, assign them to groups (even multiple ones), and feel like a boss while doing it.&lt;/p&gt;</description></item><item><title>🚀 Moving a Grown-Up Nextcloud Instance to a Fresh Server (with Bash &amp; Ansible)</title><link>https://www.apt-upgrade.me/2025/07/15/%F0%9F%9A%80-moving-a-grown-up-nextcloud-instance-to-a-fresh-server-with-bash-ansible/</link><pubDate>Tue, 15 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/15/%F0%9F%9A%80-moving-a-grown-up-nextcloud-instance-to-a-fresh-server-with-bash-ansible/</guid><description>&lt;p&gt;&lt;em&gt;(This article is the logical follow-up to the backup script described here: &lt;a href="https://www.apt-upgrade.me/2025/07/11/%f0%9f%9b%a1%ef%b8%8f-nextcloud-backup-like-a-pro-automated-with-bash/" target="_blank" rel="noopener"&gt;Nextcloud Backup Like a Pro – Automated with Bash&lt;/a&gt;. Both posts go hand in hand to complete the full migration and disaster recovery (workflow.)&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; After a few years my Nextcloud, with countless files, calendars and contacts, was ready for a new server. This post continues the backup script from the previous post and shows a migration script with Bash and &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; that brings the grown instance, data and database included, onto the new machine – the complete path for moving and disaster recovery.&lt;/p&gt;</description></item><item><title>Pi-hole installed. Ads: terminated.</title><link>https://www.apt-upgrade.me/2025/05/22/pi-hole-installed_ads_terminated/</link><pubDate>Thu, 22 May 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/05/22/pi-hole-installed_ads_terminated/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Pi-hole is the Gandalf of my network: as a local DNS server it calls out &amp;ldquo;You shall not pass!&amp;rdquo; to ads and trackers – for every device in the house at once. The post explains how Pi-hole works, how to customise it, why DNS caching makes things faster, the full-nerd mode with Unbound and local DNS records for the homelab.&lt;/p&gt;&#10;&lt;h2 id="-pi-hole--the-dns-guardian-of-your-network"&gt;🧙 Pi-hole – The DNS Guardian of Your Network&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Pi-hole is like the Gandalf of your network&lt;/strong&gt; — standing at the gateway shouting:&lt;/p&gt;</description></item></channel></rss>