summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* Include <memory> for std::auto_ptrChris Wilson2009-03-24
|
* Switch to C++ include file names.Chris Wilson2009-03-24
|
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Wrap long lines for readability.Chris Wilson2009-03-19
|
* Compile fix.Chris Wilson2009-01-24
|
* Move stream comparison code out of BackupQueries::Compare to Chris Wilson2009-01-04
| | | | | FileStream class.
* Compare API for notification on starting to compare a file or directory.Chris Wilson2009-01-03
|
* Compare interface tweaks to reduce the number of methods.Chris Wilson2008-12-31
|
* Separate out compare parameters and notification from Chris Wilson2008-12-30
| | | | | BackupQueries::CompareParams to allow Boxi to reuse this code.
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Separate out daemon control interfaces into BackupDaemonInterface, for Chris Wilson2008-12-30
| | | | | | use by Boxi without dragging the implementation details into lots of headers.
* Make BackupDaemon::TouchFileInWorkingDir accessible for Boxi.Chris Wilson2008-12-27
|
* Reformat comment.Chris Wilson2008-12-27
|
* Catch exceptions from BackupClientFileAttributes::ReadAttributesChris Wilson2008-12-05
| | | | | | | | | | | | | | | | | during backup, and report which file caused them. If we cannot read the attributes of a directory to find its inode number, assume that it hasn't been renamed. Reformat "Storing uploaded file ID" log line to shorten source code lines. Change "Storing uploaded file ID" and "Found conflicting parent ID" messages not to print the path, which duplicates data earlier in the same message. Fix typo in comment.
* Reduce severity of some log messages about notifying systemChris Wilson2008-12-01
| | | | | administrator. It's not an error to have no NotifyScript.
* Fix missing parentheses on stored file ID messages.Chris Wilson2008-12-01
|
* Add support for using the logging framework to log (most) bbackupqueryChris Wilson2008-11-30
| | | | | output to a file, with its own verbosity level.
* Fix NotifyScript syntax error reported by Roy.Chris Wilson2008-11-11
| | | | | Ignore "backup-ok" messages in NotifyScript by default.
* Remove unused and wrong default path for accounts database.Chris Wilson2008-10-18
|
* Add -m option to bbackupquery usage command for machine-readable output.Chris Wilson2008-10-16
|
* Log statistics before BackupFinish event, so that they can be usedChris Wilson2008-10-04
| | | | | in reporting in the NotifyScript.
* Reformat comments for readability.Chris Wilson2008-10-03
|
* Remove Win32 command socket thread, as it has caused too much trouble.Chris Wilson2008-10-03
| | | | | | | | | | | Handle command socket on Win32 the same as all other platforms, removing #ifdefs from BackupDaemon. Will replace this thread with regular but not excessive command socket polling using timers in future. Change error messages when command socket comms fail to make them clearer.
* Log creation of directory records and warn on conflicting records.Chris Wilson2008-10-03
|
* Reformat for readability.Chris Wilson2008-10-03
|
* Add file logging support (LogFile and LogFileLevel config options).Chris Wilson2008-09-26
| | | | | | | | | | | | | | | | Ensure that backup-finish is always called, and add a new event, backup-ok, which is called just before backup-finish when the backup run was successful. Keep track of the last backup status notification sent (excluding backup-start and backup-finish) and send a notification whenever it changes. Add a new boolean option, NotifyAlways, to override that check and always send notifications to the NotifyScript after every backup run, for notify scripts which do their own state tracking or otherwise require notification on every event.
* Make upload decision messages (logged with LogAllFileAccess) clearerChris Wilson2008-09-26
| | | | | to help automated log processing.
* Use named timer for KeepAliveTime.Chris Wilson2008-09-26
|
* s/(bbdev.)?fluffy.co.uk/boxbackup.org/James O'Gorman2008-09-16
|
* Improve wording of control command message.Chris Wilson2008-09-15
|
* Prefix event log application name with Box Backup, and remove it fromChris Wilson2008-09-14
| | | | | | | | | | all calls to SetProgramName, for better consistency on Unix. Make bbstoreaccounts and bbackupctl set their program names for logging. Don't override supplied tag with service name when BackupDaemon is run as a service.
* Log which command succeeded or failed, rather than just "Succeeded",Chris Wilson2008-09-13
| | | | | which is not very helpful in system logs.
* Allow undelete command to work on files as well as directories.Chris Wilson2008-09-13
| | | | | | | Add delete command that works on files and directories. Document both commands.
* Add command to undelete a file, to complete the set of commandsChris Wilson2008-09-13
| | | | | implemented by the bbstored server.
* Allow stopping housekeeping during a run, between accounts, when theChris Wilson2008-09-13
| | | | | daemon is requested to terminate or to reload its configuration.
* Use logging tagger to identify clients during connections, bothChris Wilson2008-09-13
| | | | | in syslog and on the console.
* Make statistics back into a NOTICE level log again, as they're pretty Chris Wilson2008-08-22
| | | | | important and useful.
* Make BackupQueries::CompareParams public so that Boxi can use it.Chris Wilson2008-08-21
|
* Run housekeeping synchronously on all platforms if daemon is run in Chris Wilson2008-08-21
| | | | | | | single process mode (-D), not just on Windows. Add a housekeeping interface to allow Boxi to run housekeeping.
* Report when directory modification time is later than last sync time as Chris Wilson2008-08-21
| | | | | a possible cause of compare failure, just as we do with files.
* Use SelfFlushingStream to ensure that protocol streams are always Chris Wilson2008-08-21
| | | | | | flushed, fixes a problem where local file is not readable during compare, and stream was not flushed, breaking the rest of the compare.
* Reformat for readability.Chris Wilson2008-08-21
|
* Don't use private direct access to Configuration.mSubConfigurations.Chris Wilson2008-08-21
|
* Handle sysadmin notifications and calculate next sync time in Chris Wilson2008-08-21
| | | | | | | BackupDaemon::RunSyncNow, moved from RunSyncNowWithExceptionHandling, which just does the exception handling. We want to replace the exception handling in Boxi, but not the other stuff.
* Propagate BackupStoreException::SignalReceived up to BackupDaemon to Chris Wilson2008-08-21
| | | | | | abort the run, rather than treating it as a failure to upload a single file.
* More use of new interfaces, compile fix for [2245].Chris Wilson2008-08-21
|
* Pass a RunStatusProvider and a ReadLoggingStream::Logger from Chris Wilson2008-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | BackupDaemon through BackupClientDirectoryRecord, BackupStoreFile and BackupStoreFileEncodeStream to ReadLoggingStream, to allow progress callbacks during file upload and cancelling upload part-way. Implement ReadLoggingStream::Logger in BackupClientDirectoryRecord::SyncParams, which thunks the notifications back to the ProgressNotifier. Add the SysadminNotifier interface from Boxi. Add NotifyIDMapsSetup() to ProgressNotifier. Change BackupClientDirectoryRecord::SyncParams to store references to the individual callback interfaces rather than BackupDaemon. Initialise all members in BackupDaemon. Add ability for BackupDaemon user to override the ProgressNotifier, LocationResolver, SysadminNotifier and RunStatusProvider that will be used during the backup. Make BackupDaemon::Location class public and provide access to the configured locations for Boxi (dangerous, they could be modified without BackupDaemon knowing it).
* Add handling of backup-error events to NotifySysAdmin.vbs.Chris Wilson2008-08-11
| | | | | Fix spelling errors.
* Move the code that runs a backup with exception handling into its ownChris Wilson2008-08-10
| | | | | method, to allow testbbackupd to call it.
* Reformat comments for readability.Chris Wilson2008-08-10
|