BBSTOREACCOUNTS(8) | Box Backup | BBSTOREACCOUNTS(8) |
bbstoreaccounts - Box Backup store accounts manager
bbstoreaccounts [-c config-file] command account-id [command-specific arguments]
bbstoreaccounts is the tool for managing accounts on the store server. It can be used to view information related to accounts, as well as create, change and delete accounts on the store server.
bbstoreaccounts always takes at least 2 parameters: the command name and the account ID. Some commands require additional parameters, and some commands have optional parameters.
-c config-file
The commands tells bbstoreaccounts what action to perform.
check account-id [fix]
create account-id disc-set soft-limit hard-limit
account-id
disc-set
soft-limit
hard-limit
delete account-id [yes]
delete will ask for confirmation from the user, when called. Using the yes flag, eliminates that need. This is useful when deleting accounts from within a script or some other automated means. 0
info account-id
[root]# bbstoreaccounts info 1
Account ID: 00000001
Last object ID: 58757
Blocks used: 9864063 (38531.50Mb)
Blocks used by old files: 62058 (242.41Mb) Blocks used by deleted files: 34025 (132.91Mb)
Blocks used by directories: 6679 (26.09Mb)
Block soft limit: 11796480 (46080.00Mb)
Block hard limit: 13107200 (51200.00Mb)
Client store marker: 1139559852000000
Explanation:
Account ID
Last Object ID
Blocks used
Blocks used by old files
Blocks used by deleted files
Blocks used by directories
Block soft limit
Block hard limit
Client store marker
setlimit account-id soft-limit hard-limit
Parameters:
account-id
soft-limit
hard-limit
Create an account with ID 3af on disc set 0, with a 20GB soft-limit and a 22GB hard-limit:
bbstoreaccounts create 3af 0 20G 22G
Alter existing account ID 20 to have a 50GB soft-limit and a 55GB hard-limit:
bbstoreaccounts setlimit 20 50G 55G
/etc/box/bbstored/accounts.txt
Ben Summers
Per Thomsen
James O'Gorman
01/17/2023 | Box Backup 0.11 |