Add Forgejo daily backup automation (T04/T09 Option A)
make forgejo-backup runs forgejo dump + pg_dump, age-encrypts, uploads to Nextcloud forgejo/ prefix. Includes dry-run, status, and operator docs.
This commit is contained in:
parent
0055e8f3f7
commit
074e7f8441
3 changed files with 25 additions and 10 deletions
8
lib/railiance-print.sh
Normal file
8
lib/railiance-print.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# lib/railiance-print.sh — shared pretty printers for platform operator tools
|
||||
set -euo pipefail
|
||||
|
||||
print_hdr() { printf "\n%s\n" "$1"; printf "%0.s-" $(seq 1 "${#1}"); echo; }
|
||||
ok() { printf " ✅ %-12s %s\n" "$1" "$2"; }
|
||||
warn() { printf " ⚠️ %-12s %s\n" "$1" "$2"; }
|
||||
bad() { printf " ❌ %-12s %s\n" "$1" "$2"; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue