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.



Screen shots (graphical front end)

Fig. 1: Status
Fig. 2: Files
Fig. 3: Images
Fig. 4: Filters
Fig. 5: Storage
Fig. 6: Scheduler
Fig. 7: Archive name editor
Fig. 8: Restore


BAR is currently under GPL version 2.


If you are interested in development work and the most recent development version, please contact me.


Note: versions with a character suffix are bug-fix versions.

Sources: bar-0.19b.tar.bz2
md5sum: 9a87a15974c9b87f3346af568875c864

Manual of latest version: bar.pdf

Binary packages:

System Version Package md5sum
CentOS 5, 32bit 0.19b bar-0.19b-centos5_i386.rpm 400d362e2b23fbf7e904253f6691dacd
CentOS 5, 64bit x86_64 0.19b bar-0.19b-centos5_x86_64.rpm e1e9917c8689dd0fdb70d1dc80ee8ab7
CentOS 6, 32bit 0.19b bar-0.19b-centos6_i686.rpm 3b86d0ff232fa50617dba96ea78b8d10
CentOS 6, 64bit x86_64 0.19b bar-0.19b-centos6_x86_64.rpm 11d31b3fc4f508fa618e5490867b9464
CentOS 7, 64bit x86_64 0.19b bar-0.19b-centos7_x86_64.rpm c41a679ea41bd40cc6e1697b07f86265
Fedora 20, 32bit 0.19b bar-0.19b-fedora20_i686.rpm 2901241c02bd99352451b0a2f8e016f2
Fedora 20, 64bit x86_64 0.19b bar-0.19b-fedora20_x86_64.rpm 1a8564dcdfa8e10d6d16e3087e8eca35
Fedora 21, 32bit 0.19b bar-0.19b-fedora21_i686.rpm 703380867be12f26bf4bb3f01f1c0d78
Fedora 21, 64bit x86_64 0.19b bar-0.19b-fedora21_x86_64.rpm da59823375766f9635b61aca7d6a7e67
Fedora 22, 32bit 0.19b bar-0.19b-fedora22_i686.rpm c5435efa5c8bca47148bb4d159c9886d
Fedora 22, 64bit x86_64 0.19b bar-0.19b-fedora22_x86_64.rpm 9569a4c55f0d8edae7d0bdea6b4333ff
RedHat 6, 32bit 0.19b bar-0.19b-redhat6_i686.rpm 39cda71bee8b800dd8a8100578017ce8
RedHat 6, 64bit x86_64 0.19b bar-0.19b-redhat6_x86_64.rpm 476cb846436b9d1c87684f4a21bc03d4
RedHat 7, 64bit x86_64 0.19b bar-0.19b-redhat7_x86_64.rpm 547367a919df8b798501d31902ea47ec
SLE 11, 32bit 0.19b bar-0.19b-sle11_i586.rpm 80a3d881cede9bd1e5794c97b1881281
SLE 11, 64bit x86_64 0.19b bar-0.19b-sle11_x86_64.rpm 3c2e3204bf2b2295c4cb6f8c34d74bfd
SLE 12, 64bit x86_64 0.19b bar-0.19b-sle12_x86_64.rpm 58a5793b0001634a8066706faeda7248
openSuSE 13.1, 32bit 0.19b bar-0.19b-opensuse13.1_i586.rpm 8599958598024f37a315621637f53794
openSuSE 13.1, 64bit x86_64 0.19b bar-0.19b-opensuse13.1_x86_64.rpm 4dd090f2aa2062ee75a7ae9291b12f98
openSuSE 13.2, 32bit 0.19b bar-0.19b-opensuse13.2_i586.rpm ebefd1d1621b6a02c1e87c6c0179ce51
openSuSE 13.2, 64bit x86_64 0.19b bar-0.19b-opensuse13.2_x86_64.rpm f06a3f4f8a768cf45b2f32383c8a9e2e
Debian 7, 32bit 0.19b (command line tools) bar-0.19b-debian7_i386.deb 915aa7e6574ac126d49f6c66b13baedb
Debian 7, 32bit 0.19b (GUI) bar-gui-0.19b-debian7_i386.deb 4dea2406caf94fb85d734a62ae390317
Debian 7, 64bit x86_64 0.19b (command line tools) bar-0.19b-debian7_amd64.deb 3b69ea248179f864197cffc8b722b51f
Debian 7, 64bit x86_64 0.19b (GUI) bar-gui-0.19b-debian7_amd64.deb a0182efe2a98fdfce56726543199c054
Debian 8, 32bit 0.19b (command line tools) bar-0.19b-debian8_i386.deb 6ace767a8f4402a734fb9666a5eb2f0b
Debian 8, 32bit 0.19b (GUI) bar-gui-0.19b-debian8_i386.deb 17154be068892a5707c3020e62fab946
Debian 8, 64bit x86_64 0.19b (command line tools) bar-0.19b-debian8_amd64.deb 8c486840e549c15eec9dc21d3e0c606a
Debian 8, 64bit x86_64 0.19b (GUI) bar-gui-0.19b-debian8_amd64.deb db93456ad1e33e032864ab7c514cfd34
Ubuntu 12.04, 32bit 0.19b (command line tools) bar-0.19b-ubuntu12.04_i386.deb 36a890ac1efe08ac7b4dd2b2086f86d5
Ubuntu 12.04, 32bit 0.19b (GUI) bar-gui-0.19b-ubuntu12.04_i386.deb 61ea579436fad1a745641f92355a61a0
Ubuntu 12.04, 64bit x86_64 0.19b (command line tools) bar-0.19b-ubuntu12.04_amd64.deb a4d18c50baad4cfc2b306d9e20b82831
Ubuntu 12.04, 64bit x86_64 0.19b (GUI) bar-gui-0.19b-ubuntu12.04_amd64.deb f902caea6c2a7d22590b7defa073409a
Ubuntu 14.04, 32bit 0.19b (command line tools) bar-0.19b-ubuntu14.04_i386.deb 3e0291c0919b031124717f332e260813
Ubuntu 14.04, 32bit 0.19b (GUI) bar-gui-0.19b-ubuntu14.04_i386.deb ac19a8bad0517d9b9b9957e74314b18b
Ubuntu 14.04, 64bit x86_64 0.19b (command line tools) bar-0.19b-ubuntu14.04_amd64.deb c19315af3cecea4510f35d221ba1cd4c
Ubuntu 14.04, 64bit x86_64 0.19b (GUI) bar-gui-0.19b-ubuntu14.04_amd64.deb de2a245258aba44842652503b4748692
Ubuntu 14.10, 32bit 0.19b (command line tools) bar-0.19b-ubuntu14.10_i386.deb 50bd3b5ea810916a1a22eff5c1699d5f
Ubuntu 14.10, 32bit 0.19b (GUI) bar-gui-0.19b-ubuntu14.10_i386.deb c4f0462d4e08916133e3a4a4a702e80e
Ubuntu 14.10, 64bit x86_64 0.19b (command line tools) bar-0.19b-ubuntu14.10_amd64.deb 3ebbaa9007bee7337a1185d0054817a8
Ubuntu 14.10, 64bit x86_64 0.19b (GUI) bar-gui-0.19b-ubuntu14.10_amd64.deb 3ff8e9adec45ba220c67388a1190dd13
Ubuntu 15.04, 32bit 0.19b (command line tools) bar-0.19b-ubuntu15.04_i386.deb 7658805363ca8d8056636cbb42318aef
Ubuntu 15.04, 32bit 0.19b (GUI) bar-gui-0.19b-ubuntu15.04_i386.deb a188c6bb3d901f273e30b327c1c16c03
Ubuntu 15.04, 64bit x86_64 0.19b (command line tools) bar-0.19b-ubuntu15.04_amd64.deb e584dbc942586ae80a37a08055f267ff
Ubuntu 15.04, 64bit x86_64 0.19b (GUI) bar-gui-0.19b-ubuntu15.04_amd64.deb be3b357275f0d05405cc7d0fb503e8ae

