zfs backup via gitea
Some checks failed
Apply Kuberentes Configs / update-repo (push) Failing after 2s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 1s

This commit is contained in:
2026-02-07 14:54:31 -07:00
parent 3ce79c4d5b
commit cae3fdf479
2 changed files with 26 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
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