Posts

Showing posts from 2014

Setup Backups using Deltacopy Tools (Open Source)

Image
Over View of DeltaCopy: In general terms, DeltaCopy is an open source, fast incremental backup program. Let's say you have to backup one file that is 500 MB every night. A normal file copy would copy the entire file, even if a few bytes have changed. DeltaCopy , on the other hand, would only copy the part of the file that has actually been modified. This reduces the data transfer to just a small fraction of 500 MB saving time and network bandwidth. In technical terms, DeltaCopy is a "Windows Friendly" wrapper around the Rsync program, currently maintained by Wayne Davison. "rsync" is primarily designed for Unix/Linux/BSD systems. Although ports are available for Windows, they typically require downloading Cygwin libraries and manual configuration. Unlike "rsync", DeltaCopy is a only available for Windows and is tightly integrated with services available only on Microsoft platforms (XP, 2000, 2003, Vista, Windows 7 & 2008). Here is

Simple script to delete files automatically older than x days using batch files.

Image
Script   to delete files older than x days using batch files   and how to schedule them using windows task manager Script : @echo off forfiles /p "f:\logs" /d -10 /c "cmd /c del @file "  Save this file as a batch file with extension .bat How to Schedule in Task Scheduler Click Start , Accessories , System Tools , Task Scheduler Click on Create Basic Task Provide any task name that we can identify in Name field, Click Next Select the period in Task Trigger Page that when you want to delete we have to decide that how much the files are bigger and what capacity of Disk we have , here I selected Daily , Click Next I selected the Start Date and time that my 1 st check has to start and I select Recur every as 1 a day I have selected start a Program in Action Page Select the batch file which we had written, select the folder where we had kept the batch file, Click Next Select Open the Properties