auto: sync 2026-05-28
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
CT104="root@192.168.1.40"
|
||||
STAGING="/mnt/pve/unas/services/shared-db-garage"
|
||||
|
||||
mkdir -p "$STAGING"
|
||||
|
||||
# Rsync Garage data and meta dirs (hot copy — Garage is append-only, safe to snapshot)
|
||||
rsync -rlptD --no-owner --no-group --delete "$CT104":/opt/stacks/shared-db/garage/data/ "$STAGING/data/"
|
||||
rsync -rlptD --no-owner --no-group --delete "$CT104":/opt/stacks/shared-db/garage/meta/ "$STAGING/meta/"
|
||||
|
||||
echo "[$(date)] garage-prestage: done ($(du -sh $STAGING | cut -f1))"
|
||||
Reference in New Issue
Block a user