summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* * bin/bbstored/BackupStoreDaemon.hChris Wilson2006-08-31
| | | | | | - Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do nothing (refs #3)
* * bin/bbstored/BackupContext.cppChris Wilson2006-08-31
| | | | | | | - Delete the temporary file on Win32 just like on other platforms (note that this reduces the guarantees that the file will be deleted, especially if an exception is thrown, refs #819)
* * bin/bbstored/BackupCommands.cppChris Wilson2006-08-31
| | | | | | - Use the same code for file names and file closing on other platforms that's needed on Win32
* * 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/bbstored/HousekeepStoreAccount.cppChris Wilson2006-08-30
| | | | | | | - Disable checks for inter-process messages on Win32 (there is only one process) - Close directory immediately after we finish reading it
* * bin/bbstored/HousekeepStoreAccount.cppChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbstored/BackupStoreDaemon.hChris Wilson2006-08-30
| | | | | | | * bin/bbstored/BBStoreDHousekeeping.cpp - Split housekeeping process into separate initialisation, process loop and run methods (we don't want the process loop on Win32)
* * bin/bbstored/BBStoreDHousekeeping.cppChris Wilson2006-08-30
| | | | | - Only include syslog.h if we have one
* * bin/bbstored/BackupStoreDaemon.hChris Wilson2006-08-30
| | | | | - Removed SendMessageToHousekeepingProcess() on Win32, no longer needed
* * bin/bbstored/BBStoreDHousekeeping.cppChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbstored/BackupStoreDaemon.cppChris Wilson2006-08-30
| | | | | - Cast off_t to long long, in case they differ in size (e.g. Win32)
* * bin/bbstored/BackupStoreDaemon.hChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbstored/BackupStoreDaemon.cppChris Wilson2006-08-30
| | | | | - Only include <syslog.h> if we have it
* * bin/bbstored/BackupStoreDaemon.cppChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbstored/BackupContext.cppChris Wilson2006-08-30
| | | | | | | | | - Removed locking on Win32, there is no housekeeping process to lock against - Open files with O_BINARY on Win32 - Fixed a cosmetic spelling mistake in a comment - Unlink file later on Windows, since we can't do it while it's open
* * bin/bbstored/BackupContext.cppChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbackupquery/documentation.txtChris Wilson2006-08-30
| | | | | - Revert to trunk
* * bin/bbackupquery/BackupQueries.hChris Wilson2006-08-30
| | | | | - Revert to trunk
* * 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/bbstored/BackupCommands.cppChris Wilson2006-08-30
| | | | | | | - Can't unlink open files on Win32. This is not the correct fix, but it does work around the problem. - Only include syslog.h if we have it
* * bin/bbstored/BackupCommands.cppChris 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/bbackupquery/BackupQueries.cppChris Wilson2006-08-20
| | | | | - Renamed cmd_info_t to QueryCommandSpecification as requested by Ben
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-08-20
| | | | | - Removed options without code to handle them
* * 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/bbackupquery/BackupQueries.cppChris Wilson2006-08-09
| | | | | - Use a nicer data structure for commands and their options.
* * bbackupquery/BackupQueries.cppChris Wilson2006-08-09
| | | | | - Don't call geteuid() on Windows, since it lies to us anyway
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-08-09
| | | | | - Revert to trunk
* * 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