@@ -667,6 +667,71 @@ Properties:
667667- Type: Encoding
668668- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
669669
670+ #### --b2-sse-customer-algorithm
671+
672+ If using SSE-C, the server-side encryption algorithm used when storing this object in B2.
673+
674+ Properties:
675+
676+ - Config: sse_customer_algorithm
677+ - Env Var: RCLONE_B2_SSE_CUSTOMER_ALGORITHM
678+ - Type: string
679+ - Required: false
680+ - Examples:
681+ - ""
682+ - None
683+ - "AES256"
684+ - Advanced Encryption Standard (256 bits key length)
685+
686+ #### --b2-sse-customer-key
687+
688+ To use SSE-C, you may provide the secret encryption key encoded in a UTF-8 compatible string to encrypt/decrypt your data
689+
690+ Alternatively you can provide --sse-customer-key-base64.
691+
692+ Properties:
693+
694+ - Config: sse_customer_key
695+ - Env Var: RCLONE_B2_SSE_CUSTOMER_KEY
696+ - Type: string
697+ - Required: false
698+ - Examples:
699+ - ""
700+ - None
701+
702+ #### --b2-sse-customer-key-base64
703+
704+ To use SSE-C, you may provide the secret encryption key encoded in Base64 format to encrypt/decrypt your data
705+
706+ Alternatively you can provide --sse-customer-key.
707+
708+ Properties:
709+
710+ - Config: sse_customer_key_base64
711+ - Env Var: RCLONE_B2_SSE_CUSTOMER_KEY_BASE64
712+ - Type: string
713+ - Required: false
714+ - Examples:
715+ - ""
716+ - None
717+
718+ #### --b2-sse-customer-key-md5
719+
720+ If using SSE-C you may provide the secret encryption key MD5 checksum (optional).
721+
722+ If you leave it blank, this is calculated automatically from the sse_customer_key provided.
723+
724+
725+ Properties:
726+
727+ - Config: sse_customer_key_md5
728+ - Env Var: RCLONE_B2_SSE_CUSTOMER_KEY_MD5
729+ - Type: string
730+ - Required: false
731+ - Examples:
732+ - ""
733+ - None
734+
670735#### --b2-description
671736
672737Description of the remote.
@@ -682,9 +747,11 @@ Properties:
682747
683748Here are the commands specific to the b2 backend.
684749
685- Run them with
750+ Run them with:
686751
687- rclone backend COMMAND remote:
752+ ``` console
753+ rclone backend COMMAND remote:
754+ ```
688755
689756The help below will explain what arguments each command takes.
690757
@@ -696,35 +763,41 @@ These can be run on a running backend using the rc command
696763
697764### lifecycle
698765
699- Read or set the lifecycle for a bucket
766+ Read or set the lifecycle for a bucket.
700767
701- rclone backend lifecycle remote: [options] [<arguments>+]
768+ ``` console
769+ rclone backend lifecycle remote: [options] [<arguments>+]
770+ ```
702771
703772This command can be used to read or set the lifecycle for a bucket.
704773
705- Usage Examples:
706-
707774To show the current lifecycle rules:
708775
709- rclone backend lifecycle b2:bucket
776+ ``` console
777+ rclone backend lifecycle b2:bucket
778+ ```
710779
711780This will dump something like this showing the lifecycle rules.
712781
713- [
714- {
715- "daysFromHidingToDeleting": 1,
716- "daysFromUploadingToHiding": null,
717- "daysFromStartingToCancelingUnfinishedLargeFiles": null,
718- "fileNamePrefix": ""
719- }
720- ]
782+ ``` json
783+ [
784+ {
785+ "daysFromHidingToDeleting" : 1 ,
786+ "daysFromUploadingToHiding" : null ,
787+ "daysFromStartingToCancelingUnfinishedLargeFiles" : null ,
788+ "fileNamePrefix" : " "
789+ }
790+ ]
791+ ```
721792
722- If there are no lifecycle rules (the default) then it will just return [ ] .
793+ If there are no lifecycle rules (the default) then it will just return ` [] ` .
723794
724795To reset the current lifecycle rules:
725796
726- rclone backend lifecycle b2:bucket -o daysFromHidingToDeleting=30
727- rclone backend lifecycle b2:bucket -o daysFromUploadingToHiding=5 -o daysFromHidingToDeleting=1
797+ ``` console
798+ rclone backend lifecycle b2:bucket -o daysFromHidingToDeleting=30
799+ rclone backend lifecycle b2:bucket -o daysFromUploadingToHiding=5 -o daysFromHidingToDeleting=1
800+ ```
728801
729802This will run and then print the new lifecycle rules as above.
730803
@@ -736,52 +809,61 @@ the daysFromHidingToDeleting to 1 day. You can enable hard_delete in
736809the config also which will mean deletions won't cause versions but
737810overwrites will still cause versions to be made.
738811
739- rclone backend lifecycle b2:bucket -o daysFromHidingToDeleting=1
740-
741- See: https://www.backblaze.com/docs/cloud-storage-lifecycle-rules
812+ ``` console
813+ rclone backend lifecycle b2:bucket -o daysFromHidingToDeleting=1
814+ ```
742815
816+ See: < https://www.backblaze.com/docs/cloud-storage-lifecycle-rules >
743817
744818Options:
745819
746- - "daysFromHidingToDeleting": After a file has been hidden for this many days it is deleted. 0 is off.
747- - "daysFromStartingToCancelingUnfinishedLargeFiles": Cancels any unfinished large file versions after this many days
748- - "daysFromUploadingToHiding": This many days after uploading a file is hidden
820+ - "daysFromHidingToDeleting": After a file has been hidden for this many days
821+ it is deleted. 0 is off.
822+ - "daysFromStartingToCancelingUnfinishedLargeFiles": Cancels any unfinished
823+ large file versions after this many days.
824+ - "daysFromUploadingToHiding": This many days after uploading a file is hidden.
749825
750826### cleanup
751827
752828Remove unfinished large file uploads.
753829
754- rclone backend cleanup remote: [options] [<arguments>+]
830+ ``` console
831+ rclone backend cleanup remote: [options] [<arguments>+]
832+ ```
755833
756834This command removes unfinished large file uploads of age greater than
757835max-age, which defaults to 24 hours.
758836
759837Note that you can use --interactive/-i or --dry-run with this command to see what
760838it would do.
761839
762- rclone backend cleanup b2:bucket/path/to/object
763- rclone backend cleanup -o max-age=7w b2:bucket/path/to/object
840+ ``` console
841+ rclone backend cleanup b2:bucket/path/to/object
842+ rclone backend cleanup -o max-age=7w b2:bucket/path/to/object
843+ ```
764844
765845Durations are parsed as per the rest of rclone, 2h, 7d, 7w etc.
766846
767-
768847Options:
769848
770- - "max-age": Max age of upload to delete
849+ - "max-age": Max age of upload to delete.
771850
772851### cleanup-hidden
773852
774853Remove old versions of files.
775854
776- rclone backend cleanup-hidden remote: [options] [<arguments>+]
855+ ``` console
856+ rclone backend cleanup-hidden remote: [options] [<arguments>+]
857+ ```
777858
778859This command removes any old hidden versions of files.
779860
780861Note that you can use --interactive/-i or --dry-run with this command to see what
781862it would do.
782863
783- rclone backend cleanup-hidden b2:bucket/path/to/dir
784-
864+ ``` console
865+ rclone backend cleanup-hidden b2:bucket/path/to/dir
866+ ```
785867
786868<!-- autogenerated options stop -->
787869
0 commit comments