Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Make Configuration take a std::string filename instead of a char array, | Chris Wilson | 2007-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 Wilson | 2007-07-26 |
| | |||
* | Fixed object store read/write, fixes #18 properly, thanks Gary! | Chris Wilson | 2007-07-26 |
| | | | | | (refs #3, merges [1672]) | ||
* | Undo bad merge of [1658] and [1669] (refs #3, merges [1671]) | Chris Wilson | 2007-07-26 |
| | |||
* | Apply remaining parts of Gary's patch, missing from [1658], thanks Gary | Chris Wilson | 2007-07-26 |
| | | | | | (refs #3, merges [1669]) | ||
* | MSVC compile fix, thanks Gary. (refs #3, merges [1666]) | Chris Wilson | 2007-07-26 |
| | |||
* | Apply Gary's patch from ticket #19 to respect the server's hard limit | Chris Wilson | 2007-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 entries | Chris Wilson | 2007-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 Wilson | 2007-07-26 |
| | |||
* | More helpful error messages when location setup failed. | Chris Wilson | 2007-07-26 |
| | |||
* | Add more debugging checks and messages for location setup error | Chris Wilson | 2007-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 unused | Chris Wilson | 2007-07-18 |
| | | | | | | locations on the store would never be deleted because the timer would be reset on every backup pass (refs #3). | ||
* | Read any remaining data from the encoded stream (such as EOF marker) | Chris Wilson | 2007-04-29 |
| | | | | | | before discarding it, to ensure that we don't break the protocol. (refs #2, refs #3) | ||
* | Report Restore_UnknownError properly during restore. | Chris Wilson | 2007-04-29 |
| | | | | | Report unknown result codes. (refs #3) | ||
* | Return an error code on failure of lcd command. | Chris Wilson | 2007-04-28 |
| | | | | | | | Return an error code if get command fails due to the file already existing. (refs #3, merges [1516]) | ||
* | Use logging framework for banner. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Improve error messages when compare throws an exception. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Improve error messages when Getting a file fails with an exception. | Chris Wilson | 2007-04-28 |
| | | | | | (refs #3) | ||
* | Fix formatting bugs. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Notify about full file uploads. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Improve log message for NotifyFileUploading(). (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Fix accidental passing of object to printf() (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Log event name instead of numeric code. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Add a warning that comparing locations with a final directory separator | Chris Wilson | 2007-04-20 |
| | | | | | may fail (Stefan Tauner) (refs #3, merges [1512]) | ||
* | Use logging framework to remove timer noise for those who don't want it. | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1448]) | ||
* | Initialise logging framework and set our program name to | Chris Wilson | 2007-03-24 |
| | | | | | | "Box Backup (bbstored)". (refs #3, merges [1462]) | ||
* | Add a quiet mode to compare command, to make test output easier to read. | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1460]) | ||
* | Move all command socket communications to the worker thread, to avoid | Chris Wilson | 2007-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 Wilson | 2007-03-24 |
| | |||
* | Better handle a case where a force-sync command comes in immediately | Chris Wilson | 2007-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 Wilson | 2007-03-24 |
| | | | | | (refs #3, merges part of [1459]) | ||
* | Add new exception codes for use in bbackupd, and possibly other clients. | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1455]) | ||
* | Initialise logging framework and set sensible default verbosity levels | Chris Wilson | 2007-03-24 |
| | | | | | in bbackupquery (refs #3, merges [1449]) | ||
* | Remove newlines from syslog() messages. (refs #3, merges [1447]) | Chris Wilson | 2007-03-24 |
| | |||
* | Trace reasons for uploading (or not) each file | Chris Wilson | 2007-03-22 |
| | |||
* | Add a new notification constant, NotifyEvent_BackupError, for use when | Chris Wilson | 2007-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) | ||
* | Run housekeeping in idle time on Win32 (refs #3) | Chris Wilson | 2007-03-08 |
| | |||
* | Report number of files and directories which could not be compared | Chris Wilson | 2007-03-08 |
| | | | | | | separately from compare failures, and report the appropriate return code (refs #3, merges [651]) | ||
* | Report an appropriate error if the target path of the restore operation | Chris Wilson | 2007-03-08 |
| | | | | | is not found (refs #3, merges [514]) | ||
* | Catch exceptions during restore and report them, rather than aborting | Chris Wilson | 2007-03-08 |
| | | | | | bbackupquery (refs #3) | ||
* | Count a difference when a local directory does not exist, but it does | Chris Wilson | 2007-03-08 |
| | | | | | exist on the server (refs #3) | ||
* | Typo fix | Chris Wilson | 2007-03-04 |
| | |||
* | Stop locations from being deleted from the store just because their local | Chris Wilson | 2007-01-25 |
| | | | | | directory can't be found, as suggested by Gary (refs #3) | ||
* | Buffer store file integrity checks (refs #3) | Chris Wilson | 2007-01-17 |
| | |||
* | Buffer directory reads (refs #3) | Chris Wilson | 2007-01-17 |
| | |||
* | When comparing, don't recurse into excluded directories, as their contents | Chris Wilson | 2007-01-17 |
| | | | | | | | | will not be on the store. Fix display of filenames during compare when backing up the root directory (double slash) (refs #3) | ||
* | Moved MakeFullPath into its own library file so that we can share it | Chris Wilson | 2007-01-17 |
| | | | | | (BackupQueries needs it too) (refs #3) | ||
* | Use BufferedStream to speed up housekeeping by about ten times. (refs #3) | Chris Wilson | 2007-01-17 |
| | |||
* | Allow suppressing warnings about unsupported file types by excluding those | Chris Wilson | 2007-01-16 |
| | | | | | files by name, using ExcludeFile (refs #3) | ||
* | Cosmetic whitespace fix (refs #3) | Chris Wilson | 2007-01-16 |
| |