| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
Pass the service name on the service command line, and use it for event
log messages.
(merges [1856])
|
|
|
|
|
|
|
|
|
| |
Extend usage info with service commands in BackupDaemon.
Disable useless -D, -V and -k options on Windows.
(merges 1855])
|
|
|
|
|
|
| |
Move Windows service startup, installation and removal to BackupDaemon.
(merges [1854])
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
|
|
|
|
|
| |
warning
and continue.
Use an auto_ptr to avoid memory leaks when setting up a location fails.
(merges [1828])
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
default script does nothing in this case. Requested by
scott <scott@lubetech.com.au>.
|
| |
|
|
|
|
|
| |
(refs #3, merges [1672])
|
| |
|
|
|
|
|
| |
(refs #3, merges [1669])
|
|
|
|
|
|
| |
in the store object info file, so that they will persist across restarts.
(refs #18, refs #3, merges [1658])
|
| |
|
|
|
|
|
|
| |
reported by Pete Jalajas
(http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html)
|
|
|
|
|
|
| |
locations on the store would never be deleted because the timer would be
reset on every backup pass (refs #3).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
deadlocks.
Use events, and a message list protected by a critical section, to pass
messages between threads.
(refs #3)
|
| |
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
| |
(refs #3, merges part of [1459])
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
directory can't be found, as suggested by Gary (refs #3)
|
| |
|
|
|
|
|
|
| |
file and scanning every directory. The current implementation is taken
straight from the Boxi branch. To be extended shortly. (refs #3)
|
| |
|
|
|
|
|
| |
opened. (refs #3)
|
|
|
|
|
|
|
|
| |
Made timeout initialisation non-static, and a property of the context
object. (perhaps should be in rParams, I know).
(refs #3, refs #9)
|
| |
|
| |
|
|
|
|
|
| |
code (refs #9)
|
|
|
|
|
| |
was, to help them debug the problem (refs #3)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- Reinstate missing mReceivedCommandConn
- Clean up exception handling
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Remove duplicated exception handlers
|
|
|
|
|
|
| |
- Improved exception messages for reading and writing the
StoreObjectInfoFile, and made them consistent.
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- Cleaned up SyncAllowScript cleanup code
- Fixed catching std::exception while handling command socket to do the
same as catching (...)
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
- Cosmetic spelling and formatting fixes
|
|
|
|
|
|
| |
- 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.cpp
- Made SerializeStoreObjectInfo() return a boolean, true if it
successfully saved the store object info file, false otherwise.
|
|
|
|
|
| |
- Reverted to trunk
|
|
|
|
|
|
|
| |
- 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).
|