Quickly setting auto backup of all of my embedded databases in Windows Server
I recently migrated all of my hosted applications (including this site mustak.im) to a Virtual Private Server (VPS). Even though it's relatively easy to get something like Azure App Service and deploy ASP.NET Applications there but I find managing my own Private App and Build Server more appealing.
I needed to have a reliable backup since disaster can happen anytime (as I'm managing the server on my own) but I did not want to pay for commercial solutions. I'm not making money out of my sites (these are my dev works, experiments in progress...) so I have access to any free software. However, I wanted to roll out something really simple, fast and light on my own - without installing a beast of a backup software.
How to see your NowTV and Sky routers total bandwidth usage with unix shell
Since it is too difficult to login to my router's console to check total bandwidth usage so far, I spent almost an hour trying to write my first shell script that logins to NowTV router console and extract total bandwidth usage for me. I must say any sort of automation is fun!
Here is the script
How to move your source code from TFS VCS to TFS Git or GitHub
There's an excellent cross platform command line tool available called Git-TF. In a nutshell, it will let you clone an existing TFS managed project and initialize a local git repository. You can then hook itself to a remote Git repository (Gothub, Bitbucket etc.) and push the code along with all the commit / checkin history. I just moved one of my projects from TFS VCS to TFS Git in less than 30min in Mac running macOs.