| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
to a std::vector::iterator.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
about it but start backing it up if it appears subsequently.
|
|
|
|
|
|
| |
afresh with a new one, should solve most corrupt database errors such as
the ones reported by Achim.
|
|
|
|
|
|
|
|
|
|
| |
for directory enumeration instead of _wfindfirst and _wfindnext.
Ignore reparse points when enumerating directories to avoid infinite loops.
Convert VSS paths back to real paths when notifying users about backup
progress.
|
|
|
|
|
|
|
| |
Fix log level of VSS component type to TRACE instead of INFO.
Fix VSS path generation for absolute paths including drive letters.
|
|
|
|
|
| |
Rename ProtocolObject to Message.
|
|
|
|
| |
Achim, closes #61.
|
| |
|
|
|
|
|
| |
after the volume name has been removed (VSS).
|
|
|
|
|
|
|
| |
Reduce verbosity of some VSS messages.
Fix erroneous errro message when VSS iterator reaches end.
|
|
|
|
|
| |
Clean up VSS resources at end of backup.
|
|
|
|
|
| |
Windows path to the snapshot for each location.
|
|
|
|
|
| |
Clean up writer metadata and writer status after use.
|
| |
|
|
|
|
|
|
|
| |
Start a snapshot set and add backup locations as volumes.
Modularise IVssAsync waiting code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
DeleteRedundantLocationsAfter is set to zero, which is supposed to mean
that it's disabled.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make LocalProcessStream constructor take a std::string& for C++ style.
|
|
|
|
|
| |
SyncAllowScript and the NotifyScript, thanks to Achim J. Latz.
|
| |
|
|
|
|
|
|
| |
well (e.g. wxWidgets) and it causes conflicts which are difficult to
resolve.
|
| |
|
|
|
|
|
| |
administrator. It's not an error to have no NotifyScript.
|
|
|
|
|
| |
in reporting in the NotifyScript.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
BackupDaemon::RunSyncNow, moved from RunSyncNowWithExceptionHandling,
which just does the exception handling. We want to replace the exception
handling in Boxi, but not the other stuff.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
method, to allow testbbackupd to call it.
|
|
|
|
|
| |
Reformat for readability.
|
| |
|
|
|
|
|
|
| |
Reset notification state for backup-error after a successful backup,
thanks to Wolfgang Trexler.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split crypto init and file sync process into its own method, to reduce
call depth and facilitate calling in process from tests.
Differentiate between 3 uses of stat in BackupClientDirectoryRecord by
renaming the structures.
Use stat instead of lstat when checking the filesystem that's holding an
entity, in case it's a symbolic link to a different filesystem.
|
|
|
|
|
| |
Disable some debug logging.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|