Note: The builds above are created with the open SuSE build service.

Package with GUI binaries only (Linux, Windows, Solaris, MacOSX):

md5sum: acc474c81f3511b99334902f344db5cc


2015-11-23 0.19b
  * fixed reading job files with none-LF at end
  * try to delete temporary directory also on Ctrl-C or
    a crash
  * fixed index auto-update: search for .bar files in
    directory and all sub-directories
  * BARControl: fixed possible null-pointer-exception
    on Windows
  * BARControl: fixed layout buttons
  * BARControl: fixed translation
  * BARControl: fixed multi language support (language files
    were missing in distribution)
  * fixed scanning for .bar-archives: scan in sub-directories,
  * BARControl: fixed typing error in help
  * BARControl: fixed null-pointer-exception when delete
    entity in restore tab
  * fixed init scripts
  * BARControl: added unit TB

2015-10-31 0.19a
  * changed upgrade database: do not lock database
  * added support to output stacktraces! Press Ctrl-\
    or send signal SIGQUIT to BAR
  * improved error handling in database
  * always unmount mounted device if init storage fail
  * fixed typing error in scp protocol init
  * fixed init SSH default password
  * fixed some compilation errors when packages are
  * added barserver.service for systemd
  * fixed init.d-start script for Fedora
  * fixed install init-scripts
  * fixed --quiet option
  * upgraded libgpg-error to 1.20: fixed problem with
    pre-processor and newer gcc versions
  * upgraded libgcrypt to 1.6.4: fixed problem with
    pre-processor and newer gcc versions
  * improved error message when ssh login fail
  * fixed possible dead-lock in server when file
    .nobackup cannot be created
  * improved error message when SSL authentification
  * fixed compiling ring buffer when no backtrace()
    function is available
  * removed wrong assert in server.c
  * fixed compiling without ulong
  * fixed unintialized data with unknown job UUIDs
  * fixed unintialized data in database access
  * BARControl: fixed number format exception when BAR
    and BARControl use different locales
  * fixed memory corruption when stringmaps are
  * fixed error message for wrong double config values
  * fixed exitcode list archives
  * fixed possible deadlock in server when started as
    a daemon
  * fixed possible crash when index database could not
    be opened or is created
  * BARControl: fixed output of --list
  * fixed possible crash when decompress broken archive
    compressed with LZO
  * upgraded LZO to 2.09
  * use LZO safe-decompress, fixed valgrind warning
  * disabled test Serpient for CentOS 5: do not use!
    Probably bug in gcc 4.1 together with -O2; solved
    in newer versions of gcc.

