Saturday, September 08, 2012

Part-01 Create Backup from Windows To Linux Via Rsync and Cron

After a months searching and researching to create simple and clean backup strategy, i found cool and simple solution  for backing up from windows 7 (64 bit) to Linux server running Rsync server, and here's my backup startegy.

Why i would like to use portable application? Because windows every aplication you installed on your windows system will leave a lot of registry junks. that why i choose deltacopy (unzip mode0 and another one. which is free and gpl. as the website said :

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 file that has actually been modified. This reduces the data transfer to just a small fraction of 500 MB saving time and network bandwidth.

And here's the download links

I used only client software because i don't want to running backup server on windows.

and to schedule the rsync backup, i would like to use Cron.exe from kalab.com (mirror), once again, i don't want use windows task scheduler, it's suck program that only running on administrator mode ( not user mode) that way  i use Cron.exe, clean and simple, and the finnest part is, the contab configuration file is compatible with linux crontab. as the web site said :

Cron scans the file CRONTAB every minute and checks every line if the specified time/date information matches the current time/date. If they are equal, the command line specified will be executed. A log file (cron.log) with the executed commands is written to the current directory.

After combining all of that aplication, i got this usefull aplication.

And how i do automatic backup using windows batch? see you on Part-02

Part-02 Create Backup Profile

No comments: