This executable is a very simple app written in C++ that does incremental backups.
When a file is changed, either the last write date or it's size changes. Those values are compared against a database (jbackup.db) and if there is a difference or if the value is not in the db, the changed/new file is copied to the destination root directory (hardcoded in the Options.cpp file). To get jBackup to do a full backup, delete the jbackup.db file!
If the source file's path is a UNC path, the computer name is used as a subdirectory under the destination root. The drive or share name is used as a subdirectory under that and the remainder of the path stays the same.
If the source file's path is a local path, the computer name is 'local' under the destination root. The drive letter is used as a subdirectory under that and the remainder of the path stays the same.
jBackup looks for jBackup.cfg in the current directory, so start the executable from the same directory the cfg file is in. The .cfg file contains all the directory trees to backup.
The jbackupexcludes.txt file contains any strings that, if the source path contains, them causes the copy to be excluded. It is a simple string search, no wildcards.
| Contact me about content on this page using john_web-at-arrizza-dot-com |
| For Web Master or site problems contact: webadmin-at-arrizza-dot-com |
| Copyright John Arrizza (c) 2001,2002,2003,2004,2005,2006,2007 |