Some checks failed
Update home server containers / update-repo (push) Failing after 0s
Update home server containers / update-infrastructure (push) Has been skipped
Apply Kuberentes Configs / update-repo (push) Failing after 0s
Apply Kuberentes Configs / update-infrastructure (push) Has been skipped
Libation / sync-audiobooks (push) Failing after 0s
Manage Jellyfin Playlists / run-python (push) Failing after 0s
ZFS Backup / update-infrastructure (push) Successful in 1m10s
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
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
|
|
# steps:
|
|
# - name: run syncoid
|
|
# run: |
|
|
# zpool status
|
|
# echo ""
|
|
# zfs list
|
|
# echo ""
|
|
# syncoid \
|
|
# --recursive \
|
|
# --no-privilege-elevation \
|
|
# --no-rollback \
|
|
# data-ssd/data \
|
|
# backup/data
|
|
|
|
# syncoid \
|
|
# --recursive \
|
|
# --no-privilege-elevation \
|
|
# --no-rollback \
|
|
# data-ssd/media \
|
|
# backup/media |