Click here to Skip to main content
12,886,833 members (36,701 online)
Click here to Skip to main content
Add your own
alternative version


21 bookmarked
Posted 1 Jun 2006


, 16 Jun 2006 CPOL
Rate this:
Please Sign up or sign in to vote.
A useful backup manager
Sample Image - FuliggineBackupper.png



How may times have you lost all the data from your hard disk?

I'm sure that, to prevent any loss of data, you periodically copy some of your most important folders and files. You would agree with me that if the number of projects and folders are large, this isn't easy. In fact, it's a little hard to manually backup some of your data every day and remember where the backup copies are.

Some time ago, I lost some important data from my HD, so I started writing a simple application which manages backups.

My first idea was to build a program that manages different projects to let me associate multiple files together.
The second fact is that a project may contain both files and folders. So in my program, I defined a class called ITEM, which can be a file or a folder.
After that, I allowed the program to compress all the ITEMS in a single zip file named with the current date/time. All the zip files from the same project are stored in the same folder using the project name. To do this, I use a freeware library called ICSharpCode.SharpZipLib.dll.
After that, I synchronize this entire feature in a simple and cool interface.
All the images are loaded at runtime to allow you to change it without re-building the executable and to allow to change icons sets.

Back to Index


First of all, you must create a project in which you can add as many items as you want. To do this, you simply click the Add Project button (the one with the icon with a box and a plus). This window will appear:

Please enter a name (not null) and press OK. After that, add the items by clicking the add item button (the one with the book and plus).
This window will appear:

You can choose more than one file or choose an entire folder. All the sub-folders and their files will be included.

Remember to save your project before closing the application (if you want that).
You can choose more than one file or choose a folder. All the sub-folders and their files will be included. Remember to save your project before closing the application (if you want that).
You can choose to backup one single project or the entire project. You can simply open the backup's folder clicking on the bank button.

IMPORTANT: This program uses a folder on the C drive called temp_Backupper. All the data in this folder is temporary and will be deleted after the backupper completes execution.

Back to Index

Source Code

All the features are handled by the Project manager control. Look at the source code for more information. In the next few days, I will explain the code line by line, but for now the comments in the code should be sufficient.

Back to Index


This is only one of the possible solutions. Maybe it isn't the best, but I think that it's simple and fast. For any advice, questions or problems please contact me. If you would like to see my other work, please visit my home page.

Back to Index


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Daniele Fontani
Technical Lead
Italy Italy
I'm senior developer and architect specialized on portals, intranets, and others business applications. Particularly interested in Agile developing and open source projects, I worked on some of this as project manager and developer.

My programming experience include:

Frameworks \Technlogies: .NET Framework (C# & VB), ASP.NET, Java, php
Client languages:XML, HTML, CSS, JavaScript, angular.js, jQuery
Platforms:Sharepoint,Liferay, Drupal
Databases: MSSQL, ORACLE, MYSQL, Postgres

You may also be interested in...

Comments and Discussions

QuestionCan it split the big file to multi part ??? Pin
cnblackhawk@hotmail.com21-Nov-06 22:49
membercnblackhawk@hotmail.com21-Nov-06 22:49 
AnswerRe: Can it split the big file to multi part ??? Pin
Sir Zeppa'Man22-Nov-06 6:18
memberSir Zeppa'Man22-Nov-06 6:18 
GeneralIcons Pin
bostamy16-Jun-06 6:23
memberbostamy16-Jun-06 6:23 
GeneralQuick Pin
norm.net1-Jun-06 2:53
membernorm.net1-Jun-06 2:53 
GeneralRe: Quick Pin
Sir Zeppa'Man1-Jun-06 3:19
memberSir Zeppa'Man1-Jun-06 3:19 
GeneralRe: Quick Pin
Jun Du1-Jun-06 8:35
memberJun Du1-Jun-06 8:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170424.1 | Last Updated 16 Jun 2006
Article Copyright 2006 by Daniele Fontani
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid