<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>rsync – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/rsync/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Fri, 05 Jun 2026 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/rsync/index.xml" rel="self" type="application/rss+xml"/><item><title>Replacing Cron Jobs with Jenkins for Nextcloud Backups 🚀</title><link>https://www.apt-upgrade.me/2026/06/05/replacing-cron-jobs-with-jenkins-for-nextcloud-backups-%F0%9F%9A%80/</link><pubDate>Fri, 05 Jun 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/06/05/replacing-cron-jobs-with-jenkins-for-nextcloud-backups-%F0%9F%9A%80/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Two cron jobs backed up my Nextclouds every night – reliably, but without any overview of whether a backup had failed three days or three weeks ago. Now &lt;a href="https://www.jenkins.io/"&gt;Jenkins&lt;/a&gt; starts the two backup scripts and shows history, duration and output in a web interface. Plus a trick to save job configurations as XML.&lt;/p&gt;&#10;&lt;p&gt;Today I spent some time exploring &lt;strong&gt;Jenkins&lt;/strong&gt; in my homelab environment.&lt;/p&gt;&#10;&lt;p&gt;For those who somehow managed to avoid Jenkins during the last decade: Jenkins is one of the most widely used open-source automation servers available today. Originally released in 2011 as a fork of the Hudson project, Jenkins has become one of the cornerstones of modern DevOps workflows. It is primarily used for Continuous Integration (CI) and Continuous Delivery (CD), automating software builds, tests, deployments, and all kinds of recurring administrative tasks. If a process can be automated, Jenkins can probably handle 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;&lt;a href="https://nextcloud.com/"&gt;Nextcloud&lt;/a&gt; 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>