caspr.blogg.se

B2 storage
B2 storage




b2 storage

I'm able to use "b2 download-file-by-name" to download small files, but when I target a 2.1 GB file, it crashes out randomly midway through. An example log configuration can be found here. Please take care to not launch the tool from the directory that you are syncing, or the logs will get synced to the remote server (unless that is really what you want to do).įor advanced users, a hidden option -logConfig can be used to enable logging in a user-defined format and verbosity. Verbose logs to stdout can be enabled with the -verbose flag.Ī hidden flag -debugLogs can be used to enable logging to a b2_cli.log file (with log rotation at midnight) in current working directory. You can find a bash completion script in the contrib directory. Note that using multiple threads will usually be detrimental to the other users on your network. Experiment with using the -threads parameter with small values to determine if there are benefits. Users with high performance networks, or file sets with very small files, may benefit from increased parallelism. You can find the details for each command in the help for that command. Each different command may required additional capabilities. When authorizing with application keys, this tool requires that the key have the 'listBuckets' capability so that it can take the bucket names you provide on the command line and translate them into bucket IDs for the B2 Storage service. The default file to use is: ~/.b2_account_infoįor more details on one command: b2 -help The environment variable B2_ACCOUNT_INFO specifies the sqlite file to use for caching authentication information. Usage b2 authorize-account ī2 cancel-all-unfinished-large-files bucketNameī2 copy-file-by-id This tool can be installed with: pip install b2 The latest documentation is available on Read the Docs. This program provides command-line access to the B2 service. The command-line tool that gives easy access to all of the capabilities of B2 Cloud Storage.






B2 storage