summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Explicitly wait for sync to finish instead of assuming that 14 secondsChris Wilson2007-11-04
| | | | | is enough time.
* Move sync helper functions from test/bbackupd to Test.h to share withChris Wilson2007-11-04
| | | | | other tests, particularly test/backupstorefix.
* Keep each test's log in a separate file for later review.Chris Wilson2007-11-03
|
* Remove all the extra newlines after the Fink message.Chris Wilson2007-11-03
|
* Log something before checking open file descriptors, to ensure thatChris Wilson2007-11-03
| | | | | | the notification socket is open already on MacOS X, as it will be at the end of the test because you can't close it.
* Log stderr output in the test log file, and don't delete it at theChris Wilson2007-11-03
| | | | | | end of the test (it might be useful later, and will be overwritten automatically)
* Log exactly which file descriptors have been left open and what they are.Chris Wilson2007-11-03
|
* sigemptyset() is a macro on OSX 10.3, so don't prepend ::Chris Wilson2007-11-03
|
* Bite the bullet and use sigaction() instead, since [1803] shows thatChris Wilson2007-10-22
| | | | | | signal() works badly on SuckOS, and James reports that BSD doesn't have sigset().
* Re-merge the good bits of [1873] with James' suggested improvements.Chris Wilson2007-10-20
|
* Compile fix for MSVC (Gary) (merges [1861])Chris Wilson2007-10-17
|
* Make detailed timer debugging work on Windows as well.Chris Wilson2007-10-17
| | | | | | | Add a couple of macros to clean up the code. (merges [1857])
* 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])
* Make Main(), GetOptionString() and ProcessOption virtual so that theyChris Wilson2007-10-17
| | | | | can actually be overridden. (merges [1852])
* Report more useful error messages on connect() failure on Windows. Chris Wilson2007-10-17
| | | | | (merges [1851])
* Compile fix. (merges [1850])Chris Wilson2007-10-17
|
* Refactor out command-line option processing, so that it can be extendedChris Wilson2007-10-17
| | | | | by subclasses. (merges [1849])
* Fix compilation on MinGW. Not yet actually used on MinGW due to theChris Wilson2007-10-17
| | | | | | file extension, but it might be soon, if the default implementation doesn't do what I want. (merges [1848])
* Undo bad changes (not all exclude options take a regex). (merges [1847])Chris Wilson2007-10-17
|
* Add James O'Gorman's NotifySysAdmin.vbs script to client parcel on Chris Wilson2007-10-17
| | | | | Win32. (merges [1838])
* Windows notify script logs an error in the System Event Log if sending Chris Wilson2007-10-17
| | | | | email fails. (merges [1837])
* Added function to set the named pipe name, for use by any test which Chris Wilson2007-10-17
| | | | | calls HUPServer() or SendCommands(). (merges [1836])
* Remove default pipe name to prevent applications from using it. (merges Chris Wilson2007-10-17
| | | | | [1835])
* Don't disable logging on Win32 console. (merges [1834])Chris Wilson2007-10-17
|
* Prepend the system-required prefix to the named pipe name from theChris Wilson2007-10-17
| | | | | configuration file. (merges [1833])
* 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])
* Document the need for -v options when using LogAllFileAccess.Chris Wilson2007-10-16
|
* Fix double backslashesChris Wilson2007-10-08
|
* Revert to decimal properly, and also after logging an Object ID.Chris Wilson2007-10-08
|
* Fix wrong comments, thanks to Nestor Arocha Rodriguez.Chris Wilson2007-10-08
|
* Test that redundant locations are really deleted after the time expires.Chris Wilson2007-10-08
|
* Die if infrastructure/makebuildenv.pl or infrastructure/makeparcels.pl failsChris Wilson2007-10-08
| | | | | during configure.
* Log the name of missing configuration keys before throwing exception.Chris Wilson2007-10-08
|
* Revert from hex to decimal default format after logging an account number.Chris Wilson2007-10-08
|
* 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.
* Compile fix.Chris Wilson2007-09-23
|
* 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
|
* Added Debian initscripts, thanks to James Stark.Chris Wilson2007-09-19
|
* Replace trunk with chris/merge.Chris Wilson2007-09-19
|\
| * Don't include the install-backup-client script in Windows builds, as it'sChris Wilson2007-09-19
| | | | | | | | | | pretty useless without Cygwin, and of marginal use with it (refs #24).