mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 03:12:59 +08:00
b2: update versions documentation - fixes #7878
This commit is contained in:
parent
8f0ddcca4e
commit
ba381f8721
|
@ -164,12 +164,21 @@ used.
|
|||
|
||||
### Versions
|
||||
|
||||
When rclone uploads a new version of a file it creates a [new version
|
||||
The default setting of B2 is to keep old versions of files. This means
|
||||
when rclone uploads a new version of a file it creates a [new version
|
||||
of it](https://www.backblaze.com/docs/cloud-storage-file-versions).
|
||||
Likewise when you delete a file, the old version will be marked hidden
|
||||
and still be available. Conversely, you may opt in to a "hard delete"
|
||||
of files with the `--b2-hard-delete` flag which would permanently remove
|
||||
the file instead of hiding it.
|
||||
and still be available.
|
||||
|
||||
Whether B2 keeps old versions of files or not can be adjusted on a per
|
||||
bucket basis using the "Lifecycle settings" on the B2 control panel or
|
||||
when creating the bucket using the [--b2-lifecycle](#b2-lifecycle)
|
||||
flag or after creation using the [rclone backend lifecycle](#lifecycle)
|
||||
command.
|
||||
|
||||
You may opt in to a "hard delete" of files with the `--b2-hard-delete`
|
||||
flag which permanently removes files on deletion instead of hiding
|
||||
them.
|
||||
|
||||
Old versions of files, where available, are visible using the
|
||||
`--b2-versions` flag.
|
||||
|
|
Loading…
Reference in New Issue
Block a user