<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Automatización on Servicios Rogeliowar</title><link>https://blog.serviciosrogeliowar.com/en/tags/automatizaci%C3%B3n/</link><description>Recent content in Automatización on Servicios Rogeliowar</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Rogelio Guerra Riverón</copyright><lastBuildDate>Mon, 11 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.serviciosrogeliowar.com/en/tags/automatizaci%C3%B3n/index.xml" rel="self" type="application/rss+xml"/><item><title>Restic: encrypted backups with deduplication for your Linux server</title><link>https://blog.serviciosrogeliowar.com/en/posts/restic-backups-cifrados-deduplicacion/</link><pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate><guid>https://blog.serviciosrogeliowar.com/en/posts/restic-backups-cifrados-deduplicacion/</guid><description>&lt;p&gt;I already had &lt;a href="https://blog.serviciosrogeliowar.com/en/posts/backups-automaticos-con-rsync-y-cron-para-docker-domestico/" &gt;backups with rsync and cron&lt;/a&gt;, but rsync copies files, not snapshots. If you accidentally delete a file and the backup syncs before you notice, you lose it. &lt;a href="https://restic.net/" target="_blank" rel="noreferrer"&gt;Restic&lt;/a&gt; solves that and adds something rsync will never provide: &lt;strong&gt;AES-256 encryption, deduplication, and snapshots with navigable history&lt;/strong&gt;.&lt;/p&gt;

&lt;h2 class="relative group"&gt;What makes Restic different
 &lt;div id="what-makes-restic-different" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#what-makes-restic-different" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Feature&lt;/th&gt;
					&lt;th&gt;rsync&lt;/th&gt;
					&lt;th&gt;Restic&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;AES-256 encryption&lt;/td&gt;
					&lt;td&gt;No&lt;/td&gt;
					&lt;td&gt;Yes&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Deduplication&lt;/td&gt;
					&lt;td&gt;No&lt;/td&gt;
					&lt;td&gt;Yes (block-level)&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Navigable snapshots&lt;/td&gt;
					&lt;td&gt;No&lt;/td&gt;
					&lt;td&gt;Yes&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Multiple backends&lt;/td&gt;
					&lt;td&gt;No&lt;/td&gt;
					&lt;td&gt;SFTP, S3, Backblaze, rclone…&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Integrity checking&lt;/td&gt;
					&lt;td&gt;No&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;restic check&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Retention policy&lt;/td&gt;
					&lt;td&gt;Manual&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;restic forget --prune&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Deduplication is especially useful for database backups and configuration directories that change little: a Restic repository with 6 months of daily backups usually takes up much less space than 180 full copies.&lt;/p&gt;</description></item><item><title>Systemd timers: the modern cron alternative you needed</title><link>https://blog.serviciosrogeliowar.com/en/posts/systemd-timers-la-alternativa-moderna-a-cron-que-necesitabas/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://blog.serviciosrogeliowar.com/en/posts/systemd-timers-la-alternativa-moderna-a-cron-que-necesitabas/</guid><description>&lt;h2 class="relative group"&gt;Why I Left Cron
 &lt;div id="why-i-left-cron" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#why-i-left-cron" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve been using cron on my servers for years. It&amp;rsquo;s simple, reliable, and it works. But recently I discovered systemd timers and I&amp;rsquo;m not going back. The main reason: &lt;strong&gt;integrated logs in journald&lt;/strong&gt;, no &lt;code&gt;.log&lt;/code&gt; files scattered around the system, and better control over what happens when the server starts or reboots.&lt;/p&gt;
&lt;p&gt;In my specific case, I had a backup that wouldn&amp;rsquo;t run if the server was off at the scheduled time. With cron, it simply got lost. With systemd timers and &lt;code&gt;Persistent=true&lt;/code&gt;, the task runs as soon as the server boots up.&lt;/p&gt;</description></item><item><title>AI Agent with Claude Haiku to Generate Blog Articles from the Terminal</title><link>https://blog.serviciosrogeliowar.com/en/posts/agente-ia-con-claude-haiku-para-generar-articulos-de-blog-desde-el-terminal/</link><pubDate>Thu, 30 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog.serviciosrogeliowar.com/en/posts/agente-ia-con-claude-haiku-para-generar-articulos-de-blog-desde-el-terminal/</guid><description>&lt;h2 class="relative group"&gt;Why Automate Content Generation
 &lt;div id="why-automate-content-generation" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#why-automate-content-generation" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Writing technical articles takes time. Between server configuration, troubleshooting, and documentation, I find little time to write. So I decided to create an AI agent to help me structure and generate drafts from the terminal.&lt;/p&gt;
&lt;p&gt;Claude Haiku is perfect for this: it&amp;rsquo;s fast, cheap, and works well for text generation tasks. It doesn&amp;rsquo;t require powerful GPUs. I simply run a script and have an article ready to edit.&lt;/p&gt;</description></item><item><title>CI/CD with local GitLab Runner to automatically deploy a Hugo blog</title><link>https://blog.serviciosrogeliowar.com/en/posts/cicd-con-gitlab-runner-local-para-desplegar-automaticamente-un-blog-hugo/</link><pubDate>Thu, 30 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog.serviciosrogeliowar.com/en/posts/cicd-con-gitlab-runner-local-para-desplegar-automaticamente-un-blog-hugo/</guid><description>&lt;h2 class="relative group"&gt;Introduction
 &lt;div id="introduction" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#introduction" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Tired of manually deploying my Hugo blog every time I publish an article. I decided to set up a local CI/CD pipeline with GitLab Runner. The result: automatic, reliable, and without depending on external services.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Prerequisites
 &lt;div id="prerequisites" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#prerequisites" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;You need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A server with Docker installed&lt;/li&gt;
&lt;li&gt;A repository on GitLab (can be self-hosted or gitlab.com)&lt;/li&gt;
&lt;li&gt;Hugo installed locally for testing&lt;/li&gt;
&lt;li&gt;SSH access configured on your server&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 class="relative group"&gt;Installing GitLab Runner
 &lt;div id="installing-gitlab-runner" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#installing-gitlab-runner" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;First, install GitLab Runner on your server. I did it on Docker because I already had the daemon running.&lt;/p&gt;</description></item></channel></rss>