Is your intention that this backing up can be performed even if your phone and Windows computer are not on the same local network? If so, I think you'll find it easier to implement a rudimentary B4J server and use multi-part POST to upload files from the phone to the http server running on your Windows computer. There's a little set-up you'll have to do to get your server visible from the outside:
https://www.b4x.com/android/forum/th...p-to-your-b4j-server-over-the-internet.37201/ but once you get it running, it's quite reliable and easy to manage. You can also zip and/or encrypt your files before uploading, for extra paranoia.