summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* Undo mangling by tailorChris Wilson2008-04-04
|
* [hg-svn @ 30cb6d2b5a2f18881f50ce8df5f7bd9e429f9fbb]Chris Wilson2008-04-04
| | | | | | | Add command-line help (usage info) to bbstoreaccounts, merges [2089]. Original author: chris@rocio.int.aidworld.org Date: 2008-03-16 19:51:27+00:00
* [hg-svn @ 9203d99fcfd5a6c90994bda6397aa55d9ac64458]Chris Wilson2008-04-04
| | | | | | | Use streams to format block counts and sizes in bbstoreaccounts, merges [2088]. Original author: chris@rocio.int.aidworld.org Date: 2008-03-16 19:50:06+00:00
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
* Make usage output (from bbstoreaccounts info and bbackupquery usage)Chris Wilson2008-04-03
| | | | | | consistent and easier to read, with blocks, B/kB/MB/GB, % and an ASCII bar graph.
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-03-29
| | | | | Remove the old TRACEx macros to catch any remaining uses.
* Allow configuration of the server port that the client will connect to Chris Wilson2008-03-28
| | | | | | | | | | | | | (bbackupd and bbackupquery). Redesign ConfigurationVerify to use classes instead of structs. Use port 22011 instead of 2201 during tests, to reduce the chances of conflicting with a running bbstored or other process. Ignore autogen_* in svn:ignore everywhere instead of individual per-file ignores.
* Improve logging with macros that consistently output strerror(errno) andChris Wilson2008-03-28
| | | | | | | | | | | | | | | errno, replacing almost all use of strerror() in the main code. Log a more detailed error message before throwing an exception for some more system call failures. Make FileStream store its filename on all platforms, not just Windows. Wrap some long lines at less than 80 characters to improve readability. Fix some minor violations of coding standard (white space) and a typo in a comment.
* Correct sysconfdir and localstatedir as they weren't doing what they were ↵James O'Gorman2008-03-25
| | | | supposed to.
* Use logging framework rather than printf to log when messages are sent Chris Wilson2008-03-13
| | | | | to the control client.
* Disable WSACleanup() in bbackupquery as I get an abnormal program Chris Wilson2008-03-01
| | | | | termination on it during testbbackupd.
* Workaround for (buggy?) gcc not finding inherited Main method on Chris Wilson2008-03-01
| | | | | Windows.
* * Move all commands from bin to sbin on Unix platformsJames O'Gorman2008-02-27
| | | | | | * Update all associated docs and contributed distribution files
* Correct typo in the NotifySysadmin.sh generationJames O'Gorman2008-02-12
|
* Add object cache debugging traces to bbstored.Chris Wilson2008-01-31
|
* Use @sysconfdir_expanded@ as default location for configuration files,Chris Wilson2008-01-28
| | | | | | | | | | | | | | | | | | | instead of /etc/box. Thanks to Eric Cronin for pointing this out. Likewise, use @localstatedir_expanded@ as default location for temporary state (*.pid and bbackupd.sock), defaults to /usr/local/var, although /var/run may be better on LFS systems. Likewise, use @bindir_expanded@ for binaries. Reformat usage text for readability. Remove the message that "Directories not checked against mountpoints", as they now are. Report the type of the unrecognised message in the "unknown error" part of the default NotifyScript.
* Fix warnings on HPPA due to assigning static strings to non-constChris Wilson2008-01-23
| | | | | char *. Thanks to Reinhard Tartler and the Debian project buildds.
* Sun CC compile fix: doesn't like assigning an iterator to a const_iterator.Chris Wilson2008-01-22
|
* Don't warn about mount points which are excluded, thanks to Matt Brown forChris Wilson2008-01-20
| | | | | reporting this bug.
* Even simpler replacement for [1977].Chris Wilson2007-12-09
|
* Properly report when we failed to lock the account, so that changesChris Wilson2007-12-09
| | | | | requiring a write lock don't proceed when we don't have one.
* Ensure that restore failure sets the return code from bbackupquery, soChris Wilson2007-11-06
| | | | | that symlink following test fails.
* Fix compare output for missing local files which are on the store.Chris Wilson2007-11-04
|
* Re-merge the good bits of [1873] with James' suggested improvements.Chris Wilson2007-10-20
|
* Use the specified service name when installing and removing the service.Chris Wilson2007-10-17
| | | | | | | | Pass the service name on the service command line, and use it for event log messages. (merges [1856])
* Add "-h" and "/?" options to display usage in Daemon.Chris Wilson2007-10-17
| | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855])
* Use Daemon's delegated option processing instead of our own hacks.Chris Wilson2007-10-17
| | | | | | Move Windows service startup, installation and removal to BackupDaemon. (merges [1854])
* Record the exit status of the daemon when running as a service, andChris Wilson2007-10-17
| | | | | | | | | | | | | | | | | | return it to Windows so that Windows doesn't tell the admin that "the service did not report an error" when it stopped unexpectedly. When failing to contact the SCM, report a textual error message as well as the error code. Make OurService() take a const char * instead of char *, so that we can pass it a std::string.c_str(). InstallService creates service using "-s" option instead of "--service", which no longer works once we use getopt() for option processing (to follow). (merges [1853])
* Undo bad changes (not all exclude options take a regex). (merges [1847])Chris Wilson2007-10-17
|
* Windows notify script logs an error in the System Event Log if sending Chris Wilson2007-10-17
| | | | | email fails. (merges [1837])
* 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])
* Don't initialise the command socket thread (on Win32) until theChris Wilson2007-10-17
| | | | | | | | | | | | configuration is known. Create the command socket (on Win32) with the specified pipe name in the configuration file. Commonise some code between Windows and Unix daemon startup. (merges [1831])
* Add script to notify sysadmin by email on backup failure on Win32, Chris Wilson2007-10-17
| | | | | | thanks to James O'Gorman. (merges [1830])
* Update to match improved comments generated by bbackupd-config in recentChris Wilson2007-10-17
| | | | | | | | | | | | | | versions. Increase maximum diffing time to 120 seconds (from 20). Enable KeepAliveTime by default and set to 120 seconds. Link to James O'Gorman's NotifySysAdmin.vbs VBScript which works on Windows, replacing the default shell script. (merges [1829])
* Don't abort if one of the location paths doesn't exist, just print a Chris Wilson2007-10-17
| | | | | | | | | | warning and continue. Use an auto_ptr to avoid memory leaks when setting up a location fails. (merges [1828])
* Allow configuration of the time to delete redundant store locations.Chris Wilson2007-10-08
|
* Fix crash when notifyscript is called for BackupStart or BackupFinish.Chris Wilson2007-10-08
|
* Set the locale from the environment, so that international charactersChris Wilson2007-09-23
| | | | | may be entered when using editline.
* Undo bad changes (not all exclude options take a regex).Chris Wilson2007-09-21
|
* Fix regular expression syntax in examples, thanks Roy!Chris Wilson2007-09-21
|
* Don't initialise MemLeakFinder twice when running as a service.Chris Wilson2007-09-07
| | | | | | | Return a non-zero exit code if running as a service fails. (merges [1813])
* Fix comments. (merges [1812])Chris Wilson2007-09-07
|
* Document and enable KeepAliveTime option by default.Chris Wilson2007-09-07
|
* Fix error message when failing to create remote directory for location.Chris Wilson2007-09-01
|
* Call the notify script whenever backup starts or finishes, but theChris Wilson2007-09-01
| | | | | | default script does nothing in this case. Requested by scott <scott@lubetech.com.au>.
* Use ProgressNotifier to report upload exceptions (merges last part of [1342])Chris Wilson2007-09-01
|
* Log more detailed errors when the server returns an error while uploadingChris Wilson2007-09-01
| | | | | a file. (merges [1781])
* Update the comments in the generated configuration file to better describeChris Wilson2007-08-31
| | | | | the available options and their units.
* Fix documentation comments on ExcludeDir/AlwaysInclude.Chris Wilson2007-08-05
| | | | | Fix warning about mounted filesystems to reflect current reality.
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)