Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Sun CC compile fix: doesn't like assigning an iterator to a const_iterator. | Chris Wilson | 2008-01-22 |
| | |||
* | Use the specified service name when installing and removing the service. | Chris Wilson | 2007-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 Wilson | 2007-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 Wilson | 2007-10-17 |
| | | | | | | Move Windows service startup, installation and removal to BackupDaemon. (merges [1854]) | ||
* | Don't initialise the command socket thread (on Win32) until the | Chris Wilson | 2007-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]) | ||
* | Don't abort if one of the location paths doesn't exist, just print a | Chris Wilson | 2007-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 Wilson | 2007-10-08 |
| | |||
* | Fix crash when notifyscript is called for BackupStart or BackupFinish. | Chris Wilson | 2007-10-08 |
| | |||
* | Fix error message when failing to create remote directory for location. | Chris Wilson | 2007-09-01 |
| | |||
* | Call the notify script whenever backup starts or finishes, but the | Chris Wilson | 2007-09-01 |
| | | | | | | default script does nothing in this case. Requested by scott <scott@lubetech.com.au>. | ||
* | Fixed object use after delete, thanks Gary! (refs #3, merges [1673]) | Chris Wilson | 2007-07-26 |
| | |||
* | Fixed object store read/write, fixes #18 properly, thanks Gary! | Chris Wilson | 2007-07-26 |
| | | | | | (refs #3, merges [1672]) | ||
* | Undo bad merge of [1658] and [1669] (refs #3, merges [1671]) | Chris Wilson | 2007-07-26 |
| | |||
* | Apply remaining parts of Gary's patch, missing from [1658], thanks Gary | Chris Wilson | 2007-07-26 |
| | | | | | (refs #3, merges [1669]) | ||
* | Apply Gary's patch to save the list of unused root directory entries | Chris Wilson | 2007-07-26 |
| | | | | | | in the store object info file, so that they will persist across restarts. (refs #18, refs #3, merges [1658]) | ||
* | More helpful error messages when location setup failed. | Chris Wilson | 2007-07-26 |
| | |||
* | Add more debugging checks and messages for location setup error | Chris Wilson | 2007-07-26 |
| | | | | | | reported by Pete Jalajas (http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html) | ||
* | Hopefully fix a bug reported by Tobias Balle-Petersen, where unused | Chris Wilson | 2007-07-18 |
| | | | | | | locations on the store would never be deleted because the timer would be reset on every backup pass (refs #3). | ||
* | Fix formatting bugs. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Log event name instead of numeric code. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Move all command socket communications to the worker thread, to avoid | Chris Wilson | 2007-03-24 |
| | | | | | | | | | | deadlocks. Use events, and a message list protected by a critical section, to pass messages between threads. (refs #3) | ||
* | Reformat long lines for readability. (refs #3, merges remainder of [1459]) | Chris Wilson | 2007-03-24 |
| | |||
* | Better handle a case where a force-sync command comes in immediately | Chris Wilson | 2007-03-24 |
| | | | | | | | after (or during) a sync, i.e. less than MinimumFileAge seconds after the last one. In this case, just move back the syncPeriodStart by 1 second. (refs #3, merges part if [1459]) | ||
* | iUse our new ClientException codes for clock skew and archive problems. | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges part of [1459]) | ||
* | Add a new notification constant, NotifyEvent_BackupError, for use when | Chris Wilson | 2007-03-22 |
| | | | | | | | | | | | | | an exception occurs during the backup. Make bbackupd notify sysadmin when an exception occurs during the backup, using this error code, and the notification string "backup-error". Change NotifyEvent__MAX to be one greater than the highest notification constant, makes code more maintainable. (refs #3) | ||
* | Stop locations from being deleted from the store just because their local | Chris Wilson | 2007-01-25 |
| | | | | | directory can't be found, as suggested by Gary (refs #3) | ||
* | Log important output at NOTICE level, instead of INFO (refs #3) | Chris Wilson | 2007-01-15 |
| | |||
* | Added a new config option, LogAllFileAccess, which will log access to every | Chris Wilson | 2007-01-11 |
| | | | | | | file and scanning every directory. The current implementation is taken straight from the Boxi branch. To be extended shortly. (refs #3) | ||
* | Change all logging to use the logging framework, as an example. (refs #3) | Chris Wilson | 2006-12-16 |
| | |||
* | Improved debugging when a path to a location doesn't exist or can't be | Chris Wilson | 2006-12-16 |
| | | | | | opened. (refs #3) | ||
* | Moved KeepAlive timer to BackupClientContext object. | Chris Wilson | 2006-12-03 |
| | | | | | | | | Made timeout initialisation non-static, and a property of the context object. (perhaps should be in rParams, I know). (refs #3, refs #9) | ||
* | Log failure to rename ID map files. (refs #3) | Chris Wilson | 2006-12-03 |
| | |||
* | Add ExtendedLogFile option to bbackupd config (refs #9) | Chris Wilson | 2006-11-14 |
| | |||
* | Initialise cross-platform timers on all platforms, remove win32-specific | Chris Wilson | 2006-11-13 |
| | | | | | code (refs #9) | ||
* | * Catch invalid output from sync allow script and tell the user what it | Chris Wilson | 2006-10-14 |
| | | | | | was, to help them debug the problem (refs #3) | ||
* | * Apply Box coding standards (refs #3, replaces [1026]) | Chris Wilson | 2006-10-14 |
| | |||
* | * Oops, svn merged too much, undo again | Chris Wilson | 2006-10-14 |
| | |||
* | * Apply Box coding standards (refs #3) | Chris Wilson | 2006-10-14 |
| | |||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-31 |
| | | | | | | - Reinstate missing mReceivedCommandConn - Clean up exception handling | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-31 |
| | | | | | - Revert to trunk | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-21 |
| | | | | | - Remove duplicated exception handlers | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-20 |
| | | | | | | - Improved exception messages for reading and writing the StoreObjectInfoFile, and made them consistent. | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-20 |
| | | | | | | | - Removed redundant exception handler (BoxException extends std::exception) - Changed error to warning if an exception is caught while trying to clean up from another exception on the command socket | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-20 |
| | | | | | | | - Cleaned up SyncAllowScript cleanup code - Fixed catching std::exception while handling command socket to do the same as catching (...) | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-20 |
| | | | | | | | | | | - Restored initialisation of this->mReceivedCommandConn to false in handler thread. - Changed handling of all catch(...) blocks, which don't have an obvious outer exception handler, to catch std::exception first and report it with e.what(), as suggested by Martin. - Fixed some catch blocks to match coding standards. | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-09 |
| | | | | | | | | - Made the code more readable by defining a reference rSocket to mpCommandSocketInfo->mListeningSocket which is used several times. - Terminate the listening thread if it fails to bind a command socket. - Log any unrecognised commands received over the command socket. | ||
* | * bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-09 |
| | | | | | - Cosmetic spelling and formatting fixes | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-09 |
| | | | | | | - Use the result of SerializeStoreObjectInfo, if we failed to serialise (when no file existed) then no need to delete the file on the next run. | ||
* | * bbackupd/BackupDaemon.h | Chris Wilson | 2006-08-09 |
| | | | | | | | * bbackupd/BackupDaemon.cpp - Made SerializeStoreObjectInfo() return a boolean, true if it successfully saved the store object info file, false otherwise. | ||
* | * bin/bbackupd/BackupDaemon.cpp | Chris Wilson | 2006-08-09 |
| | | | | | - Reverted to trunk |