summaryrefslogtreecommitdiff
path: root/bin/bbackupctl
Commit message (Collapse)AuthorAge
* Fix getopt header confusion.Chris Wilson2013-09-30
| | | | | | | | Our copy of getopt.h in lib/win32 was beating the system getopt.h in the search path, and providing different definitions, which clang picked up. Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide whether to include this one instead of the system getopt.h.
* Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with Chris Wilson2010-06-06
| | | | | BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE.
* gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the DebianChris Wilson2009-04-03
| | | | | | | | project. See also: http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1 http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
* Switch to C++ include file names.Chris Wilson2009-03-24
|
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Improve wording of control command message.Chris Wilson2008-09-15
|
* Prefix event log application name with Box Backup, and remove it fromChris Wilson2008-09-14
| | | | | | | | | | all calls to SetProgramName, for better consistency on Unix. Make bbstoreaccounts and bbackupctl set their program names for logging. Don't override supplied tag with service name when BackupDaemon is run as a service.
* Log which command succeeded or failed, rather than just "Succeeded",Chris Wilson2008-09-13
| | | | | which is not very helpful in system logs.
* Additional #includes, thanks to the T2 ProjectChris Wilson2008-04-18
| | | | | (http://www.t2-project.org/packages/boxbackup.html)
* Pass the command socket name from the configuration to Chris Wilson2007-10-17
| | | | | | | | | WinNamedPipeStream, to allow multiple command sockets per system. Remove unnecessary newlines from log messages. (merges [1832])
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)
* Replace almost all calls to syslog() with logging framework. (refs #3)Chris Wilson2007-07-31
|
* Make Configuration take a std::string filename instead of a char array,Chris Wilson2007-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692])
* Typo fixChris Wilson2007-03-04
|
* openlog inside MAINHELPER block, to ensure that any memory leaks will be Chris Wilson2006-11-13
| | | | | caught (refs #3)
* * Oops, wrong direction. Undo last change.Chris Wilson2006-10-14
|
* * Comment grammar fix (refs #3)Chris Wilson2006-10-14
|
* * bbackupctl.cppChris Wilson2006-08-08
| | | | | - Grammar fix in comments (cosmetic)
* * bin/bbackupctl/bbackupctl.cppChris Wilson2006-08-07
| | | | | | - Changed code structure to be more readable and robust, following Martin's advice.
* * bbackupctl.cppChris Wilson2006-08-07
| | | | | - Revert all changes back to trunk state
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14