check folders and target git repo

This commit is contained in:
trnq1ll0 committed 2026-03-08 12:58:50 +01:00
1 parent 89c6a001c7
commit 35eb53ccea
2 files changed
+31 -26

No files matched your search

+3 -5
View File
@@ -1,11 +1,9 @@
# Remote rsync source. Example: backup@example.com:/srv/data/project/
RSYNC_SOURCE="user@example.com:/path/to/source/"
# Local sync destination (must be a directory inside GIT_REPO_DIR)
RSYNC_TARGET_DIR="/path/to/monorepo/backups/source"
# Local monorepo path
GIT_REPO_DIR="/path/to/monorepo"
# Local target directory for rsync; this directory is also used as git repository
# Must be outside the main project repository
RSYNC_TARGET_DIR="/path/to/backup-repo"
# Prefix for commit message (timestamp is appended automatically)
COMMIT_MESSAGE_PREFIX="backup: rsync sync"