Posts in Category: Administrating

MySQL and www directory backup with Task Scheduler and a BATCH script

The other day I needed to set daily files and databases backup on the web server. It was Windows Server 2008 R2 so the main tools I used were bat-scripts and Task Scheduler.

Maybe BATCH code and exported tasks for Windows Task Scheduler I’ve created would help someone with managing jobs like this.

Of couse it would be great to add an ftp-upload feature for storing composed files somewhere else. I hope I’ll add it sometime.

All stuff in the archive.

This BATCH script uses 7z archiver, so be sure you have it or just comment the zipping lines and add something of your own.

Creating a bunch of directories for file storage using BATCH script

The other day I needed to create lots of directories for file storage with the following structure: