Files
infrastructure/.gitea/workflows/backup-zfs.yml
Alex Mickelson cae3fdf479
Some checks failed
Apply Kuberentes Configs / update-repo (push) Failing after 2s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 1s
zfs backup via gitea
2026-02-07 14:54:31 -07:00

26 lines
561 B
YAML

name: ZFS Backup
on:
schedule:
- cron: 0 1 * * *
workflow_dispatch:
jobs:
update-infrastructure:
runs-on: [self-hosted, home-server]
steps:
- name: run syncoid
run: |
zpool status
echo ""
zfs list
echo ""
syncoid \
--recursive \
--no-privilege-elevation \
data-ssd/data \
backup/data
syncoid \
--recursive \
--no-privilege-elevation \
data-ssd/media \
backup/media