Just a couple of recomendations, set error in it using
set -e at the begining. Do not remove your previous backups until new one was created, if something fails during the process you can lose the new and the old ones.
This Community forum is intended to solve problems related to the Bitnami Stacks, Virtual Machine or Cloud Images.
For information regarding the application itself or customization of the content within the application, we highly recommend checking forums and user guides made available by the project behind the application.
In order to get the files from your windows machine you can try to write a
.bat script (or whatever other language you prefer) and program it using the command