summaryrefslogtreecommitdiff
path: root/bin/bbackupd
Commit message (Collapse)AuthorAge
...
* Log important output at NOTICE level, instead of INFO (refs #3)Chris Wilson2007-01-15
|
* Skip mount points and NTFS reparse points inside a location, even ifChris Wilson2007-01-15
| | | | | not excluded (refs #3)
* Don't die on unreadable files (refs #3)Chris Wilson2007-01-14
|
* Always start by logging everything to syslog, even when running on the Chris Wilson2007-01-12
| | | | | | | console. Don't closelog() here, let Logging do that for us. (refs #3)
* Added logging of directory scans and excluded files. (refs #3)Chris Wilson2007-01-11
|
* Added a new config option, LogAllFileAccess, which will log access to every Chris Wilson2007-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 Wilson2006-12-16
|
* Improved debugging when a path to a location doesn't exist or can't beChris Wilson2006-12-16
| | | | | opened. (refs #3)
* Send keepalives when needed while scanning large directories (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* Moved KeepAlive timer to BackupClientContext object.Chris Wilson2006-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 Wilson2006-12-03
|
* Replace old-style setitimers for KeepAliveTime and MaximumDiffingTime Chris Wilson2006-11-28
| | | | | with new Timer objects. (refs #3, refs #9)
* Add ExtendedLogFile option to bbackupd config (refs #9)Chris Wilson2006-11-14
|
* Initialise cross-platform timers on all platforms, remove win32-specific Chris Wilson2006-11-13
| | | | | code (refs #9)
* * Operator precedence fix (refs #3)Chris Wilson2006-10-14
|
* * Replace global daemon object with a pointer, to allow deletion andChris Wilson2006-10-14
| | | | | clean up reported memory leaks (refs #3, combine with [1027])
* * Catch invalid output from sync allow script and tell the user what itChris Wilson2006-10-14
| | | | | was, to help them debug the problem (refs #3)
* * Apply Box coding standards (refs #3, replaces [1026])Chris Wilson2006-10-14
|
* * Oops, svn merged too much, undo againChris Wilson2006-10-14
|
* * Replace global daemon object with a pointer, to allow deletion andChris Wilson2006-10-14
| | | | | | | | clean up reported memory leaks * No need to initialise Winsock here, now that lib/server/Daemon does it for us * Initialise logging properly (refs #3)
* * Apply Box coding standards (refs #3)Chris Wilson2006-10-14
|
* * Use readdir's d_type field to determine type of directory entry withoutChris Wilson2006-10-14
| | | | | | statting the entry, which allows users to exclude unreadable entries to suppress warnings about them on Win32 (refs #3)
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-31
| | | | | | - Reinstate missing mReceivedCommandConn - Clean up exception handling
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * bin/bbackupd/BackupClientDirectoryRecord.cppChris Wilson2006-08-31
| | | | | | - Sync subdirectories even when store is full, allows user to exclude files to free up space to complete their backups
* * bin/bbackupd/Win32BackupService.hChris Wilson2006-08-30
| | | | | - Prototype update to match changes to Win32BackupService.cpp
* * bin/bbackupd/Win32BackupService.hChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbackupd/BackupClientDirectoryRecord.cppChris Wilson2006-08-30
| | | | | | - Restructured the backup decision logic to make it easier to understand and debug
* * bin/bbackupd/BackupClientDirectoryRecord.cppChris Wilson2006-08-30
|
* * infrastructure/BoxPlatform.pm.inChris Wilson2006-08-30
| | | | | | | * win32.bat * bin/bbackupd/BackupClientDirectoryRecord.cpp - Merged back changes from trunk
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-21
| | | | | - Remove duplicated exception handlers
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-20
| | | | | | - Improved exception messages for reading and writing the StoreObjectInfoFile, and made them consistent.
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-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.cppChris Wilson2006-08-20
| | | | | | | - Cleaned up SyncAllowScript cleanup code - Fixed catching std::exception while handling command socket to do the same as catching (...)
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-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.cppChris Wilson2006-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.cppChris Wilson2006-08-09
| | | | | - Cosmetic spelling and formatting fixes
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-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.hChris Wilson2006-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.hChris Wilson2006-08-09
| | | | | - Revert to trunk
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-09
| | | | | - Reverted to trunk
* * bin/bbackupd/Win32BackupService.cppChris Wilson2006-08-09
| | | | | | | | | - Made RunService() pass the configuration file name to Win32BackupService::WinService() - Made WinService() calculate the default configuration file name more sanely and safely - Made WinService() not return before MAINHELPER_END
* * bbackupd/Win32BackupService.cppChris Wilson2006-08-09
| | | | | - Revert to trunk
* * bin/bbackupd/Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | | | | - Improved diagnostic output if InstallService() fails - Ensure that InstallService() cleans up all resources - Check that the requested configuration file is accessible - Include the configuration file in the service parameters
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | - Return the status code from InstallService() and RemoveService() as exit code (0 on success, 1 on failure)
* * bin/bbackupd/Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | | | | | | | | | | * bin/bbackupd/Win32ServiceFunctions.cpp - InstallService() and OurService() take the config file name as a parameter - InstallService() returns an integer status code like RemoveService() - OurService() sets the global static config file name to pass into the main thread later * bin/bbackupd/bbackupd.cpp - Call InstallService() and OurService() with the config file name as a parameter
* * Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | - Header update
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | * Win32ServiceFunctions.h - Revert to trunk
* * Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | | - RemoveService() returns a status code, 0 for success, 1 for error - RemoveService() outputs better diagnostic messages on failure
* * bin/bbackupd/Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | | | | - Keep a static char pointer to hold onto the config file name to pass it to ServiceMain (over whose parameters we have no control). - ServiceMain passes the config file name as the parameter of the thread it creates.