#!/bin/bash
# Backup vom Mac Mini zum MacBook
MAC_MINI="benjaminadmin@192.168.178.163"
BACKUP_DIR="/Users/benjaminadmin/Projekte/breakpilot-pwa-backup-$(date +%Y%m%d)"

echo "📥 Backup vom Mac Mini..."
mkdir -p "$BACKUP_DIR"

rsync -av --exclude='venv' --exclude='node_modules' --exclude='__pycache__' \
    ${MAC_MINI}:~/Projekte/breakpilot-pwa/ \
    "$BACKUP_DIR/"

echo "✅ Backup complete: $BACKUP_DIR"
