summaryrefslogtreecommitdiff
path: root/bin/bbackupquery/BackupQueries.cpp
Commit message (Collapse)AuthorAge
* First attempt at tab completion for readline/libedit in bbackupquery, Chris Wilson2010-02-25
| | | | | | with commands and local file names, because it's easy and will help to find compatibility problems.
* Add option to display attribute modification times from additional Chris Wilson2010-02-24
| | | | | attributes if available in bbackupquery.
* Add method to get updated modification time of Chris Wilson2010-02-24
| | | | | | | | BackupClientFileAttributes. Add listing of attribute modification time to bbackupquery "list -t" command.
* Move the test for excluded dirs inside the emu_lstat failure, as Chris Wilson2010-02-21
| | | | | | | | otherwise we don't know whether the file that we couldn't stat was really a file or a directory, so we can't know whether it should have been excluded, and the old code allowed dir excludes to make files appear not to exist locally, and therefore tests to fail.
* Comment why excluded directories are excluded before statting them.Chris Wilson2010-01-31
|
* Don't try to stat excluded directories, reported by Ben BennettChris Wilson2010-01-31
| | | | | [http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html].
* Switch to C++ include file names.Chris Wilson2009-03-24
|
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Compile fix.Chris Wilson2009-01-24
|
* Move stream comparison code out of BackupQueries::Compare to Chris Wilson2009-01-04
| | | | | FileStream class.
* Compare API for notification on starting to compare a file or directory.Chris Wilson2009-01-03
|
* Compare interface tweaks to reduce the number of methods.Chris Wilson2008-12-31
|
* Separate out compare parameters and notification from Chris Wilson2008-12-30
| | | | | BackupQueries::CompareParams to allow Boxi to reuse this code.
* Add -m option to bbackupquery usage command for machine-readable output.Chris Wilson2008-10-16
|
* Allow undelete command to work on files as well as directories.Chris Wilson2008-09-13
| | | | | | | Add delete command that works on files and directories. Document both commands.
* Report when directory modification time is later than last sync time as Chris Wilson2008-08-21
| | | | | a possible cause of compare failure, just as we do with files.
* Use SelfFlushingStream to ensure that protocol streams are always Chris Wilson2008-08-21
| | | | | | flushed, fixes a problem where local file is not readable during compare, and stream was not flushed, breaking the rest of the compare.
* Reformat for readability.Chris Wilson2008-08-21
|
* Don't use private direct access to Configuration.mSubConfigurations.Chris Wilson2008-08-21
|
* Add machine-readable output mode (with -m option) to bbstoreaccounts info.Chris Wilson2008-08-07
|
* Use symbolic names instead of #defines for return codes.Chris Wilson2008-05-28
|
* Catch server errors when listing a directory.Chris Wilson2008-05-05
|
* Add restore -f option to force restore to continue after an error.Chris Wilson2008-05-05
|
* Check the return code from system commands in bbackupquery, and if notChris Wilson2008-04-09
| | | | | | | | | 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.
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | 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
* Make usage output (from bbstoreaccounts info and bbackupquery usage)Chris Wilson2008-04-03
| | | | | | consistent and easier to read, with blocks, B/kB/MB/GB, % and an ASCII bar graph.
* Improve logging with macros that consistently output strerror(errno) andChris Wilson2008-03-28
| | | | | | | | | | | | | | | 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.
* Ensure that restore failure sets the return code from bbackupquery, soChris Wilson2007-11-06
| | | | | that symlink following test fails.
* Fix compare output for missing local files which are on the store.Chris Wilson2007-11-04
|
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)
* Replace almost all calls to syslog() with logging framework. (refs #3)Chris Wilson2007-07-31
|
* Read any remaining data from the encoded stream (such as EOF marker)Chris Wilson2007-04-29
| | | | | | before discarding it, to ensure that we don't break the protocol. (refs #2, refs #3)
* Report Restore_UnknownError properly during restore.Chris Wilson2007-04-29
| | | | | Report unknown result codes. (refs #3)
* Return an error code on failure of lcd command.Chris Wilson2007-04-28
| | | | | | | Return an error code if get command fails due to the file already existing. (refs #3, merges [1516])
* Improve error messages when compare throws an exception. (refs #3)Chris Wilson2007-04-28
|
* Improve error messages when Getting a file fails with an exception.Chris Wilson2007-04-28
| | | | | (refs #3)
* Fix accidental passing of object to printf() (refs #3)Chris Wilson2007-04-22
|
* Add a warning that comparing locations with a final directory separatorChris Wilson2007-04-20
| | | | | may fail (Stefan Tauner) (refs #3, merges [1512])
* Add a quiet mode to compare command, to make test output easier to read.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1460])
* Report number of files and directories which could not be compared Chris Wilson2007-03-08
| | | | | | separately from compare failures, and report the appropriate return code (refs #3, merges [651])
* Report an appropriate error if the target path of the restore operationChris Wilson2007-03-08
| | | | | is not found (refs #3, merges [514])
* Catch exceptions during restore and report them, rather than abortingChris Wilson2007-03-08
| | | | | bbackupquery (refs #3)
* Count a difference when a local directory does not exist, but it doesChris Wilson2007-03-08
| | | | | exist on the server (refs #3)
* When comparing, don't recurse into excluded directories, as their contentsChris Wilson2007-01-17
| | | | | | | | will not be on the store. Fix display of filenames during compare when backing up the root directory (double slash) (refs #3)
* Ignore symlink permissions on Darwin, where they can't be set properlyChris Wilson2007-01-13
| | | | | after symlink creation (refs #3)
* Add an option to ignore attribute differences on compare. (refs #3)Chris Wilson2006-10-15
|
* Convert command-line arguments from the system locale/character set toChris Wilson2006-10-15
| | | | | | | | | the console character set (code page), so they they can be converted from console to UTF-8 (yuck). Don't try to read from stdin or change its code page when it's not open (invalid file handle) (refs #3)
* Allow getting an object with a path, not just from the current directoryChris Wilson2006-10-15
| | | | | (refs #3)
* * Add option to bbackupquery list command to show times in UTC or local timeChris Wilson2006-10-14
| | | | | (refs #3)