added progress and exclude logs

This commit is contained in:
2026-04-02 12:25:30 +02:00
parent 8f85afafdb
commit 6039b606e1
+7
View File
@@ -21,7 +21,14 @@ SSH_KEY="/home/DEIN_USER/.ssh/id_ed25519"
rsync -avzh \ rsync -avzh \
-e "ssh -p $REMOTE_PORT -i $SSH_KEY" \ -e "ssh -p $REMOTE_PORT -i $SSH_KEY" \
--exclude 'nextcloud.log' \ --exclude 'nextcloud.log' \
--exclude 'nextcloud.log.1' \
--exclude 'audit.log' \
--exclude 'audit.log.1' \
--exclude 'updater.log' \
--exclude 'updater.log.1' \
--exclude 'flow.log' \ --exclude 'flow.log' \
--exclude 'flow.log.1' \
--progress \
"$SOURCE_DIR" "$REMOTE_USER@$REMOTE_HOST:$REMOTE_DIR" "$SOURCE_DIR" "$REMOTE_USER@$REMOTE_HOST:$REMOTE_DIR"
# Status prüfen # Status prüfen