summaryrefslogtreecommitdiff
path: root/bin/bbackupd
Commit message (Collapse)AuthorAge
* Notify about uploading changed attributes for files as well as Chris Wilson2010-02-24
| | | | | directories.
* Add notification about uploading new file attributes.Chris Wilson2010-02-24
| | | | | | Add check for changing file creation times on Windows, to cause the attributes to be uploaded again.
* Undo compile breakage due to bad paste.Chris Wilson2010-02-24
|
* Remove all references to bdb databases, use QDBM instead.Chris Wilson2010-02-22
|
* Remove the obsolete win32 InstallShield installer script.Chris Wilson2010-02-15
|
* Run Perl scripts quietly during make.Chris Wilson2010-01-24
|
* Revert the quotes part of [2588] as it breaks the unit tests.Chris Wilson2010-01-24
| | | | | Make LocalProcessStream constructor take a std::string& for C++ style.
* Add missing space before file age in not uploading log message.Chris Wilson2009-11-26
|
* Add location of config file as an additional parameter to the Chris Wilson2009-11-26
| | | | | SyncAllowScript and the NotifyScript, thanks to Achim J. Latz.
* Ignore stat() errors on excluded directories.Chris Wilson2009-06-22
|
* Change default location for config files from /etc/box to Chris Wilson2009-04-09
| | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.
* Change type of BackupStoreFilename not to derive from std::string, soChris Wilson2009-03-29
| | | | | | | | it can't accidentally be used as one. Fix use of encrypted filename in deleted file message, thanks to Kenny Millington for reporting.
* 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
|
* 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
|
* Fix NotifyScript syntax error reported by Roy.Chris Wilson2008-11-11
| | | | | Ignore "backup-ok" messages in NotifyScript by default.
* 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
|
* 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.
* 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.
* 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.
* 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
|
* 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.
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00