| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
that we use for standard logging, to fix 64bit platform warnings
reported by Matt Brown.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
fail, for example setting, listing or reading extended attributes,
or creating or changing the owner of a symlink. Thanks to Torsten for
noticing that the filename was not reported in these cases.
|
| |
|
|
|
|
|
|
| |
Move definition of DEFINE_ONLY_OPEN64 into intercept.cpp which is
the only place that should use it.
|
|
|
|
|
|
| |
the type passed to va_arg() has been promoted, so let's keep it happy
by using ints instead.
|
| |
|
|
|
|
|
|
|
|
| |
and silence warnings that the peer cannot be identified on this
platform.
Remove another use of uname -o which doesn't work on Solaris.
|
|
|
|
|
| |
compiler.
|
|
|
|
|
| |
with large file support.
|
|
|
|
|
| |
warning that it hasn't been seeded on Windows.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add -Q option which disables all logging instead.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Matt Brown.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
the same code can be used for both.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
as we may want to do something different when logging to a file.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
all calls to SetProgramName, for better consistency on Unix.
Make bbstoreaccounts and bbackupctl set their program names for logging.
Don't override supplied tag with service name when BackupDaemon
is run as a service.
|
|
|
|
|
|
| |
Add a new class, Logging::Tagger, which can be used to temporarily
add information to the program name, such as the client ID in bbstored.
|
|
|
|
|
| |
as a file handle instead of as a string.
|
|
|
|
|
| |
Use SecureZeroMemory rather than memset() to wipe key material on Windows.
|
|
|
|
|
|
|
|
|
| |
by wxWidgets) before including Box.h, as long as the defined version is
high enough, to avoid mutual incompatibility with wxWidgets (needed for
Boxi).
Define O_BINARY if it's not already defined rather than using configury.
|
|
|
|
|
| |
ready, for Boxi thread synchronisation.
|
|
|
|
|
| |
errors.
|
|
|
|
|
|
| |
and a SelfFlushingStream class which can be used to ensure that protocol
streams are always flushed, to avoid breaking protocol.
|
|
|
|
|
| |
const char *, for C++ style.
|
|
|
|
|
|
|
|
|
|
|
|
| |
and a BackupStoreDaemon in the same process in separate threads.
Separate out Configure(filename) and Configure(Configuration) for Boxi.
Use a std::auto_ptr to hold the Configuration so that we don't have to
worry about releasing it ourselves.
Remove some #ifdef WIN32.
|
|
|
|
|
| |
Add a separate Verify() method.
|
| |
|
|
|
|
|
| |
for C++ style.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BackupDaemon through BackupClientDirectoryRecord, BackupStoreFile and
BackupStoreFileEncodeStream to ReadLoggingStream, to allow progress
callbacks during file upload and cancelling upload part-way.
Implement ReadLoggingStream::Logger in
BackupClientDirectoryRecord::SyncParams, which thunks the notifications
back to the ProgressNotifier.
Add the SysadminNotifier interface from Boxi.
Add NotifyIDMapsSetup() to ProgressNotifier.
Change BackupClientDirectoryRecord::SyncParams to store references to
the individual callback interfaces rather than BackupDaemon.
Initialise all members in BackupDaemon.
Add ability for BackupDaemon user to override the ProgressNotifier,
LocationResolver, SysadminNotifier and RunStatusProvider that will be
used during the backup.
Make BackupDaemon::Location class public and provide access to the
configured locations for Boxi (dangerous, they could be modified without
BackupDaemon knowing it).
|
|
|
|
|
| |
potentially other frontends and allow stopping a backup in progress.
|
|
|
|
|
| |
char array pointer, for C++ style.
|
| |
|
| |
|
| |
|