summaryrefslogtreecommitdiff
path: root/bin/bbackupd
Commit message (Collapse)AuthorAge
* Undo bad changes (not all exclude options take a regex). (merges [1847])Chris Wilson2007-10-17
|
* Windows notify script logs an error in the System Event Log if sending Chris Wilson2007-10-17
| | | | | email fails. (merges [1837])
* Don't initialise the command socket thread (on Win32) until theChris Wilson2007-10-17
| | | | | | | | | | | | configuration is known. Create the command socket (on Win32) with the specified pipe name in the configuration file. Commonise some code between Windows and Unix daemon startup. (merges [1831])
* Add script to notify sysadmin by email on backup failure on Win32, Chris Wilson2007-10-17
| | | | | | thanks to James O'Gorman. (merges [1830])
* Update to match improved comments generated by bbackupd-config in recentChris Wilson2007-10-17
| | | | | | | | | | | | | | versions. Increase maximum diffing time to 120 seconds (from 20). Enable KeepAliveTime by default and set to 120 seconds. Link to James O'Gorman's NotifySysAdmin.vbs VBScript which works on Windows, replacing the default shell script. (merges [1829])
* Don't abort if one of the location paths doesn't exist, just print a Chris Wilson2007-10-17
| | | | | | | | | | warning and continue. Use an auto_ptr to avoid memory leaks when setting up a location fails. (merges [1828])
* Allow configuration of the time to delete redundant store locations.Chris Wilson2007-10-08
|
* Fix crash when notifyscript is called for BackupStart or BackupFinish.Chris Wilson2007-10-08
|
* Undo bad changes (not all exclude options take a regex).Chris Wilson2007-09-21
|
* Fix regular expression syntax in examples, thanks Roy!Chris Wilson2007-09-21
|
* Don't initialise MemLeakFinder twice when running as a service.Chris Wilson2007-09-07
| | | | | | | Return a non-zero exit code if running as a service fails. (merges [1813])
* Fix comments. (merges [1812])Chris Wilson2007-09-07
|
* Document and enable KeepAliveTime option by default.Chris Wilson2007-09-07
|
* Fix error message when failing to create remote directory for location.Chris Wilson2007-09-01
|
* Call the notify script whenever backup starts or finishes, but theChris Wilson2007-09-01
| | | | | | default script does nothing in this case. Requested by scott <scott@lubetech.com.au>.
* 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])
* Update the comments in the generated configuration file to better describeChris Wilson2007-08-31
| | | | | the available options and their units.
* Fix documentation comments on ExcludeDir/AlwaysInclude.Chris Wilson2007-08-05
| | | | | Fix warning about mounted filesystems to reflect current reality.
* Replace almost all calls to syslog() with logging framework. (refs #3)Chris Wilson2007-07-31
|
* Make Configuration take a std::string filename instead of a char array,Chris Wilson2007-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692])
* Fixed object use after delete, thanks Gary! (refs #3, merges [1673])Chris Wilson2007-07-26
|
* Fixed object store read/write, fixes #18 properly, thanks Gary!Chris Wilson2007-07-26
| | | | | (refs #3, merges [1672])
* Undo bad merge of [1658] and [1669] (refs #3, merges [1671])Chris Wilson2007-07-26
|
* Apply remaining parts of Gary's patch, missing from [1658], thanks GaryChris Wilson2007-07-26
| | | | | (refs #3, merges [1669])
* MSVC compile fix, thanks Gary. (refs #3, merges [1666])Chris Wilson2007-07-26
|
* Apply Gary's patch from ticket #19 to respect the server's hard limitChris Wilson2007-07-26
| | | | | | | rather than the soft limit. This allows setting the soft limit to zero, so that housekeeping will remove all old versions of all files. (refs #19, refs #3, merges [1659])
* Apply Gary's patch to save the list of unused root directory entriesChris Wilson2007-07-26
| | | | | | in the store object info file, so that they will persist across restarts. (refs #18, refs #3, merges [1658])
* Delete Nick's old outdated ReadMe.txt. (refs #3, merges [1656])Chris Wilson2007-07-26
|
* More helpful error messages when location setup failed.Chris Wilson2007-07-26
|
* Add more debugging checks and messages for location setup errorChris Wilson2007-07-26
| | | | | | reported by Pete Jalajas (http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html)
* Hopefully fix a bug reported by Tobias Balle-Petersen, where unusedChris Wilson2007-07-18
| | | | | | locations on the store would never be deleted because the timer would be reset on every backup pass (refs #3).
* Fix formatting bugs. (refs #3)Chris Wilson2007-04-28
|
* Notify about full file uploads. (refs #3)Chris Wilson2007-04-28
|
* Improve log message for NotifyFileUploading(). (refs #3)Chris Wilson2007-04-28
|
* Log event name instead of numeric code. (refs #3)Chris Wilson2007-04-22
|
* Use logging framework to remove timer noise for those who don't want it.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1448])
* Move all command socket communications to the worker thread, to avoidChris Wilson2007-03-24
| | | | | | | | | | deadlocks. Use events, and a message list protected by a critical section, to pass messages between threads. (refs #3)
* Reformat long lines for readability. (refs #3, merges remainder of [1459])Chris Wilson2007-03-24
|
* Better handle a case where a force-sync command comes in immediatelyChris Wilson2007-03-24
| | | | | | | after (or during) a sync, i.e. less than MinimumFileAge seconds after the last one. In this case, just move back the syncPeriodStart by 1 second. (refs #3, merges part if [1459])
* iUse our new ClientException codes for clock skew and archive problems.Chris Wilson2007-03-24
| | | | | (refs #3, merges part of [1459])
* Add new exception codes for use in bbackupd, and possibly other clients.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1455])
* Trace reasons for uploading (or not) each fileChris Wilson2007-03-22
|
* Add a new notification constant, NotifyEvent_BackupError, for use whenChris Wilson2007-03-22
| | | | | | | | | | | | | an exception occurs during the backup. Make bbackupd notify sysadmin when an exception occurs during the backup, using this error code, and the notification string "backup-error". Change NotifyEvent__MAX to be one greater than the highest notification constant, makes code more maintainable. (refs #3)
* Stop locations from being deleted from the store just because their localChris Wilson2007-01-25
| | | | | directory can't be found, as suggested by Gary (refs #3)
* 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
|
* Log AccessDenied errors in a more concise form than general exceptions Chris Wilson2007-01-16
| | | | | (refs #3)
* Allow Loggers to log everything, as is their wont. Master level will beChris Wilson2007-01-15
| | | | | set in Daemon, patch to follow. (refs #3)