replication setup
Set up replication between two buckets.
Sets up replication between two buckets (potentially from different accounts), creating and replacing keys if necessary.
Requires capabilities on both profiles:
listKeys
createKeys
readReplications
writeReplications
b2 replication setup [-h] [--destination-profile DESTINATION_PROFILE]
[--name NAME] [--priority PRIORITY]
[--file-name-prefix PREFIX] [--include-existing-files]
SOURCE_BUCKET_NAME DESTINATION_BUCKET_NAME
Positional Arguments
- SOURCE_BUCKET_NAME
- DESTINATION_BUCKET_NAME
Named Arguments
- --destination-profile
- --name
name for the new replication rule on the source side
- --priority
priority for the new replication rule on the source side [1-2147483647]. Will be set automatically when not specified.
- --file-name-prefix
only replicate files starting with PREFIX
- --include-existing-files
if given, also replicates files uploaded prior to creation of the replication rule
Default: False