summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreInfo.cpp
Commit message (Collapse)AuthorAge
* Refactor BackupStoreInfo to allow creating them without RaidFiles.Chris Wilson2015-07-31
| | | | | They can now be created using a constructor, and written to any IOStream. Needed for writing them to an S3Store.
* Refactor BackupStoreInfo to allow loading from any IOStream.Chris Wilson2015-07-19
|
* Replace most of APPLY_DELTA macro with a new method.Chris Wilson2014-03-02
| | | | | Using methods instead of macros where possible makes debugging easier. Especially long macros like this one.
* Don't consider it an error if LastObjectIDUsed changes during check.Chris Wilson2014-02-11
| | | | | There could be many reasons for this, including an invalid object being deleted during the previous check run. And it's definitely not serious.
* Rename BackupStoreInfo variable NumFiles to NumCurrentFiles.Chris Wilson2014-02-09
| | | | | Will hopefully prevent future confusion about the meaning of this info variable.
* Clang complains that numDelObj is not initialised.Chris Wilson2013-09-28
| | | | | | | I don't think this has any effect in practice, but this patch ensures that it is initialised anyway.
* Report everything that increases mNumberErrorsFound as a BOX_ERROR.Chris Wilson2013-09-19
|
* Ensure that newly created accounts are enabled by default.Chris Wilson2012-11-08
|
* Make CreateForRegeneration save the AccountEnabled flag and any extra dataChris Wilson2012-11-08
| | | | | copied from the original info file.
* Keep and resave any extra data present at the end of a BackupStoreInfoChris Wilson2012-10-22
| | | | | | | | | version 2 (Archive) file, for forwards compatibility with future extensions to the file format. Add a flag for whether an account in enabled or not in the new v2 file format, and if it's not present, default to true.
* Use a macro to verify block count adjustments to reduce duplicate code.Chris Wilson2011-11-01
|
* Hopefully fix off-by-4 read of old-style BackupStoreInfo header, thanks to ↵Chris Wilson2011-06-30
| | | | Sune Mølgaard for reporting.
* Improve error logging for store info and refcount database errors.Chris Wilson2011-06-16
|
* Fix double path separator in new store info filename which causes unlink()Chris Wilson2011-04-08
| | | | | to fail on Windows.
* Fix double path separator in account info filename, prevents its deletionChris Wilson2011-03-27
| | | | | | | on MSVC 2010/emu.cpp:unlink(). A cursory check shows that the separator is always included by MakeAccountRootDir() and this is always used to make the info filename, so this should not break anything.
* Improve messages on failure to load store info.Chris Wilson2011-01-12
|
* Change the store info file format to include an account name and the Chris Wilson2010-08-27
| | | | | | | | number of blocks in current (not old or deleted) files, an often-requested feature since this number is difficult to calculate otherwise, because files may be both old and deleted, thus counted twice.
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Formatting fix.Chris Wilson2008-08-06
|
* Allow '/' as a path separator on all platforms, even Win32 (refs #3,Chris Wilson2007-03-25
| | | | | merges [1496])
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14