| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Log each block found and each false match at DEBUG level.
|
| |
|
| |
|
|
|
|
|
| |
as not all filesystems can store times that accurately (e.g. OSX).
|
| |
|
|
|
|
|
| |
instead. (refs #3)
|
| |
|
|
|
|
|
| |
merges [1661])
|
|
|
|
|
|
|
|
|
|
|
|
| |
query > restore Admin "c:\admin\"
Failed to read file information: The parameter is incorrect. (87)
Failed to get file information for 'c:'
Failed to check existence for c:: Common OSFileError (Error accessing a
file. Check permissions.)
ERROR: Unknown restore result.
(refs #3, merges [1659])
|
|
|
|
|
| |
finishes. This is not true when decoding raw files on disk. (refs #3)
|
| |
|
|
|
|
|
|
| |
read-only directories as a non-root user doesn't crash. Restore the
correct permissions after restoring the directory's contents. (refs #3)
|
|
|
|
|
|
| |
read-only directories as a non-root user doesn't crash. Restore the
correct permissions after restoring the directory's contents. (refs #3)
|
|
|
|
|
|
|
| |
(over 2GB) which will cause compare to fail: when rBlockSizeOut ==
BACKUP_FILE_MAX_BLOCK_SIZE we would have proceeded around the loop one
more time and doubled the block size again. (refs #2, refs #3)
|
|
|
|
|
|
| |
to drain the stream will leave the EOF byte in it, which breaks further
communications with the store over the same connection. (refs #2, refs #3)
|
| |
|
|
|
|
|
| |
(refs #3, merges [1439] [1440] [1443])
|
| |
|
| |
|
|
|
|
|
| |
file existence (refs #3)
|
|
|
|
|
| |
just log the error and return an error code (refs #3)
|
| |
|
|
|
|
|
| |
BackupClientRestore (refs #3)
|
|
|
|
|
| |
to create the target directory or save restore info in the parent (refs #3)
|
| |
|
| |
|
|
|
|
|
|
| |
file and scanning every directory. The current implementation is taken
straight from the Boxi branch. To be extended shortly. (refs #3)
|
|
|
|
|
|
|
|
| |
Made timeout initialisation non-static, and a property of the context
object. (perhaps should be in rParams, I know).
(refs #3, refs #9)
|
|
|
|
|
| |
with new Timer objects. (refs #3, refs #9)
|
| |
|
| |
|
|
|
|
|
| |
(refs #3)
|
|
|
|
|
|
|
|
| |
as requested by Ben.
Restore serialised AttrModificationTime under Win32 by passing to
emu_utimes(). (refs #3)
|
|
|
|
|
| |
Fix format strings on Win32 (refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
| |
Close file before trying to apply attributes to it. Otherwise,
when we close it the timestamp will be updated on Win32 (refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
| |
Don't call geteuid() on Win32, since it's emulated, always returns
0, and I want to remove it entirely (refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
- This is my current patch queue. I think that all of these are safe
to apply. This is just under half of the pending changes in
chris/general (the easy half).
|
|
|
|
|
| |
configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
|
|
|
|
|
|
|
| |
data. ie. If a file is not readable then nor is the extended attribute data - even if there isn't any this is still an error.
This is not an ideal fix for this problem. Really we should notify a read-error as we do for file read permission problems and continue, but the BackupClientFileAttributes code is called from multiple locations and it is not clear that it could always report the error in such a way, nor even continue. This alternative is better than aborting the whole run. In the case where a file isn't readable this will be found and reported elsewhere anyway.
|
|
|
|
| |
distribution
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use the target platform's name, rather than the build platform, in the
generated package file names (useful for cross-compiling)
* lib/win32/emu.cpp
- Don't log a warning when statting a file that doesn't exist, as
bbackupquery does this to verify that the target does not exist before
restoring
* lib/backupclient/BackupClientFileAttributes.cpp
- Fixed a missing endian conversion that was causing file timestamps to
appear to be invalid, generating warnings about every file on the server,
on Win32
* parcels.txt
- Include a couple of DLL files in the package on MinGW, which are needed
to run the compiled binaries
* bin/bbackupquery/BackupQueries.cpp
- Fixed usage text for the "get" command
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bin/bbstored/backupprotocol.txt
* bin/bbstored/BackupCommands.cpp
* bin/bbackupd/BackupClientContext.cpp
* bin/bbackupd/BackupClientContext.h
* bin/bbackupd/BackupClientDirectoryRecord.cpp
* bin/bbackupd/BackupDaemon.cpp
* lib/backupclient/BackupStoreFileDiff.cpp
* lib/backupclient/BackupDaemonConfigVerify.cpp
* lib/backupclient/BackupStoreFile.h
* test/backupstore/testbackupstore.cpp
* test/backupstorepatch/testbackupstorepatch.cpp
- Applied changes from chris/diff-timeout-and-ssl-keepalive
* test/backupdiff/testbackupdiff.cpp
- Fixed test to match new prototype for EncodeFileDiff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- A very unlikely failure where getxattr returns an error code the first time
but succeeds the second time could cause buffer overrun and corruption.
Affecting the tests only:
- On Linux (and presumably Irix) normal users can only modify attributes in
the 'user.' namespace.
- Some filesystems can have strict limits on value size (eg. 1024 bytes on
ext3 depending on block size)
- ENOATTR is defined in xattr/xattr.h. This file is an optional install and is
not needed for the rest of box to use extended attributes. Provide it
ourselves if not present.
|
|
|
|
| |
double free on exit under Darwin -- maybe a runtime issue?
|
|
|
|
| |
Darwin, move xattr adjustments to BoxPlatform.h to use globally
|