Home
Screen shots
License
Development
Download
Change log
What is BAR?
BAR is backup archiver program. I developed this program after I could
not find a simple to use archiver program to create compressed and
encrypted archives of my files which can be stored on a cd, dvd, or bd.
While I developed the program - development is still not finished - I
added some more useful features. Now I use the program to make automated
backups from all my files either on dvd or directly via an Internet
connection to a file server.
Features
• create, list, test, compare and extract archives of files and disk images
• can split archives into parts of selectable size; each part can be read independent
• full and incremental/differential backup archives
• compress of data with zlib, bzip2, lzma, or xdelta3 algorithms
• encryption with gcrypt algorithms (AES, TWOFISH etc.)
• asymmetric encryption with RSA
• fast access to entries in archives: can find and extract single files without decompressing/decryption of the whole archive
• store archives directly on external server via ftp, scp, or sftp
• with external tools: store archives on CD/DVD/BD including error correction codes
• support pre- and post-processing of files/CD/DVD/BD images (e. g. for including functions of dvdisaster)
• support storage on a generic device
• server-mode with control over plain and TLS network connection
• integrated scheduler to start backups daily or weekly
• internal database with information to all stored files and disk images for fast retrieval
• nice graphical front end (written in Java with SWT)
Requirements
• PTHREADs library (mandatory)
• zlib library (mandatory)
• bzip2 library (optional)
• xdelta library from http://xdelta.org (optional)
• ssh2 library from http://www.libssh2.org (optional)
• gcrypt library from http://www.gnupg.org (optional)
• gnutls library from http://www.gnu.org/software/gnutls (optional)
• ftplib from http://nbpfaus.net/~pfau/ftplib (optional)
• cdio library from www.gnu.org/software/libcdio/libcdio.html (optional)
• long long datatype (because of large files)
• perl (only for compiling)
• external tools for CD/DVD/BD: mkisofs, dvdisaster, cdrecord, growisofs, eject (optional)
• Java Runtime environment 1.6 or newer (optional; for graphical front end)
Screen shots (graphical front end)
|
|
|
|
|
|
|
|
|
| Fig. 7: Archive name editor |
|
|
License
BAR is currently under GPL version 2.
Development
If you are interested in development work and the most recent
development version, please have a look at:
http://developer.berlios.de/projects/bar
You can check-out the most recent version ("bleeding edge") with:
svn checkout svn://svn.berlios.de/bar/trunk bar
Download
Note: versions with a character suffix are bug-fix versions.
Manual of latest version: bar.pdf
Binary packages:
| System |
Version |
Package |
md5sum |
CentOS 5, 32bit |
0.17 |
bar-0.17b-centos5_i386.rpm |
d43ab68c0b3c4e630a1c11bd1f9b0eab |
CentOS 5, 64bit x86_64 |
0.17 |
bar-0.17b-centos5_x86_64.rpm |
12be3064e4779c363f0c9e112ee47188 |
CentOS 6, 32bit |
0.17 |
bar-0.17b-centos6_i686.rpm |
92af79acb8e288cfd5fd54e2dd7151f1 |
CentOS 6, 64bit x86_64 |
0.17 |
bar-0.17b-centos6_x86_64.rpm |
02278615cba99747b37d88e04680076c |
Fedora 16, 32bit |
0.17 |
bar-0.17b-fedora16_i686.rpm |
d41d8cd98f00b204e9800998ecf8427e |
Fedora 16, 64bit x86_64 |
0.17 |
bar-0.17b-fedora16_x86_64.rpm |
d41d8cd98f00b204e9800998ecf8427e |
Fedora 17, 32bit |
0.17 |
bar-0.17b-fedora17_i686.rpm |
d18adbb2a25916540786e580481fb882 |
Fedora 17, 64bit x86_64 |
0.17 |
bar-0.17b-fedora17_x86_64.rpm |
da51fc7239df482cd098715407ebec30 |
RedHat 5, 32bit |
0.17 |
bar-0.17b-redhat5_i386.rpm |
e8387f78a7cce5ccfdbb9c6650b648ec |
RedHat 5, 64bit x86_64 |
0.17 |
bar-0.17b-redhat5_x86_64.rpm |
41756eea619ae787b7b4d48da1fb1f1a |
RedHat 6, 32bit |
0.17 |
bar-0.17b-redhat6_i686.rpm |
8117700ac1f07e3622c35d20fb437c18 |
RedHat 6, 64bit x86_64 |
0.17 |
bar-0.17b-redhat6_x86_64.rpm |
782a625c84ae25b9a435670b5fdac3f8 |
SLE 11, 32bit |
0.17 |
bar-0.17b-sle11_i586.rpm |
8e05ef61920643f9066df4dcae48fff7 |
SLE 11, 64bit x86_64 |
0.17 |
bar-0.17b-sle11_x86_64.rpm |
aeee9cce16cb04b0760825ab4907ceb0 |
openSuSE 11.4, 32bit |
0.17 |
bar-0.17b-opensuse11.4_i586.rpm |
d41d8cd98f00b204e9800998ecf8427e |
openSuSE 11.4, 64bit x86_64 |
0.17 |
bar-0.17b-opensuse11.4_x86_64.rpm |
d41d8cd98f00b204e9800998ecf8427e |
openSuSE 12.1, 32bit |
0.17 |
bar-0.17b-opensuse12.1_i586.rpm |
9f48a63ecc7ef20b14c1d893579a3680 |
openSuSE 12.1, 64bit x86_64 |
0.17 |
bar-0.17b-opensuse12.1_x86_64.rpm |
cca76fcf1156d15a29605ec52f5a7f0e |
openSuSE 12.2, 32bit |
0.17 |
bar-0.17b-opensuse12.2_i586.rpm |
c719c6cb83c82774f2d5f9eac9056392 |
openSuSE 12.2, 64bit x86_64 |
0.17 |
bar-0.17b-opensuse12.2_x86_64.rpm |
691947d8ac0c27b6b2ec9e48346b1e80 |
Debian 5, 32bit |
0.17 (command line tools) |
bar-0.17b-debian5_i386.deb |
d41d8cd98f00b204e9800998ecf8427e |
Debian 5, 32bit |
0.17 (GUI) |
bar-gui-0.17b-debian5_i386.deb |
d41d8cd98f00b204e9800998ecf8427e |
Debian 5, 64bit x86_64 |
0.17 (command line tools) |
bar-0.17b-debian5_amd64.deb |
d41d8cd98f00b204e9800998ecf8427e |
Debian 5, 64bit x86_64 |
0.17 (GUI) |
bar-gui-0.17b-debian5_amd64.deb |
d41d8cd98f00b204e9800998ecf8427e |
Debian 6, 32bit |
0.17 (command line tools) |
bar-0.17b-debian6_i386.deb |
3c98bd31c83a1c5e6f9521a39b9961f6 |
Debian 6, 32bit |
0.17 (GUI) |
bar-gui-0.17b-debian6_i386.deb |
23cc3f901e92e06c5e788492eb4c107e |
Debian 6, 64bit x86_64 |
0.17 (command line tools) |
bar-0.17b-debian6_amd64.deb |
77003d47028f84d2c309806bf6063172 |
Debian 6, 64bit x86_64 |
0.17 (GUI) |
bar-gui-0.17b-debian6_amd64.deb |
b27ce25f70fc95bb41e162c150f35d24 |
Ubuntu 10.04, 32bit |
0.17 (command line tools) |
bar-0.17b-ubuntu10.04_i386.deb |
867347b29379425f1e6a861b6632b4db |
Ubuntu 10.04, 32bit |
0.17 (GUI) |
bar-gui-0.17b-ubuntu10.04_i386.deb |
e958a9605ea78757722688fc76328874 |
Ubuntu 10.04, 64bit x86_64 |
0.17 (command line tools) |
bar-0.17b-ubuntu10.04_amd64.deb |
af937853fec8e6bcfc66cb4b47cb4ec1 |
Ubuntu 10.04, 64bit x86_64 |
0.17 (GUI) |
bar-gui-0.17b-ubuntu10.04_amd64.deb |
3a5e3178c585584f0d744f2a872e20b5 |
Ubuntu 11.04, 32bit |
0.17 (command line tools) |
bar-0.17b-ubuntu11.04_i386.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.04, 32bit |
0.17 (GUI) |
bar-gui-0.17b-ubuntu11.04_i386.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.04, 64bit x86_64 |
0.17 (command line tools) |
bar-0.17b-ubuntu11.04_amd64.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.04, 64bit x86_64 |
0.17 (GUI) |
bar-gui-0.17b-ubuntu11.04_amd64.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.10, 32bit |
0.17 (command line tools) |
bar-0.17b-ubuntu11.10_i386.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.10, 32bit |
0.17 (GUI) |
bar-gui-0.17b-ubuntu11.10_i386.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.10, 64bit x86_64 |
0.17 (command line tools) |
bar-0.17b-ubuntu11.10_amd64.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 11.10, 64bit x86_64 |
0.17 (GUI) |
bar-gui-0.17b-ubuntu11.10_amd64.deb |
d41d8cd98f00b204e9800998ecf8427e |
Ubuntu 12.04, 32bit |
0.17 (command line tools) |
bar-0.17b-ubuntu12.04_i386.deb |
06ae41d2d22f369128069710c9d70848 |
Ubuntu 12.04, 32bit |
0.17 (GUI) |
bar-gui-0.17b-ubuntu12.04_i386.deb |
4c57033844e891f1a4b7cd20dd59ecf7 |
Ubuntu 12.04, 64bit x86_64 |
0.17 (command line tools) |
bar-0.17b-ubuntu12.04_amd64.deb |
f5c4a7cd5da4ef18641bd126d335449d |
Ubuntu 12.04, 64bit x86_64 |
0.17 (GUI) |
bar-gui-0.17b-ubuntu12.04_amd64.deb |
7b8417d9e465f3a93225167156dde560 |
Note: The builds above are created with
the open SuSE build service.
Package with GUI binaries only (Linux, Windows, Solaris, MacOSX):
ChangeLog
2013-05-05 0.17b
* fixed parsing of storage specifier (ftp, scp/sftp,
cd/dvd/bd): user name
* fixed dialog text when password is requested
* improved checking host name for ftp/scp/sftp login
* fixed lost string resource
2013-01-26 0.17a
* fixed writing CD/DVD/BD: do not write an empty last medium
* improved database index
* fixed parsing CD/DVD/BD/device specifier: last character was
missing
* fixed logging of skipped own files
2012-10-03 0.17
* finally: added support for xdelta compression!
Note: integrating this was really a _hard_ work.
* added support for libcdio to read content of CD/DVD/BD
devices/images without mounting
* upgraded used libssh2 to version 1.4.2
* use libssh2 send64() when available to be able to
send large files, too
* added check for file permission of config files. Should
be 400 or 600.
* improved error handling with public/private keys
* fixed handling of error case when asymmetric encrypted
archive cannot be read
* print fragment info if file is incomplete on verbose
level >= 2
* fix header information in sources
* improved logging for not stored files
* support no-dump file attribute, add option
--ignore-no-dump (see lsattr, chattr)
* set default ssh keys to $HOME/.ssh/id_rsa.pub,
$HOME/.ssh/id_rsa
* fix string free bug in restore
* fix file-seek bug in restore
* BARControl: add warning when minor protocol version do
not match
* BARControl: ask for FTP/SSH password on restore if
required
* added internal debug code for list allocations
* added hidden option --server-debug for automated test
of server functions
* improved valgrind tests
* output percentage info if verbose level >= 2
* output test/compare/restore info if verbose level >= 1
* improved processing speed: implemented ring buffers
for compress/decompress
* fixed compare of images: only compare used blocks
* fixed creating FAT images: in some cases one block was
missing in the archive
* improved tests: added more tests for images
* stop support of Reiser 4: file system is not supported
anymore by all Linux versions
* if an encryption password is specified on the command
line do not ask for another password if decryption fail
* clean-up of BAR manual
* improved console output with multiple threads: avoid
mixing output of lines in interactive mode
* renamed command line option --database-file -> --database-index
* renamed command line option --no-auto-update-database-index
-> --database-index-auto-update
* renamed config option database-file -> index-database
* renamed config option no-auto-update-database-index
-> index-database-auto-update
WARNING: modify your bar.cfg file!
* added command line/config option --datbase-index-keep-time
* set example for log-post-command to (removed quotes):
sh -c 'cat %file|mail -s "Backup log" root'
* fix parsing configuration files: strings must not be quoted
explicitly
* improved error output when log-post command cannot be executed:
show last 5 lines of stderr
* fixed usage of libcrypt: enabled multithread-support
* set read-timeout for SSH connections to avoid possible infinite
blocking in libssh2-code when remote side may close socket
unexpected
* BARControl: add ellipsis character to menus/buttons which
require further user input
* BARControl: added schedule copy menu entry/button
* BARControl: show tool tip in tree view only when mouse is
in the left side to avoid that tooltip is shown all the
time
* BARControl: add functions to clear stored passwords on
server
* BARControl: renamed option --index-add -> --index-database-add,
renamed option --index-remove -> --index-database-move
* BARControl: renamed config option pause-index-update ->
pause-index-database-update
* fixed possible crash in logfile post processor
* BARControl: fix abort job. Set last executed time.
* BARControl: fix parsing storage name when login name is not given
* BARControl: fixed cloneing of schedule entries
* BARControl: added path selector in include/exclude dialogs
* BARControl: added confirmation dialog when include/exclude entry
should be removed
* BARControl: fixed schedule hour setting, show 00..23
* BARControl: added function to delete storage files in context menu
in restore tab
* added configuration option index-database-max-band-width: limit the
used band width for background index updates
* improved band width limitation: specify either a value or name of an
external file
* fixed scheduler: do not start job immediately again when execution
time was longer than time periode of scheduling
* added optional time range to max-band-width,
index-database-max-band-width options to support different limits
depending on date/time
* support external file for max-band-width,
index-database-max-band-width options
* fixed memory leak in server
2012-01-14 0.16g
* fix restore: do not create empty parent directories
* fix restoring archive entries without directory part
* added verbose level 5, output ssh debug messages for
level 4 and 5
* fixed crash when archive on CD/DVD/BD/device should
be listed/tested/extracted directly. Please mount
a CD/DVD/BD/device and use the file operations instead.
Next version of BAR will support reading CD/DVD/BD
directly
* fixed memory leaks
2011-09-10 0.16f
* re-added option --volume-size, fixed setting CD/DVD/BD
volume size
* added check for Java version
* improved error messages
* do not print passwords which may be included in FTP
specifier when creating/list/restore entries
* barcontrol: ask for crypt password when restoring
single archive entries
* fixed URI parser: clear port number if not set
* improved index database: do not set error state when
connection to server cannot be opened
* fixed memory leaks
* back-ported file handle debug code
* do not set index state to error if archive cannot be
decrypted because of missing password
* fix bug in ftplib: listing directory did not close
temporary file
2011-07-31 0.16e
* create sub-directories when storing to file system or
ftp server
* fix creating directories: to not set parent directory
permissions if permissions are already set
* barcontrol: do not close new job dialog on error
* barcontrol: fixed setting crypt type radio buttons with
default value
* save job file immediately after creating a new one
* fix lost error state when writing file to a server
* improved FTP transmission, added patch to set timeout
for receiving data in FTPLib
* fixed possible inifite loop when executing external
command, e. g. sending the log file via log-post-command
* fixed error in pre-defined log-post-command in bar.cfg
* fix losing failure error
* create job files with read/write permission for owner only
* do not print passwords to log/screen which may be included
in FTP specifier
* fixed missing delete temporary file on error in incremental
mode
* fixed adding index of FTP content to local archive database
* fixed string parser: parse \x as x if outside of " or '
* BARControl: fix Null-Pointer-Exception when server password
is not set
* improved FTP read: try to read all data when the network
connection is bad
* fix CD/DVD/BD write command: must be %directory, not %file
* BARControl: add command to remove all archives with error
state in tab restore
* BARControl: fix possible null-pointe-exception on communication
error
* BARControl: improved usability. Use tagged+selected entries
entires to remove/refresh in tab restore.
* add log type "index"
* BARControl: fixed list of storage archives when removing an
entry
* BARControl: ask for crypt password when starting job with
crypt password mode "ask"
* BARControl: give visual feedback when entered passwords in
password dialog are not equal
* show date/time for directories entries in list, too
* changed DVD write image command: removed sectors, added
-dvd-compat
* output stdout/stderr of external commands with verbose level 4
* BARControl: added some warnings when selection of part size/
medium size/error correction codes may not fit to create a
CD/DVD/BD
2011-05-31 0.16d
* barcontrol: fix parsing of ftp/scp/sftp archive names
* fix parsing of ftp archive names
* support for non-passive/passive ftp connections
* fixed wrong free of resources when archive entry could
not be read
* fixed numbers for compress/crypt type: must be a real
constant (self-assigned enum may change)
2011-04-17 0.16c
* renamed macro %file -> %directory for cd/dvd/bd/device-commands
* fixed typing error in code when FTP is not available
* added options --file-write-pre|post-command,
--ftp-write-pre|post-command, --scp-write-pre|post-command,
--sftp-write-pre|post-command
* added option --always-create-image
* fixed creating CDs: use mkisofs+cdrecord
* removed double linefeed for log entries
* fixed log entries when creating database index: avoid
creating huge log files
* only write log file in daemon/server mode
* add missing MacOSX JARs to distribution
* renewed man page, improved manual
2011-04-10 0.16b
* fix error handling when password is wrong
* create jobs directory if it does not exists
* enable creaeting index database by default
* barcontrol: fix file name editor drag+drop
* barcontrol: ask for password on restore
* fix memory leak when reading archive directory entries
* fixed deinit error when password is wrong
* fixed reading file names which contain \ or LF/CR
* barcontrol: fix discarding first character for archive target cd:, bd:
* barcontrol: fixed file listing
* fix error handling when calling external tool for CD/DVD/BD
* barcontrol: add year two digits in archive file name editor, fixed
century
* barcontrol: fix enabling restore-button
* improved documentation: added archive file name macros, add more
entries to faq, small fixes
2010-12-30 0.16a
* fix wrong storage name in database
* barcontrol: fix start/abort button enable/disable for
incremental/differential/dry-run jobs
* barcontrol: fix tab restore storage filter: edit+reset
* clean-up
2010-12-17 0.16
* do not store content of directories and sub-directories
when file .nobackup or .NOBACKUP exists
* add option --ignore-no-backup-file
* support hard links: add new chunk types HLN0, HENT, HNAM,
HDAT
* rewrite chunk code: add init and done, moved clean-up
code down to chunk code, improve error handling
* fix wrong data parsing in index database for directories,
links, special files
* improved error handling
* fix typing errors in error messages
* improved tests
* added -o as shortcut for --overwrite-archive-files
* added option --dry-run: do all operations, but do not
compress, encrypt and store files, do not write incremental
data lists, do not write on CD/DVD/BD/devices
* fixed --no-storage: incremental data list was not written
* fixed possible deadlock in server when archive files cannot
be transmitted to a remote server and local harddisk becomes
full
* added option --compress-exclude to disable compression for
files, images and hard links which match to the specified
pattern
* barcontrol: added exclude list in storage tab under compress
* fixed memory leak
* support building Debian/Ubuntu packages with SuSE build
service!
* fix install: add bar-keygen
* added option --differential: differential storage. Like
--incremental, but incremental data is not updated
* fixed creating parent directories when restoring files:
use default file mask to create parent directories
* fix restoring splitted files which are read only
* fixed typing error in bar.cfg entry "schedule": must be Apr,
not Arp. Note: please fix this in your jobs files in /etc/bar/jobs,
too, when you created a job which should be scheduled in April!
* fixed SigSegV with option -g: internal sorting of list was wrong
2010-12-05 0.15f
* fix SigSegV in string.c:formatString() which can occur on
amd64 systems
2010-12-02 0.15e
* barcontrol: fix exception when running barcontrol under
Windows and connecting to a Linux server (file separator
is different on Windows and Linux; this is a temporary fix
which will be improved in version 0.16)
* barcontrol: made columns size, modified, state in restore
tab, storage list resizable, too
* fixed wrong bar binary path in SuSE, Redhat, Mandrake, Fedora
start scripts
* fixed wrong bar config path in SuSE, Redhat, Mandrake, Fedora
start scripts
* barcontrol: fixed some table column widths (automatic setting
seems to be different on Windows)
* barcontrol: fix arguments in start script barcontrol.bat
2010-11-29 0.15d
* fix SigSegV when deleting a storage archive from
the database via BARControl
2010-11-18 0.15c
* fixes for MacOSX:
- fix SWT start thread problem
- use "java" without any path
- fix out-dated JAR archives
* added missing documentation images to distribution
* fix creation of barcontrol/barcontrol*.jar
* fix error message when archive file already exists
2010-11-17 0.15b
* barcontrol: fix sorting of columns
* barcontrol: fix not working context menu "exclude", "none" in
status tab, files list, removed debug code
* fix archive file name for CD/DVD/BD
* barcontrol: fix sorting of columns in jobs tab file/device tree
* barcontrol: fix calculating directory size (context menu in
file list in jobs tab)
* fixed parsing of storage specification for cd/dvd/bd
2010-10-26 0.15a
* fix compilation problems with LONG_LONG_MAX
* fix typecast in strings.c for 64bit systems
* fix man create install path
* support build service (thanks to lalalu42)
* add make variale DIST, SYSTEM to install
* update download-script: gnutls 2.10.2
* fix typing error in strings debug code
* use getpwnam_r and getgrnam_r to avoid multi-threaded problems
* fixed wrong locking code in semaphore read-lock
* fixed possible infinite blocking in index update (ssh read)
* fixed memory leak in index thread
* fixed test for large file support on 64bit systems
* fixed ssh-communication problem ("bad record mac" in barcontrol),
improved error messages
* added different BAR daemon start scripts, fixed start script
* enable dynamic linkage of system internal libraries
* clean-up Makefile file
2010-10-13 0.15
* added command line option --job to execute a job from a job
file with BAR
* clean-up BAR command line options:
- replaced -a|--crypt-asymmetric -> --crypt-type=
- added opton --normal to select normal archive type
(required to overwrite setting in job file)
- fixed ordering of options in help
* added support for CD and BD (options --cd-.../--bd-... and configuration
entries cd-.../bd-...)
* clean-up barcontrol command line options:
renamed --job-mode -> --archive-type
* fixed name of option --dvd-write-image-command
* barcontrol: fix option --key-file
* renamed command line option --no-bar-on-dvd -> --no-bar-on-medium and
configuration file entry no-bar-on-dvd -> no-bar-on-medium
* set key valid time to 365 days when created with openssl
* barcontrol: added tool tips help
* barcontrol: complete redesign of restore tab
- added database of stored files to BAR (sqlite based)
- search for created archives in database
- search for stored files in archives in database
- restore archives or single files
- automatic indexing of already created archives which are stored
in file system or on an external server
Note: to use this new feature, you must add the database-*
configuration options in bar.cfg!
* temporary base directory is now named bar-XXXXXX
* barcontrol: improved pause-function: settings for create, storage,
restore and update index. See menu in barcontrol. By default create
and restored are paused only
* barcontrol: add destination types "cd" and "bd", add different images
sizes for cd/bd
* barcontrol: clean-up layout, rearranged some buttons
* barcontrol: updated to SWT 3.6.1
* create package bar-gui-*.zip with compiled GUI only
* documentation: renewed screen shots, added documentation of
new options, fixed documentation of some options, clean-up
* updated man-page
2010-07-28 0.14
* added command line control functions to barcontrol:
--list, --job, --job-mode, --abort, --ping, --pause,
--suspend, --continue
* improved barcontrol command line parser
* barcontrol: added file selector buttons for ssh keys, device name
* fixed barcontrol restore tab: listing path names
* fix C string parser: %s and %S can be empty strings
* barcontrol: fixed abort in restore dialog, some clean-up. Note:
The restore tab will be improved in some of the next releases.
* barcontrol: fixed parsing of archive part size (job was ignored
when number was bigger than 32bit; now 63bit are allowed)
* fixed display of archive/device sizes: units are G,M,K
* add warning when no BAR server password given
* BAR server: added support to list image entries
* updated manual
* clean-up
2010-07-24 0.13d
* fix wrong installation path "/man/man7" man pages: now
/usr/share/man/man7
2010-06-11 0.13c
* fix bar-keygen which caused broken Debian package: wrong template
file names
* fix bar-keygen: create bar.jsk in /etc/bar by default
* improved bar-keygen: check if keys exists, add option --force
* improved BAR server: additionall check /etc/ssl/private for
bar.jks
* fix some typing errors in manual
* fix Makefile of barcontrol: SWT JAR version
2010-05-23 0.13b
* fix assert-error in options -#/-!
* improved test of file functions (added -#, -!)
* fix on-the-fly compiling of libgcrypt: use provided libgpg-error
instead of system-libraries (which may not exists)
* fixed and improved download of zlib: download recent version
* small fixes in manual
2010-04-10 0.13a
* fix typing error in "owner"
* fix wrong parsing of "owner" in server
* fix memory leak in server
* barcontrol: fix opening directories in file tree
* added epm to download third-party script
2010-03-21 0.13
* implemented device image functions: create images from devices
* implemented support for images with ext2/ext3, fat12/fat16/fat32
file systems
* renamed option --directory to --destination, use it for
destination of images, too
IMPORTANT: please edit your files in /etc/bar/jobs and
replaced "directory = ..." by "destination = ..."!
* verify if server TLS certificate expired; output error
message
* fix halt on some not implemented functions when
restoring files
* added stack backtrace output in string-debug functions
* fix lost string when directory cannot be created
* added option --owner
* barcontrol: added support for 64bit systems
* fixed some C compiler warnings
* fixed creating directory when writing incremental file list
* improved error messages
* fixed memory leak
* improved valgrind suppression rules
* fixed compilation warnings
* improved and clean-up command line/config value parsing
* set socket timeout in barcontrol (20s)
* improved error messages in barcontrol
* updated SWT JAR to 3.6 (this fix a bug with GTK versions
>= 2.18)
* added 64bit SWT JAR for Windows
* added SWT JAR for MacOSX (experimental)
* fixed C stacktrace output in debug mode: print function names
* added option -L = --long-format
* added option --human-format, -H: print sizes in human readable
format (size+unit)
* added first version of a manual!
* improved configure checks for doc tools
2010-01-01 0.12d
* fixed wrong usage of vprintf in log function (caused SigSegV
on 64bit systems)
2009-10-20 0.12c
* fixes in configure: fix large file support for some system
* fixes in configure: add libcrypto only if available (required
for some older libssh2 implemenations)
2009-10-17 0.12b
* added option --owner to overwritting settings for
user/group of restored files
* fixed creating directories: use default user creation
mask for parent directories
* revert error to warning when permission/owner ship
cannot be set if --stop-on-error is not given
* fixed configure check for EPM: do not try to detect
version if no EPM installed
* fixed configure check for gcrypt version
2009-09-15 0.12a
* clean-up design of progress bars
* fixed layout of part-editor (canvas widget)
2009-07-19 0.12
* disabled -fschedule-insns2 optimization. This cause with my
gcc 3.3 a problem in String_parse() when a boolean value
should be read. It seems the address of variable become
wrong when -fno-schedule-insns2 is not given (thus
schedule-insns2 optimization is enabled). Is this a gcc
bug?
* added crypt password in jobs-storage-tab: password can be
default (read from configuration file), interactive input
(ask) or specified password
* barcontrol: added check if JDK key file is valid
* barcontrol: improved password dialog
* barcontrol: added password dialog when crypt password mode
is "ask"
* fixed statics of skipped/error files
* barcontrol; added pause button with timeout (default
60min)
* added support for lzma compression
* added script for simple download of additional packages
* added support to build additional packages when compiling
bar (extract packages to specific sub-directories or use
links)
* barcontrol: added copy job button
* barcontrol: check if job exists for new, copy, rename
2009-04-12 0.11b
* barcontrol: improved volume dialog: unload tray button
* fixed handling of DVDs
* barcontrol: fixed progress bar for volume
* barcontrol/server: fixed writing crypt-type entry (was empty)
2009-03-31 0.11a
* fixed accidently removed save/cancel button in
storage part edit dialog
* barcontrol: fixed URI parsing
* fixed string-error in DVD functions
2009-03-22 0.11
* added selection of multiple days to schedule days
configuration, e. g. you can specify "Mon,Tue,Sat"
* barcontrol: fixed quit (internal threads blocked quit)
* barcontrol: changed names of buttons in file tree
* barcontrol: added button to open all included directories
in file tree list (green directory symbol at the bottom
right side)
* barcontrol: added function to detect sizes of directories;
when "directory info" checkbox is enabled and a
sub-directory is opened the sizes of the directories are
detected in the background
* internal change in protocol bar/barcontrol
* fixed some lost strings
* improved speed: inline some function calls
* barcontrol: added version number in about-dialog
* fixed parsing of schedule data (type was missing)
* fixed detection of size of current archive (was always 0)
* new scheme to build a incremental file name from an
archive file name if no incremental file name is given:
- discard all %-macros
- discard all #
- remove - and _ between macros
- replace file name extension .bar by .bid
A name like backup/system-%type-%a-####%last.bar will
be transformed to backup/system.bid
* improved error messages
* fixed debug function in string library: limit number of
entries in string-free-list.
* fixed problem with "broken pipe" error in network code
* added support for openssl command in bar-keygen
* fixed generating Java SSL key
* added creating RPM and DEB packages
2009-02-14 0.10a
* fixed layout of login dialog
* fixed missing barcontrol.bat.in in distribution
2009-02-11 0.10
* fixed some not freed resources
* fixed error message when password is not given or wrong
* improved input password: ask for password if not given
in some configuration file when mode is "default"
* added option --group: group equals files in list; limit
output to most recent entries if not given option --all.
Add archive name in group mode. Usage: find most recent
file 'foo' in a set of backups, e. g.
bar *.bar -# "*/foo" -g
* added option --all: list all entries in group
* barcontrol: fixed Java exception when scheduling date/time
can not be parsed
* barcontrol: added "normal" type to start-dialog
* default value for ssh port is now 22
* do not ask for a password if bar is started server- or
batch mode
* barcontrol: flush not written configuration data to disk
when terminating barcontrol
* barcontrol: fixed reseting port number
* barcontrol: set default sort mode to "weekday" for scheduling
list
* barcontrol: try to login with preset server name and login
password. Open login-dialog only when login fail or when option
--login-dialog is given.
* delete old archive files (only possible for file, ftp, sftp).
Can be disabled by --keep-old-archive-files
* barcontrol: fixed bug when double-clicking file entry in file
* fixed default login name/password for ftp, ssh: use command line
options if not set otherwise
* fixed default device name: use command line options if not set
otherwise
* fix problem with infinite backup when temporary directory is
included in file list. The bar temporary directory and all
created files are now not included in a backup. Note: this cannot
work when two instances of bar are running doing a backup of
each other.
* added bar man page (finally!)
* improved GUI layout manager
* added animated busy-dialogs to restore, added abort-function
* added confirmation dialog to abort job button
2008-12-10 0.09i
* fixed creating pid file: when server is detached write pid of
running process, not of terminated parent (thanks to Matthias
Albert)
2008-12-09 0.09h
* fixed problem with internal data alignment on 64bit systems
* added test data to distribution
* added chunk BAR0 to archive files as indicator for a bar file;
chunk is skipped when reading an archive
2008-12-09 0.09g
* add option --pid-file
2008-12-07 0.09f
* small fix in "make install"
2008-12-04 0.09e
* changed FTP URL to <login name>:<password>@<host name>/<filename>
* improved password input: check if connection to ftp/ssh-server is
possible in advance; select the right password
* barcontrol: change FTP field names, added password field
* fixed problem when writing incremental file list and current
directory is not writable: create the temporary file in the same
diretory like the destination file
* removed some debug code
* barcontrol: fixed error handling when authorization fail
* barcontrol: fixed internal protocol data parser when data contain
a negative number
* fixed some wrong file names in "make install"
* added barserver start script for Debian (Thanks to Matthias Albert)
* fixed lost string
* run bar as daemon in background; added option -D to disable detach
mode
* fixed missing server result when new job cannot be created
2008-12-03 0.09d
* fixed missing server-jobs-directory in BAR server
* fixed wrong path to bar+bar.cfg binary when installing
* fix installation when barcontrol was not built
2008-12-01 0.09c
* barcontrol: fixed #-parsing in archive name editor
* fixed missing barcontrol.in, barcontrol.bat.in, barcontrol.xml source
* fixed creation of scripts from *.in files
* completed bar-keygen
* no external SWT jar needed anymore to compile (but can still be used
optional)
2008-11-27 0.09b
* fixed drag+drop in archive name editor
* added crypt public key field in storage tab
* added CRC to public/private-key to avoid SigSegV in gcrypt-library
when key is invalid. Sorry this also mean the key data format
changed, thus you have to generate a new public/private key pair.
Note: you cannot open old archives with the new keys!
* added option -h/--help to barcontrol
* barcontrol: read default server name/password/ports from
$HOME/.bar/barcontrol.cfg (if this file exists)
* renamed option --job-directory into --server-jobs-directory
* improved check of options: output error if temporary directory
cannot be written to
* barcontrol: add field for port to scp/sftp connections
* change format for archive-file names. Use now URL like names:
ftp://<name>@<host>/<filename>
scp://<name>@<host>:<port>/<filename>
sftp://<name>@<host>:<port>/<filename>
dvd://<device>/<filename>
device://<device>/<filename>
<filename>
* improved error messages
* fixed linker problem: link libdl, too
2008-11-21 0.09a
* small fixes in make files
* fixes archive name generator: do not add part number of splitting
of archive is not enabled
* passwords can now also be read from a non-terminal input, e. g.
a redirected file
* fixed test
2008-11-18 0.09
* implemented a Java front end! This replaces the TclTk front end -
please enjoy!
* fixed bug in server password authorization: password was not
checked until end
2008-09-23 0.08a
* fixed double usage of va_args variable
* fixed problems with 64bit
* fixed typing error in bar.cfg (thanx to Matthias)
2008-09-08 0.08
* added asymmetric encryption with public-key
* improved estimation of files/s, bytes/s, stored bytes/s and rest time
* fixed input of password via SSH_ASKPASS
* fixed exitcode on create archive
2008-08-17 0.07b
* added option --long-format
* added date/time to -l
* fixed file filters "*" and "-! ..."
2008-06-29 0.07a
* fixed executing of external programs: handle signals
* use /dev/dvd as default device for writing dvds
* added storage bytes/s value to barcontrol.tcl
* implemented rename job in barcontrol.tcl
2008-05-24 0.07
* integrated scheduler in bar
* added pause/continue of jobs
* some internal bug fixes
* improved response time of barcontrol.tcl by read/write-locking
of shared data structures in server
* implemented archive name editor in barcontrol.tcl
* clean-up barcontrol.tcl
* added FTP protocol
* changed some option names for better consistency
2008-03-08 0.06
* added option --debug to barcontrol.tcl; output debug info
in server
* fixed memory leak in server
* improved several error messages
2008-01-21 0.05c
* fixed SigSegV when reading broken/wrong archive
* added retry (3) in storage via SSH
2008-01-19 0.05b
* fixed static linkage
* support none bz2
* TclTk TLS package is now optional
* import suport for non-ssh, non-crypt, non-bz2
* added option --no-bar-on-dvd; store by default a copy of BAR
executable on created DVDs
* fixed wrong string when creating DVD
2008-01-18 0.05a
* improved checks in configure
* added configure option --disable-ssh
* fixed static linkage
2007-12-31 0.05 (New Years Eve edition)
* added macros %type, %last to archive file name
* fixed path in bid-file name
* removed option create-list-file; option --full create a list
file, --incremental use the list and no option generate a
standard archive (without an incremental list)
* added options --full and --incremental to barcontrol.tcl.
With these options the settings in a configuration can be
overwritten, e. g. usefull to make incremental backups
(define full-backup in configuration file; use --incremental
to create a incremental backup on-the-fly)
* do not write bid-file if archive cannot be stored
* added file name editor in barcontrol (check the "folder"-image
right to the file name!)
* fixed missing lock in debug-code of strings.c
* renamed option --priority -> --nice-level; set nice level
not thread priority
* added password input dialog in case password does not match
or no password is defined in the configuration files
2007-12-18 0.04c
* fixed creating of directories on restore of single files
* fixed DVD burn commands (removed option "-dry-run" - sorry)
2007-12-16 0.04b
* fixed typing error in secure password memory
2007-12-16 0.04a
* fixed double free of a string
* added check in string library for duplicate free
* fixed abort
* use base name of archive file name for incremental list file
2007-12-15 0.04
* added create-dialog to barcontrol.tcl
* added incremental backup
* fixed bug in --request-volume-command (wrong command string)
* fixed bug when executing external command (reading i/o)
* fixed messages printed on console
* replaced --enable-static-link by --enable-dynamic-link in
configure and made static linkage to the default
* added store/restore of special devices (character, block, fifo, socket)
* fixed some small problems in restore
* by the way: by accident BAR got his crucial test! I crashed
my system partition and I could restore it with BAR!
Nevertheless there is still a lot of work to do...
2007-12-01 0.03a
* fixed thread termination for "create" command
2007-12-01 0.03
* added option/configure value 'priority'
* added log file support
2007-11-28 0.02c
* improved handling of DVDs
* added configure to scanx TCL extension
* improved making of distribution
* added option --wait-first-volume
2007-11-27 0.02b
* improved handling of DVDs
* started FAQ
2007-11-26 0.02a
* bugfix
2007-11-25 0.02
* implemented DVD support
* fixed ssh connections
* implemented more functions in barcontrol.tcl
* added install for scanx, mclistbox.tcl (needed for barcontrol.tcl)
* added config parser
* added multiple server/device sections in config file
* WARNING: changed usage of crypt password: encryption
key is not filled with password anymore. Thus password
"foo" is now different from "foofoo".
Before upgrading BAR restore all archives!
* added input of ssh/crypt password if not specified in config
2007-11-01 0.01
* initial release
Any feedback is welcome. Please send an email to
torsten.rupp
gmx.net
Back to top