Skip to content

Instantly share code, notes, and snippets.

View f18m's full-sized avatar
🌍

Francesco Montorsi f18m

🌍
View GitHub Profile
@huyz
huyz / backup.sh
Created April 17, 2026 11:33
UptimeKuma back-up scripts. (Tip: use backup-warden to automatically delete old backups)
#!/bin/bash
# vim: set nomodifiable : Ansible-managed: Do NOT edit this file manually
# Given that I have a bind mount from `/srv/uptimekuma/data` on host to `/app/data` within the container
# 2024-12-21 per https://github.com/louislam/uptime-kuma/issues/1260#issuecomment-1427974555
#### Preamble (v2024-04-22)
set -euo pipefail
shopt -s failglob
# shellcheck disable=SC2317