From ff2efd5ef28a5defc24d5373362d965301c10f3b Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Thu, 18 Aug 2022 01:20:42 +0200 Subject: [PATCH] fixed code fence --- content/posts/nextcloud-backup-script.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/nextcloud-backup-script.md b/content/posts/nextcloud-backup-script.md index 0731da1..d8e9e1c 100644 --- a/content/posts/nextcloud-backup-script.md +++ b/content/posts/nextcloud-backup-script.md @@ -10,7 +10,7 @@ series: ['Nextcloud Backup'] The script I use to create the Nextcloud backup is the following: -{% highlight sh %} +~~~ sh #!/usr/bin/bash set -e @@ -26,7 +26,7 @@ rsync -Aax --info=progress2 /var/www/nextcloud/ "$BACKUP_DIR/nextcloud-dirbkp" sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off -{% endhighlight %} +~~~ As one can clearly see, it is an interactive script that I invoke when updating my cloud. It performs the following steps: