Easybackup

An easy to use minimalistic backup tool and nothing more than that !

I have started developing this tool to meet my backing up purposes. It is supposed to be :

  1. easy to use

  2. capable of backing up my GBs of data ( sources, images, 3d models, documents etc. )

  3. schedulable ( e.g. using crontab )

  4. running on linux

  5. not requiring GBs to extract a single file from the archive

  6. capable of creating archives which can be written on several CDs


Download link is here : Download


EasyBackup Users Guide

Author : Devrim Erdem, devrim@machsim.com

Date

Change

Applies to Version

13th December 2002

Creation

1.0 Beta 1

22nd September 2003

Added documentation for file exclusion

1.0 Beta 2


Introduction

Easybackup is designed to be a simple backup up tool for backing up projects. A project is considered to a be directory with lots of sub directories and files. Easybackup can create a single or multiple file backup archive of such a directory and can also do some additional tasks ( such as ftp upload after backing up ).


The author ( Devrim Erdem ) is a programmer who works on several projects each of which can easily exceed 1Gb in size. There was a need for a software which could get rid of unnecessary files and create an archive of the project for backing up and transfering purposes. That is how Easybackup was born.


The author is well aware of tools such as Winrar, winzip, tar, gz and so on. However all of those tools are general purpose while easybackup is pretty well suited for the needs of people who work on huge projects on linux and windows.


Easybackup is developed using Python 2.2, it is known that it is not compatible with Python 1.x. Other versions are not yet reported.


A valid .cfg is required. This configuration files defines the backup process. Example .cfg files can be found in the distribution.


Start the backup process like this :

> backup.py myconfig.cfg

How to get help ?

Please use the forum, it is being monitored by the author.

Configuration File

A configuration file is a typical python configuration file ( which is a typical Windows .ini file actually ). It looks like this :


[Global]

MaximumArchiveSizeInMB = 600

BackupDir = /home/devrim/Backups/DotFilesAutoBackupDir

AppendDateToBackupDirName = 1


[FtpUpload]

Host = muh

UserName = devrimstest

Password = devrimstest

UploadDir = /home/devrimstest/


[BackupDirectories]

directory1 = /home/devrim/.*

directory2 = /home/devrim/KDesktop


Global Settings


MaximumArchiveSizeInMB ( Megabytes )

The backup script will split the resulting files of the backup process. The maximum archieve size specifies the size of each bin. For example 650 MB is good if you want to write to CDs.


BackupDir ( A directory path )

The script will backup the files to the BackupDir location.


AppendDateToBackupDirName ( 0 or 1 )

Specify 1, if you want the date appended to the archive dir names. This is a good habit.


FtpUpload (Optional)

The script can upload zip backup archives to one big file and upload to an ftp location. You will need to provideHost, UserName, Password and UploadDir for the ftp connection. ( See example .cfg files )


BackupDirectories

The list of directories which you would like to backup. Simply list all your directories. For example :

directory1 = /home/devrim/.*

directory2 = /home/devrim/KDesktop


Important : it shall be directory1, directory2, directory3 and so on the left side.


File Exclusion

easybackup can exclude files or directories which match a search name criteria. To configure such exclusions simply add a new group to the configuration file with the name, for example :


[ExcludeFilePatterns]

dummy1 = *.o

dummy2 = *.d

dummy3 = *.so


Please note that each new exclusion shall have a unique name ( e.g. Dummy1, dummy2 and so on )


Verbose

When defined and it's value is 1, verbose printing is enabled


CompressEachFile

When defined and it's value is 1, each file will be compressed and will have the .gz extension in addition to it's own extension.



Easybackup is now on SourceForge.net. Click logo for the SourceForge pages.
SourceForge.net Logo