I was asked to deliver a backup-script for a windows-database. However I'm not a o.s.-scripting guru at all and certainly not on Windows, I came to the following script. It looks a lot like the one I use on Linux, just translated it into a .cmd-file. The challenge was to get it in one-command file.
A proper backup is the base for a well and relaxed administration of yout databases.What follows is a backup-script which I use for several customers. It's backing up all in the same directory and I tested the restore frequently.