| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
important and useful.
|
| |
|
|
|
|
|
|
|
| |
single process mode (-D), not just on Windows.
Add a housekeeping interface to allow Boxi to run housekeeping.
|
|
|
|
|
| |
a possible cause of compare failure, just as we do with files.
|
|
|
|
|
|
| |
flushed, fixes a problem where local file is not readable during
compare, and stream was not flushed, breaking the rest of the compare.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
abort the run, rather than treating it as a failure to upload a single
file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Fix spelling errors.
|
|
|
|
|
| |
method, to allow testbbackupd to call it.
|
| |
|
|
|
|
|
| |
Reformat for readability.
|
|
|
|
|
| |
Add a TestHook to help test weird server behaviour such as crashes.
|
| |
|
|
|
|
|
| |
(and just them) logged is to set LogAllFileAccess = yes.
|
| |
|
|
|
|
|
| |
Tollef Fog Heen (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479145)
|
|
|
|
|
|
| |
Reset notification state for backup-error after a successful backup,
thanks to Wolfgang Trexler.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obsolete old (inconsistent) meaning of -q in bbackupquery.
Replace -q with -Wwarning or -Werror in tests to reduce noise and fix
tests.
Test that reading a nonexistent directory on the server doesn't crash
server or client.
Test that bbackupd does continue backup run and delete files when
storage limit is exceeded.
Use logging guards to hide expected warnings in testbbackupd.
Remove apparently pointless listing files on server at the end of
testbbackupd.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
protocol error message instead.
|
|
|
|
|
| |
Log removal of directories by housekeeping.
|
| |
|
| |
|
|
|
|
|
| |
(http://www.t2-project.org/packages/boxbackup.html)
|
|
|
|
|
| |
Disable some debug logging.
|
|
|
|
|
| |
changed) easier to read.
|
|
|
|
|
|
|
|
|
| |
zero, give a warning and set the bbackupquery return code to
COMMAND_RETURN_ERROR.
Check for Restore_TargetPathNotFound on all platforms as it's not specific
to Windows.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add command-line help (usage info) to bbstoreaccounts, merges [2089].
Original author: chris@rocio.int.aidworld.org
Date: 2008-03-16 19:51:27+00:00
|
|
|
|
|
|
|
| |
Use streams to format block counts and sizes in bbstoreaccounts, merges [2088].
Original author: chris@rocio.int.aidworld.org
Date: 2008-03-16 19:50:06+00:00
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
consistent and easier to read, with blocks, B/kB/MB/GB, % and an ASCII
bar graph.
|
|
|
|
|
| |
Remove the old TRACEx macros to catch any remaining uses.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|