I'm pretty new to all of this, so this could maybe be an easy fix.
To break it down:
I set up a cronjob on our NAS which syncs our webserver to a specific folder. There is a lot of stuff on the server with around 70.000 files and overall around 500mb.
On first run, all of the folders got created but only some (maybe the first two) contain something inside.
All the other folders are empty on the NAS (but on the webserver there are files and other folders inside).
Is there any limitation by default which I don't get? Time, filesize, logfilesize or file amount?
My script is the following:
USER="myusername" SERVER="myserverip" PORT="22" SOURCE="shop" TARGET="/volume1/BACKUPS/MyFolder/MySubfolder/data/" LOG="/volume1/BACKUPS/MyFolder/MySubfolder/backup_data.log" mkdir /volume1/BACKUPS/MyFolder/MySubfolder/ rsync -avz --progress -e "ssh -p $PORT" $USER@$SERVER:$SOURCE $TARGET --delete >> $LOG 2>&1 tar -zcvf /volume1/BACKUPS/MyFolder/archivename-$(date +%Y-%m-%d_%H_%M_%S).tar.gz -C /volume1/BACKUPS/MyFolder/MySubfolder/ .
The log is pretty insane with all the progress percentages and stuff. It's around 15mb (just the log). So this won't help much. But when I search the log for "error" I get no results.