2015-05-01 0.19
  * added LZO compression
  * added LZ4 compression
  * fixed large file support: on some systems large files
    (>4GB) could be incompletely written
  * do not modify atime of files when creating or compare
    archives (NO_ATIME)
  * BARControl: added new/clone/rename/delete to status tab
    option menu
  * added pre-/post-command
  * improved crash reporting: include symbol file
  * improved logging
  * BARControl: added different exclude types in
    context menu (nodump, .nobackup, exclude)
  * BARControl: added pre-/post scripts
  * BARControl: added archive tree view to restore tab
  * added "entities" for set of created storage files:
    keep set of storage in the internal database and show
    created backups in a tree view in BARControl
  * BARControl: added function in restore tab context
    menu to assign storage to some entity
  * started localization support (English, German,
    and Japanese! Thanks to Satoko Koiwa)
  * added no-storage to schedule: schedule just to create
    .bid file
  * added min/max/age to schedule
  * BARControl: show tooltip in restore tab in left
    half of tree/table
  * BARControl: show number of entries in entity and
    storage (tooltip info)
  * BARControl: add function in context menu to trigger
    a specific schedule entry
  * BARControl: improved statistic view of no-storage
  * upgraded GMP to version 6.0.0a: fix usage of wrong
    code on AMD architecture.
    Thanks to Shane for his help to understand this bug!
  * BARControl: added option --version
  * fixed parsing compress algorithm names
  * improved error when reading encryption algorithm from
  * fixed matching files with \ in name (glob pattern)
  * improved tests
  * fixed delete files via webdav-protocol
  * fixed error if entered passwords are not equal
  * fixed listing, testing of content in directory:
    support pattern matching
  * fixed possible infinite recursion when processing
    delta compressed files while searching for
    delta sources
  * improved error output for libcdio
  * fixed parsing schedule data
  * BARControl: fixed schedule dialog, removed "*" archive
  * fixed race-condition in init database (thanks to Shane)
  * fixed restore: keep root (first /) when no directories
    are stripped
  * fixed sending data via scp: close and transmit last
    data package
  * fixed superfluous output on stdout of ftp+webdav

2014-11-10 0.18e
  * removed nice-level in init scripts
  * barcontrol: fixed selection and storage of
    file names via file dialog
  * barcontrol: fixed restore destination directory
    bug + overwrite flag
