| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(bbackupd and bbackupquery).
Redesign ConfigurationVerify to use classes instead of structs.
Use port 22011 instead of 2201 during tests, to reduce the chances of
conflicting with a running bbstored or other process.
Ignore autogen_* in svn:ignore everywhere instead of individual per-file
ignores.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
errno, replacing almost all use of strerror() in the main code.
Log a more detailed error message before throwing an exception for some
more system call failures.
Make FileStream store its filename on all platforms, not just Windows.
Wrap some long lines at less than 80 characters to improve readability.
Fix some minor violations of coding standard (white space) and a typo
in a comment.
|
|
|
|
| |
supposed to.
|
|
|
|
|
| |
to the control client.
|
|
|
|
|
| |
termination on it during testbbackupd.
|
|
|
|
|
| |
Windows.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
char *. Thanks to Reinhard Tartler and the Debian project buildds.
|
| |
|
|
|
|
|
| |
reporting this bug.
|
| |
|
|
|
|
|
| |
requiring a write lock don't proceed when we don't have one.
|
|
|
|
|
| |
that symlink following test fails.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Pass the service name on the service command line, and use it for event
log messages.
(merges [1856])
|
|
|
|
|
|
|
|
|
| |
Extend usage info with service commands in BackupDaemon.
Disable useless -D, -V and -k options on Windows.
(merges 1855])
|
|
|
|
|
|
| |
Move Windows service startup, installation and removal to BackupDaemon.
(merges [1854])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
return it to Windows so that Windows doesn't tell the admin that
"the service did not report an error" when it stopped unexpectedly.
When failing to contact the SCM, report a textual error message as
well as the error code.
Make OurService() take a const char * instead of char *, so that we can
pass it a std::string.c_str().
InstallService creates service using "-s" option instead of "--service",
which no longer works once we use getopt() for option processing
(to follow).
(merges [1853])
|
| |
|
|
|
|
|
| |
email fails. (merges [1837])
|
|
|
|
|
|
|
|
|
| |
WinNamedPipeStream, to allow multiple command sockets per system.
Remove unnecessary newlines from log messages.
(merges [1832])
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
|
| |
thanks to James O'Gorman. (merges [1830])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
|
|
|
|
|
| |
warning
and continue.
Use an auto_ptr to avoid memory leaks when setting up a location fails.
(merges [1828])
|
| |
|
| |
|
|
|
|
|
| |
may be entered when using editline.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Return a non-zero exit code if running as a service fails.
(merges [1813])
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
default script does nothing in this case. Requested by
scott <scott@lubetech.com.au>.
|
| |
|
|
|
|
|
| |
a file. (merges [1781])
|
|
|
|
|
| |
the available options and their units.
|
|
|
|
|
| |
Fix warning about mounted filesystems to reflect current reality.
|
|
|
|
|
| |
instead. (refs #3)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
| |
|
|
|
|
|
| |
(refs #3, merges [1672])
|
| |
|
|
|
|
|
| |
(refs #3, merges [1669])
|