1
0

first commit

This commit is contained in:
2026-01-26 15:36:52 +01:00
commit 23da3d20b5
30 changed files with 1022 additions and 0 deletions

34
system/backup.yaml Normal file
View File

@@ -0,0 +1,34 @@
# yaml-language-server: $schema=https://git.jesof.ch/public/mstr-schemas/raw/branch/main/mstr-tasks-schema.json
tasks:
- set:
variables:
- varName: "volume"
value: "/Volumes/Backup-1"
- set:
variables:
- varName: "volume"
value: "/Volumes/Backup-2"
when: $(dirExists("/Volumes/Backup-2"))
- execute:
description: "Start backup rp02"
exec: "rsync"
timeout: 6h
dir: "$(volume)"
args:
- "-a"
- "-v"
- "root@rp02.localnet:/backup/*"
- "."
- execute:
description: "Start backup rp03"
exec: "rsync"
timeout: 6h
dir: "$(volume)"
args:
- "-a"
- "-v"
- "root@rp03.localnet:/backup/*"
- "."