summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* 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
|
* Fix redundant logging of command socket messages.Chris Wilson2008-08-08
| | | | | Reformat for readability.
* Rename BackupContext to BackupStoreContext.Chris Wilson2008-08-07
| | | | | Add a TestHook to help test weird server behaviour such as crashes.
* Add machine-readable output mode (with -m option) to bbstoreaccounts info.Chris Wilson2008-08-07
|
* Log file uploads at NOTIFY level so that all you need to do to get themChris Wilson2008-08-03
| | | | | (and just them) logged is to set LogAllFileAccess = yes.
* Log the error code returned by NotifyScript.Chris Wilson2008-08-03
|
* Don't warn about ignoring sockets and FIFOs during backup, thanks toChris Wilson2008-07-03
| | | | | Tollef Fog Heen (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479145)
* Add missing #include, thanks to Alex Howansky.Chris Wilson2008-07-02
| | | | | | Reset notification state for backup-error after a successful backup, thanks to Wolfgang Trexler.
* Add bbackupquery -W<level> option to set explicit warning level, Chris Wilson2008-05-28
| | | | | | | | | | | | | | | | | | | Obsolete old (inconsistent) meaning of -q in bbackupquery. Replace -q with -Wwarning or -Werror in tests to reduce noise and fix tests. Test that reading a nonexistent directory on the server doesn't crash server or client. Test that bbackupd does continue backup run and delete files when storage limit is exceeded. Use logging guards to hide expected warnings in testbbackupd. Remove apparently pointless listing files on server at the end of testbbackupd.
* Use symbolic names instead of #defines for return codes.Chris Wilson2008-05-28
|
* Track and log file deletions by name.Chris Wilson2008-05-28
| | | | | | | | | | | | Split crypto init and file sync process into its own method, to reduce call depth and facilitate calling in process from tests. Differentiate between 3 uses of stat in BackupClientDirectoryRecord by renaming the structures. Use stat instead of lstat when checking the filesystem that's holding an entity, in case it's a symbolic link to a different filesystem.
* Shorten names used by daemons.Chris Wilson2008-05-28
|
* Catch exception on reading a directory that doesn't exist, and return a Chris Wilson2008-05-28
| | | | | protocol error message instead.
* Reformat for readability.Chris Wilson2008-05-28
| | | | | Log removal of directories by housekeeping.
* Catch server errors when listing a directory.Chris Wilson2008-05-05
|
* Add restore -f option to force restore to continue after an error.Chris Wilson2008-05-05
|
* Additional #includes, thanks to the T2 ProjectChris Wilson2008-04-18
| | | | | (http://www.t2-project.org/packages/boxbackup.html)
* Fix crash when notifying sysadmin of an invalid event code.Chris Wilson2008-04-09
| | | | | Disable some debug logging.
* Improve LogAllFileAccess logging by making the simple case (file notChris Wilson2008-04-09
| | | | | changed) easier to read.