2014-09-29 0.18d
  * fix not closed file when --no-storage is specified
2014-09-26 0.18c
  * fixed server network connection wait time in pselect();
    may caused network trouble on some Linux systems.
    Thanks to Daniel Webb for his help to find this bug!
  * BARControl: upgraded to SWT 4.4 to fix a crash on
    close when a combo widget is disposed.
    Thanks to Daniel Webb for his help to find this bug!
  * Upgraded LZMA library to version 5.0.7
  * Added init script for CentOS

2014-05-09 0.18b
  * fixed server start script barserver for Debian
  * do not download epm, breakpad by default
  * fix compilation some third party package: m4 required

2014-05-01 0.18a
  * upgraded OpenSSL to 1.0.1g (fix for Heartbleed bug)
  * fixed replaced storage archives in database
  * barcontrol: fixed possible exception when session id key
    data cannot be parsed (NumberFormatException)
  * barcontrol: fix delete database index entries
  * barcontrol: fixed possible exception when insert
    new element into exclude list, compress exclude list
  * fix compile non-debug version without stacktrace function
  * install bar binary in /usr/bin
  * fixed install of man-page
  * fixed include bar-keygen in base package
  * fixed man page
  * barcontrol: improved error message when a SSL connection
    cannot be established
  * barcontrol: fixed error handling
  * fixed free resources when creating image archives

2014-03-21 0.18
  * added multi-core compression/encryption support!
  * dramatic speed-up when creating archives!
  * added automatic delete of duplicate index entries when
    server is started
  * store and restore extended file attributes (EAs)
  * improved FTP access: replaced FTPLib by curl+c-areas
  * added support for WebDAV protocol
  * added support for crash dump tool Breakpad
  * integrated a scan-mode which will scan partially broken
    archives for still readable parts
  * server protocol changes: replaced list of values by value map
    for easier extension of protocol. Note: you _must_ update
    both server and clients with this change.
  * added uuid to jobs
  * added custom text to schedule entries
  * added macros %uuid, %text to storage name template
  * added options --[ftp|ssh|webdav]-max-connections: limit
    number of concurrent network connections for server
  * barcontrol: added time macros %U2, %U4, %W, %W2 and %W4,
    added macros %T, %uuid, %text
  * barcontrol: added file selector button to storage name
  * support listing remote directory content
  * start support cross-compilation Linux -> Windows
  * upgrade gpg-error 1.10, gcrypt 1.5.0, gnutls 3.1.18, libcdio 0.92,
    pcre 8.34
  * fixed create index: do not delete index which is currently
  * fixed output in verbose/quiet mode
  * fixed restore: list files when "only newest" is disabled
  * fixed duplicate archive entries when multiple include options
    are specified (thanks to Stefan A.)
  * fixed writing .bid file when no directory is given
  * barcontrol: fixed duplicate job
  * barcontrol: added insert/edit/delete keyboard shortcuts
  * barcontrol: passwords sent to the bar daemon are now RSA
    encrypted! This makes it much harder to steal plain text
    passwords even when no TLS encrypted network connection is
  * improved tests: added special testcode to execute error
    handling code in tests
  * using gcc to compile is now mandatory (required because of
    improved error-handlingn with using closure like code)
  * improved defense against denial-of-service-attack: force
    delay for clients with multiple authorization failure
  * changed schedule entry in job configuration: use a section.
    Entries in the old format are still read, but not created
  * avoid console input in non-interactive mode
  * fixed barcontrol: list storage ignoring case
  * fixed barcontrol: delete storage files

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
  * 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,
  * 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
  * 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
  * 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
  * 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
  * BARControl: add functions to clear stored passwords on
  * BARControl: renamed option --index-add -> --index-database-add,
    renamed option --index-remove -> --index-database-move
  * BARControl: renamed config option pause-index-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
  * 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
  * 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
  * 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
  * 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
  * 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

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,
  * 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
  * 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,
  * 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
  * added option --compress-exclude to disable compression for
    files, images and hard links which match to the specified
  * barcontrol: added exclude list in storage tab under compress
  * fixed memory leak
  * support building Debian/Ubuntu packages with SuSE build
  * 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

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
  * 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
  * 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
  * 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
  * 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
  * 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
  * 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
  * 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

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
  * 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

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:
  * 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 at gmx.net Back to top