-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate to Filer Store
Chris Lu edited this page Sep 10, 2021
·
5 revisions
If there are already a lot of files, how to move them to the SeaweedFS the most efficient way?
- create a filer.toml file, see the output of "weed scaffold -config=filer"
- choose and setup a filer data store. It is OK to just pick one and use it. You can always switch later.
- start the filer
Example:
weed filer -master=localhost:9333
- If you want to copy files via OS-provided copy command, start the "weed mount"
Example:
weed mount -filer=localhost:8888 -dir=/some/dir
The easiest way is just to use the OS-provided copy command from the command line. However, usually it is single-threaded.
The most efficient way is to use "weed filer.copy". It is multi-threaded and bypasses the FUSE layer.
Example:
weed filer.copy file_or_dir1 [file_or_dir2 file_or_dir3] http://localhost:8888/path/to/a/folder/
- Introduction
- API
- Configuration
- Filer
- Filer Stores
- Advanced Filer Configurations
- Cloud Drive
- AWS S3 API
- AWS IAM
- Replication and Backup
- Messaging
- Use Cases
- Operations
- Advanced
- Security
- Misc Use Case Examples