Hello there,
I wrote myself a little .sh script that I run later with the crontab.
In the script I run the command like this: "s3cmd put -r /opt/Backups/BackupXeon/ s3://backup-xeon/" and wants that all folders and subfolders, from .../Backup_Xeon/ in my S3 Loading.
If I ascend the .sh script manually from the terminal, it works without any problems, as it should. I leave now but perform exactly the same script from crontab, only one folder level, including files from .../Backup_Xeon/ uploaded. The folder where the folder is, simply ignored.
In order to simplify a bit:
So it should be uploaded: .../Backup_Xeon/Backup1/otherfolders/files
So it is uploaded: .../Backup_Xeon/Backup1/files
The folder "otherfolders" and whose files are simply ignored and the script is completed successfully. No error message or the like.
I hope you can help me :)
Regards Janik