summaryrefslogtreecommitdiff
path: root/bin/bbackupd
Commit message (Collapse)AuthorAge
* * 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.
* * bin/bbackupd/Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | - More cosmetic spacing fixes
* * Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | - Reindent ServiceMain function to match coding standards and rest of file
* * Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | - Revert to trunk
* * 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).
* Prevent runaway behaviour when the StoreObjectInfo file doesn't exist when ↵Ben Summers2006-03-19
| | | | it's expected to exist. Not a fix to the underlying problem.
* This is part 2 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | This just renames all of the files that configure now substitutes - no changes to any of the files.
* This is part 1 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
* Patch from Per Thomsen to detect statvfs. This is used by recent versions of ↵Martin Ebourne2006-02-23
| | | | NetBSD in preference to statfs.
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Ignore windows sources in lib/win32 on non-windows platforms.Martin Ebourne2006-02-02
|
* Merge chris/bb-save-state, resolving conflictsBen Summers2006-01-30
|
* * configure.acChris Wilson2006-01-28
| | | | | | | | | | | | | | | | | | | * bin/bbstored/backupprotocol.txt * bin/bbstored/BackupCommands.cpp * bin/bbackupd/BackupClientContext.cpp * bin/bbackupd/BackupClientContext.h * bin/bbackupd/BackupClientDirectoryRecord.cpp * bin/bbackupd/BackupDaemon.cpp * lib/backupclient/BackupStoreFileDiff.cpp * lib/backupclient/BackupDaemonConfigVerify.cpp * lib/backupclient/BackupStoreFile.h * test/backupstore/testbackupstore.cpp * test/backupstorepatch/testbackupstorepatch.cpp - Applied changes from chris/diff-timeout-and-ssl-keepalive * test/backupdiff/testbackupdiff.cpp - Fixed test to match new prototype for EncodeFileDiff
* Now supports Berkeley DB versions >= 4.1 in addition to 1.x. The versions ↵Martin Ebourne2005-12-28
| | | | inbetween are not supported because they require code changes and I don't have them available to test against.
* Revert this change to the error retry delay that slipped in with win32. ↵Martin Ebourne2005-12-20
| | | | Arguably the timeout was already too short, or should use an increasing backoff strategy. But 10s is way too short.
* Rationalise type usage for time values. Now:Martin Ebourne2005-12-20
| | | | | | Box time is always box_time_t seconds is time_t microseconds is uint64_t
* 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
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Merged martin/xattr at r5 to trunkMartin Ebourne2005-11-30
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14