added progress and exclude logs
This commit is contained in:
@@ -21,7 +21,14 @@ SSH_KEY="/home/DEIN_USER/.ssh/id_ed25519"
|
||||
rsync -avzh \
|
||||
-e "ssh -p $REMOTE_PORT -i $SSH_KEY" \
|
||||
--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.1' \
|
||||
--progress \
|
||||
"$SOURCE_DIR" "$REMOTE_USER@$REMOTE_HOST:$REMOTE_DIR"
|
||||
|
||||
# Status prüfen
|
||||
|
||||
Reference in New Issue
Block a user