summaryrefslogtreecommitdiff
path: root/bin/bbstoreaccounts
Commit message (Collapse)AuthorAge
* New upstream version 0.13~~git20220405.g7703ac8Ileana Dumitrescu2022-04-07
|
* Remove unused #includes.Chris Wilson2016-09-19
|
* Refactor store account control to allow other store types.Chris Wilson2015-06-28
| | | | | Move common code into a base class, leaving bbstored-specific code. Add skeleton of an S3 store type.
* Fix use of wrong config file in bbstoreaccounts.Chris Wilson2014-02-09
|
* Split bbstoreaccounts commands out into a separate class.Chris Wilson2014-02-07
| | | | | Allows us to call them from tests without shelling out, making debugging easier.
* Fix getopt header confusion.Chris Wilson2013-09-30
| | | | | | | | Our copy of getopt.h in lib/win32 was beating the system getopt.h in the search path, and providing different definitions, which clang picked up. Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide whether to include this one instead of the system getopt.h.
* Clang complains that "enabled" is not initialised.Chris Wilson2013-09-28
| | | | | | | It doesn't know that we call a function that exits the program prematurely. In any case, this patch stops it from complaining.
* Add a helper in BackupStoreAccounts to get a write lock on an account.Chris Wilson2012-11-18
| | | | | | Use it in two places to simplify code (not in BackupStoreContext yet, because that wants to communicate with HK process as well).
* Fix account deletion on Windows by removing write lock before deletingChris Wilson2012-11-17
| | | | | files.
* Refactor bbstoreaccounts code to reduce duplication.Chris Wilson2012-10-22
| | | | | | Add a bbstoreaccounts command to change the value of the AccountEnabled flag, and print its value in "bbstoreaccounts info" output.
* Add housekeep command to bbstoreaccounts to run housekeeping right now.Chris Wilson2012-06-29
|
* Fix compile of bbstoreaccounts on MSVC.Chris Wilson2011-03-27
|
* Allow setting the verbosity level of bbstoreaccounts.Chris Wilson2010-08-31
|
* Allow setting the account name using bbstoreaccounts.Chris Wilson2010-08-27
|
* Compile fix for [2694].Chris Wilson2010-06-06
|
* Remove check for soft limit being less than 97% of the hard limit, asChris Wilson2009-09-17
| | | | | | some users want to set them equal to ensure that no files are ever deleted by housekeeping.
* gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the DebianChris Wilson2009-04-03
| | | | | | | | project. See also: http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1 http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
* Switch to C++ include file names.Chris Wilson2009-03-24
|
* Prefix event log application name with Box Backup, and remove it fromChris Wilson2008-09-14
| | | | | | | | | | 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.
* Add machine-readable output mode (with -m option) to bbstoreaccounts info.Chris Wilson2008-08-07
|
* Additional #includes, thanks to the T2 ProjectChris Wilson2008-04-18
| | | | | (http://www.t2-project.org/packages/boxbackup.html)
* Compile fix for progress bar changes.Chris Wilson2008-04-09
|
* Undo mangling by tailorChris Wilson2008-04-04
|
* [hg-svn @ 30cb6d2b5a2f18881f50ce8df5f7bd9e429f9fbb]Chris Wilson2008-04-04
| | | | | | | 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
* [hg-svn @ 9203d99fcfd5a6c90994bda6397aa55d9ac64458]Chris Wilson2008-04-04
| | | | | | | 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
* 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.
* Even simpler replacement for [1977].Chris Wilson2007-12-09
|
* Properly report when we failed to lock the account, so that changesChris Wilson2007-12-09
| | | | | requiring a write lock don't proceed when we don't have one.
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)
* Make Configuration take a std::string filename instead of a char array,Chris Wilson2007-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692])
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14