Backblaze/YouTube/24/05/How To/Get Started with rclone and b2
- great overview of the rclone backblaze integration. In particular:
- the note about rclone/EnvVar/RCLONE_FAST_LIST
- the tour of rclone commands was useful
- especially use of rclone/sync to sync a folder (presumably similar to rsync?)and rclone/--dry-run to preview elements.
#Video
02:30 sample usage - rclone/lsd to list directories (buckets in Backblaze/B2)
- 02:30
rclone lsd b2: lists buckets.
02:50 note Backblaze/B2/API/class B and Backblaze/B2/API/class C have daily rate limit and are paid after that; use rclone/--fast-list option or rclone/EnvVar/RCLONE_FAST_LIST to prevent exceeding them
- 02:50
--fast-list option- with b2 it treats the bucket as the top level directory
- by default, rclone retrieves
- 03:30 class A, B, C calls
- Backblaze/B2/API/class A: uploading files
- Backblaze/B2/API/class B: downloading files
- Backblaze/B2/API/class C: creating buckets and listing files
- you get daily free amount of class B and C files, then it's not free
- if you have deeply nested directory tree (100k files) then rclone can quickly start to rack up charges
- 04:12 rclone can fetch in batches of 1000 uses
--fast-list and they recommend it- this uses more memory but it's more convenient
- they recommend it
- 04:32 you can use
--fast-list w every command but export RCLONE_FAST_LIST=true rclone/EnvVar/RCLONE_FAST_LIST
04:50 creating a Backblaze/B2/Bucket with rclone mkdir b2:rclone-demo-1 - rclone/mkdir
- rclone sees each bucket as a top level directory
- so
mkdir here is making a bucket in backblaze
- 05:27 copying file in with
[[rclone/copy]] and using rclone/ls to see them.- using rclone/cat to retrieve the contents of the file
05:55 keeping a folder in sync with rclone/sync
- using rclone/--dry-run
- recommended for sync or rclone/delete