mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-06-22 18:33:35 +02:00
Update scripts
This commit is contained in:
3
Makefile
3
Makefile
@ -18,7 +18,8 @@ ADMIN_SERVICES := yacht uptime-kuma openssh
|
||||
UTILS_SERVICES := it-tools stirlingpdf omni-tools
|
||||
IA_SERVICES := open-webui
|
||||
# gitea-runner
|
||||
#GAME_SERVICES := mc-server mc-backup 7daystodie_server 7daystodie_backup satisfactory_server satisfactory_backup
|
||||
GAME_SERVICES := mc-server mc-backup
|
||||
# 7daystodie_server 7daystodie_backup satisfactory_server satisfactory_backup
|
||||
PROJECT_DIRECTORY := infrastructure
|
||||
|
||||
DOCKER_PROFILES := main_infrastructure caddy homepage $(BLOG_SERVICES) $(SHARING_SERVICES) $(TORRENTS_SERVICES) $(ADMIN_SERVICES) $(UTILS_SERVICES) $(IA_SERVICES) $(GAME_SERVICES)
|
||||
|
Submodule infrastructure/services/minecraft-server updated: e8c743491a...3e0e4296f7
13
tools/sync_data.sh
Executable file
13
tools/sync_data.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 <source> <destination>"
|
||||
echo "Example: $0 admin@192.168.1.2:/mydata/backup /local/backup"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SOURCE="${1}"
|
||||
DEST="${2}"
|
||||
|
||||
rsync -e 'ssh -p 2222' --progress --human-readable --archive --verbose --compress --acls --xattrs --bwlimit=30000 --stats --delete-during "${SOURCE}" "${DEST}"
|
Reference in New Issue
Block a user