mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Cache Remote Storage (markdown)
parent
c8da111eab
commit
9e8b21a852
|
@ -17,6 +17,7 @@ In `weed shell`, checkout `remote.cache` and `remote.uncache`:
|
|||
remote.mount -dir=xxx -remote=s3_1/bucket
|
||||
|
||||
# after mount, run one of these command to cache the content of the files
|
||||
remote.cache # cache on all mounted directories
|
||||
remote.cache -dir=/xxx
|
||||
remote.cache -dir=/xxx/some/sub/dir
|
||||
remote.cache -dir=/xxx/some/sub/dir -include=*.pdf
|
||||
|
@ -35,6 +36,7 @@ In `weed shell`, checkout `remote.cache` and `remote.uncache`:
|
|||
This is designed to run regularly. So you can add it to some cronjob.
|
||||
If a file is not synchronized with the remote copy, the file will be skipped to avoid loss of data.
|
||||
|
||||
remote.uncache # uncache on all mounted directories
|
||||
remote.uncache -dir=/xxx
|
||||
remote.uncache -dir=/xxx/some/sub/dir
|
||||
remote.uncache -dir=/xxx/some/sub/dir -include=*.pdf
|
||||
|
|
Loading…
Reference in a new issue