| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
housekeeping, for testing.
|
|
|
|
|
| |
housekeeping, for use by tests.
|
|
|
|
|
|
|
|
|
|
|
| |
they're wrong.
Add a callback interface to decouple housekeeping from the
BackupStoreDaemon, allowing it to be called directly in tests.
Allow housekeeping callers to request it to keep trying forever to get a
lock on the account if it's busy.
|
| |
|
|
|
|
|
| |
/etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.
|
|
|
|
|
|
|
|
| |
it can't accidentally be used as one.
Fix use of encrypted filename in deleted file message, thanks to Kenny
Millington for reporting.
|
|
|
|
|
|
| |
well (e.g. wxWidgets) and it causes conflicts which are difficult to
resolve.
|
| |
|
|
|
|
|
| |
implemented by the bbstored server.
|
|
|
|
|
| |
daemon is requested to terminate or to reload its configuration.
|
|
|
|
|
| |
in syslog and on the console.
|
|
|
|
|
| |
important and useful.
|
|
|
|
|
|
|
| |
single process mode (-D), not just on Windows.
Add a housekeeping interface to allow Boxi to run housekeeping.
|
|
|
|
|
| |
Add a TestHook to help test weird server behaviour such as crashes.
|
| |
|
|
|
|
|
| |
protocol error message instead.
|
|
|
|
|
| |
Log removal of directories by housekeeping.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Remove the old TRACEx macros to catch any remaining uses.
|
|
|
|
| |
supposed to.
|
|
|
|
|
|
| |
* Update all associated docs and contributed distribution files
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of /etc/box. Thanks to Eric Cronin for pointing this out.
Likewise, use @localstatedir_expanded@ as default location for temporary
state (*.pid and bbackupd.sock), defaults to /usr/local/var, although
/var/run may be better on LFS systems.
Likewise, use @bindir_expanded@ for binaries.
Reformat usage text for readability.
Remove the message that "Directories not checked against mountpoints",
as they now are.
Report the type of the unrecognised message in the "unknown error" part
of the default NotifyScript.
|
|
|
|
|
|
|
|
|
| |
Extend usage info with service commands in BackupDaemon.
Disable useless -D, -V and -k options on Windows.
(merges 1855])
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
|
| |
"Box Backup (bbstored)". (refs #3, merges [1462])
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
rather than terminating. Useful for non-forking servers like bbstored on
Windows. (refs #3)
|
| |
|
| |
|
|
|
|
|
| |
can't be opened (refs #3)
|
| |
|
|
|
|
|
| |
the server process, on platforms where forking is disabled (Win32). (refs #3)
|
| |
|
|
|
|
|
|
|
|
| |
Re-enable locking code on Win32 (although it's never used).
Use InvisibleTempFileStream to ensure that the temporary file is always
deleted. (refs #3)
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
|
| |
- Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do
nothing (refs #3)
|
|
|
|
|
|
|
| |
- Delete the temporary file on Win32 just like on other platforms (note
that this reduces the guarantees that the file will be deleted,
especially if an exception is thrown, refs #819)
|
|
|
|
|
|
| |
- Use the same code for file names and file closing on other platforms
that's needed on Win32
|
|
|
|
|
|
|
| |
- Disable checks for inter-process messages on Win32 (there is only one
process)
- Close directory immediately after we finish reading it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
* bin/bbstored/BBStoreDHousekeeping.cpp
- Split housekeeping process into separate initialisation, process loop
and run methods (we don't want the process loop on Win32)
|