With the following command, most first-level folders copied to the destination are empty.
bash /home/admin/bin/rsync-time-backup.sh /mnt/apps/ rsync@100.113.8.21:/volume1/TruenasBackup/apps
--recursive is mentioned among the rsync flags (obtained with bash script.sh --rsync-get-flags). However, I have the impression that rsync does not actually register these flags. For instance, when I add --rsync-append-flags "--dry-run" a backup is nevertheless made (even though the output says DRY RUN).
Any ideas what could be going on here?
No issues when I just use rsync -r source/ dest/
With the following command, most first-level folders copied to the destination are empty.
bash /home/admin/bin/rsync-time-backup.sh /mnt/apps/ rsync@100.113.8.21:/volume1/TruenasBackup/apps--recursiveis mentioned among the rsync flags (obtained withbash script.sh --rsync-get-flags). However, I have the impression that rsync does not actually register these flags. For instance, when I add--rsync-append-flags "--dry-run"a backup is nevertheless made (even though the output saysDRY RUN).Any ideas what could be going on here?
No issues when I just use
rsync -r source/ dest/