<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nextcloud Backup – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/nextcloud-backup/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Tue, 15 Jul 2025 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/nextcloud-backup/index.xml" rel="self" type="application/rss+xml"/><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>🛡️ 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>