summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupClientDirectoryRecord.cpp
Commit message (Collapse)AuthorAge
* Reformat comments for readability.Chris Wilson2008-10-03
|
* Log creation of directory records and warn on conflicting records.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.
* 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).
* Reformat comments for readability.Chris Wilson2008-08-10
|
* 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)
* 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.
* 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
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-03-29
| | | | | Remove the old TRACEx macros to catch any remaining uses.
* Don't warn about mount points which are excluded, thanks to Matt Brown forChris Wilson2008-01-20
| | | | | reporting this bug.
* Fix comments. (merges [1812])Chris Wilson2007-09-07
|
* Use ProgressNotifier to report upload exceptions (merges last part of [1342])Chris Wilson2007-09-01
|
* Log more detailed errors when the server returns an error while uploadingChris Wilson2007-09-01
| | | | | a file. (merges [1781])
* Notify about full file uploads. (refs #3)Chris Wilson2007-04-28
|
* Trace reasons for uploading (or not) each fileChris Wilson2007-03-22
|
* Moved MakeFullPath into its own library file so that we can share itChris Wilson2007-01-17
| | | | | (BackupQueries needs it too) (refs #3)
* Allow suppressing warnings about unsupported file types by excluding thoseChris Wilson2007-01-16
| | | | | files by name, using ExcludeFile (refs #3)
* Cosmetic whitespace fix (refs #3)Chris Wilson2007-01-16
|
* Skip mount points and NTFS reparse points inside a location, even ifChris Wilson2007-01-15
| | | | | not excluded (refs #3)
* Don't die on unreadable files (refs #3)Chris Wilson2007-01-14
|
* Added logging of directory scans and excluded files. (refs #3)Chris Wilson2007-01-11
|
* Added a new config option, LogAllFileAccess, which will log access to every Chris Wilson2007-01-11
| | | | | | file and scanning every directory. The current implementation is taken straight from the Boxi branch. To be extended shortly. (refs #3)
* Send keepalives when needed while scanning large directories (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* * Use readdir's d_type field to determine type of directory entry withoutChris Wilson2006-10-14
| | | | | | statting the entry, which allows users to exclude unreadable entries to suppress warnings about them on Win32 (refs #3)
* * 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/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
* * mergeChris Wilson2006-07-27
| | | | | | | - 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).
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Merge chris/bb-save-state, resolving conflictsBen Summers2006-01-30
|
* * configure.acChris Wilson2006-01-28
| | | | | | | | | | | | | | | | | | | * bin/bbstored/backupprotocol.txt * bin/bbstored/BackupCommands.cpp * bin/bbackupd/BackupClientContext.cpp * bin/bbackupd/BackupClientContext.h * bin/bbackupd/BackupClientDirectoryRecord.cpp * bin/bbackupd/BackupDaemon.cpp * lib/backupclient/BackupStoreFileDiff.cpp * lib/backupclient/BackupDaemonConfigVerify.cpp * lib/backupclient/BackupStoreFile.h * test/backupstore/testbackupstore.cpp * test/backupstorepatch/testbackupstorepatch.cpp - Applied changes from chris/diff-timeout-and-ssl-keepalive * test/backupdiff/testbackupdiff.cpp - Fixed test to match new prototype for EncodeFileDiff
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Merged martin/xattr at r5 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14