summaryrefslogtreecommitdiff
path: root/bin/bbackupd
Commit message (Collapse)AuthorAge
* Remove backslashes from comment, which could mean line continuation.Chris Wilson2011-04-22
|
* Remove duplicate code by caching the relative path of the backup locationChris Wilson2011-04-22
| | | | | after the volume name has been removed (VSS).
* Only initialise COM once, at bbackupd startup.Chris Wilson2011-04-14
| | | | | | | Reduce verbosity of some VSS messages. Fix erroneous errro message when VSS iterator reaches end.
* Actually try to back up from the VSS snapshot volume.Chris Wilson2011-04-09
| | | | | Clean up VSS resources at end of backup.
* Store the snapshot ID and lookup the resulting device name, building theChris Wilson2011-04-08
| | | | | Windows path to the snapshot for each location.
* Actually create a VSS snapshot.Chris Wilson2011-04-08
| | | | | Clean up writer metadata and writer status after use.
* Fix string access violation.Chris Wilson2011-04-06
|
* Add VSS: prefix to VSS log messages.Chris Wilson2011-04-06
| | | | | | | Start a snapshot set and add backup locations as volumes. Modularise IVssAsync waiting code.
* First attempt to extract some data from VSS, not useful yet.Chris Wilson2011-03-28
|
* Fix abort if the local data directory doesn't exist.Chris Wilson2011-03-27
|
* There is no S_FIFO on Windows, fixes MSVC compile.Chris Wilson2011-03-26
|
* Fix errors reported by default Unix notify script on backup-ok events,Chris Wilson2011-03-17
| | | | | thanks to Steve Haeck for the bug report.
* Rate limit file uploads using the configured MaxUploadRate, if any.Chris Wilson2011-01-12
|
* Workaround for apparent btrfs bug, where symlinks appear to be on aChris Wilson2011-01-09
| | | | | | | | different filesystem than their containing directory, by only checking for a different filesystem when checking directories, because files and special files can't be mount points anyway. Thanks to Toke Hoiland-Jorgensen.
* Log the device and inode numbers of directories and their entries whileChris Wilson2010-11-17
| | | | | scanning them, to debug Toke's report of symlinks appearing to be mounts.
* Log the total number of bytes uploaded to the server for each file.Chris Wilson2010-11-17
|
* Revert [2710] and [2717], remove TDB and replace with QDBM again, to fix Chris Wilson2010-10-18
| | | | | build on Windows and make it easier to merge Charles' work.
* Quick fix to stop deletion of redundant locations when Chris Wilson2010-10-07
| | | | | | DeleteRedundantLocationsAfter is set to zero, which is supposed to mean that it's disabled.
* Remove QDBM, and switch BackupClientInodeToIDMap to use the bundled TDB Chris Wilson2010-08-28
| | | | | instead.
* Add support for account numbers greater than 0x7fffffff without wrapping.Chris Wilson2010-06-06
|
* Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with Chris Wilson2010-06-06
| | | | | BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE.
* Don't back up sockets and pipes, thanks to Mick Kappenburg for spotting Chris Wilson2010-05-20
| | | | | that the fix for Debian bug was incorrect.
* 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.