2020-08-11 22:09:00 +08:00
|
|
|
---
|
|
|
|
title: "Enterprise File Fabric"
|
|
|
|
description: "Rclone docs for the Enterprise File Fabric backend"
|
2022-12-21 04:05:05 +08:00
|
|
|
versionIntroduced: "v1.54"
|
2020-08-11 22:09:00 +08:00
|
|
|
---
|
|
|
|
|
2021-07-21 02:45:41 +08:00
|
|
|
# {{< icon "fa fa-cloud" >}} Enterprise File Fabric
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
This backend supports [Storage Made Easy's Enterprise File
|
|
|
|
Fabric™](https://storagemadeeasy.com/about/) which provides a software
|
|
|
|
solution to integrate and unify File and Object Storage accessible
|
|
|
|
through a global file system.
|
|
|
|
|
2021-10-14 21:40:18 +08:00
|
|
|
## Configuration
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
The initial setup for the Enterprise File Fabric backend involves
|
2022-08-14 10:56:32 +08:00
|
|
|
getting a token from the Enterprise File Fabric which you need to
|
2020-08-11 22:09:00 +08:00
|
|
|
do in your browser. `rclone config` walks you through it.
|
|
|
|
|
|
|
|
Here is an example of how to make a remote called `remote`. First run:
|
|
|
|
|
|
|
|
rclone config
|
|
|
|
|
|
|
|
This will guide you through an interactive setup process:
|
|
|
|
|
|
|
|
```
|
2021-11-02 04:34:46 +08:00
|
|
|
No remotes found, make a new one?
|
2020-08-11 22:09:00 +08:00
|
|
|
n) New remote
|
|
|
|
s) Set configuration password
|
|
|
|
q) Quit config
|
|
|
|
n/s/q> n
|
|
|
|
name> remote
|
|
|
|
Type of storage to configure.
|
|
|
|
Enter a string value. Press Enter for the default ("").
|
|
|
|
Choose a number from below, or type in your own value
|
|
|
|
[snip]
|
|
|
|
XX / Enterprise File Fabric
|
|
|
|
\ "filefabric"
|
|
|
|
[snip]
|
|
|
|
Storage> filefabric
|
|
|
|
** See help for filefabric backend at: https://rclone.org/filefabric/ **
|
|
|
|
|
|
|
|
URL of the Enterprise File Fabric to connect to
|
|
|
|
Enter a string value. Press Enter for the default ("").
|
|
|
|
Choose a number from below, or type in your own value
|
|
|
|
1 / Storage Made Easy US
|
|
|
|
\ "https://storagemadeeasy.com"
|
|
|
|
2 / Storage Made Easy EU
|
|
|
|
\ "https://eu.storagemadeeasy.com"
|
|
|
|
3 / Connect to your Enterprise File Fabric
|
|
|
|
\ "https://yourfabric.smestorage.com"
|
|
|
|
url> https://yourfabric.smestorage.com/
|
|
|
|
ID of the root folder
|
|
|
|
Leave blank normally.
|
|
|
|
|
|
|
|
Fill in to make rclone start with directory of a given ID.
|
|
|
|
|
|
|
|
Enter a string value. Press Enter for the default ("").
|
|
|
|
root_folder_id>
|
|
|
|
Permanent Authentication Token
|
|
|
|
|
|
|
|
A Permanent Authentication Token can be created in the Enterprise File
|
|
|
|
Fabric, on the users Dashboard under Security, there is an entry
|
|
|
|
you'll see called "My Authentication Tokens". Click the Manage button
|
|
|
|
to create one.
|
|
|
|
|
|
|
|
These tokens are normally valid for several years.
|
|
|
|
|
|
|
|
For more info see: https://docs.storagemadeeasy.com/organisationcloud/api-tokens
|
|
|
|
|
|
|
|
Enter a string value. Press Enter for the default ("").
|
|
|
|
permanent_token> xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx
|
|
|
|
Edit advanced config? (y/n)
|
|
|
|
y) Yes
|
|
|
|
n) No (default)
|
|
|
|
y/n> n
|
|
|
|
Remote config
|
|
|
|
--------------------
|
|
|
|
[remote]
|
|
|
|
type = filefabric
|
|
|
|
url = https://yourfabric.smestorage.com/
|
|
|
|
permanent_token = xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx
|
|
|
|
--------------------
|
|
|
|
y) Yes this is OK (default)
|
|
|
|
e) Edit this remote
|
|
|
|
d) Delete this remote
|
|
|
|
y/e/d> y
|
|
|
|
```
|
|
|
|
|
|
|
|
Once configured you can then use `rclone` like this,
|
|
|
|
|
|
|
|
List directories in top level of your Enterprise File Fabric
|
|
|
|
|
|
|
|
rclone lsd remote:
|
|
|
|
|
|
|
|
List all the files in your Enterprise File Fabric
|
|
|
|
|
|
|
|
rclone ls remote:
|
|
|
|
|
|
|
|
To copy a local directory to an Enterprise File Fabric directory called backup
|
|
|
|
|
|
|
|
rclone copy /home/source remote:backup
|
|
|
|
|
2023-11-18 20:36:46 +08:00
|
|
|
### Modification times and hashes
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
The Enterprise File Fabric allows modification times to be set on
|
|
|
|
files accurate to 1 second. These will be used to detect whether
|
|
|
|
objects need syncing or not.
|
|
|
|
|
|
|
|
The Enterprise File Fabric does not support any data hashes at this time.
|
|
|
|
|
|
|
|
### Restricted filename characters
|
|
|
|
|
|
|
|
The [default restricted characters set](/overview/#restricted-characters)
|
|
|
|
will be replaced.
|
|
|
|
|
|
|
|
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
|
|
|
|
as they can't be used in JSON strings.
|
|
|
|
|
|
|
|
### Empty files
|
|
|
|
|
|
|
|
Empty files aren't supported by the Enterprise File Fabric. Rclone will therefore
|
|
|
|
upload an empty file as a single space with a mime type of
|
|
|
|
`application/vnd.rclone.empty.file` and files with that mime type are
|
|
|
|
treated as empty.
|
|
|
|
|
|
|
|
### Root folder ID ###
|
|
|
|
|
|
|
|
You can set the `root_folder_id` for rclone. This is the directory
|
|
|
|
(identified by its `Folder ID`) that rclone considers to be the root
|
|
|
|
of your Enterprise File Fabric.
|
|
|
|
|
|
|
|
Normally you will leave this blank and rclone will determine the
|
|
|
|
correct root to use itself.
|
|
|
|
|
|
|
|
However you can set this to restrict rclone to a specific folder
|
|
|
|
hierarchy.
|
|
|
|
|
|
|
|
In order to do this you will have to find the `Folder ID` of the
|
|
|
|
directory you wish rclone to display. These aren't displayed in the
|
|
|
|
web interface, but you can use `rclone lsf` to find them, for example
|
|
|
|
|
|
|
|
```
|
|
|
|
$ rclone lsf --dirs-only -Fip --csv filefabric:
|
|
|
|
120673758,Burnt PDFs/
|
|
|
|
120673759,My Quick Uploads/
|
|
|
|
120673755,My Syncs/
|
|
|
|
120673756,My backups/
|
|
|
|
120673757,My contacts/
|
|
|
|
120673761,S3 Storage/
|
|
|
|
```
|
|
|
|
|
|
|
|
The ID for "S3 Storage" would be `120673761`.
|
|
|
|
|
|
|
|
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/filefabric/filefabric.go then run make backenddocs" >}}
|
2021-11-01 23:42:05 +08:00
|
|
|
### Standard options
|
2020-08-11 22:09:00 +08:00
|
|
|
|
2022-07-10 01:08:20 +08:00
|
|
|
Here are the Standard options specific to filefabric (Enterprise File Fabric).
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
#### --filefabric-url
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
URL of the Enterprise File Fabric to connect to.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: url
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_URL
|
|
|
|
- Type: string
|
2022-03-18 20:29:54 +08:00
|
|
|
- Required: true
|
2020-08-11 22:09:00 +08:00
|
|
|
- Examples:
|
|
|
|
- "https://storagemadeeasy.com"
|
|
|
|
- Storage Made Easy US
|
|
|
|
- "https://eu.storagemadeeasy.com"
|
|
|
|
- Storage Made Easy EU
|
|
|
|
- "https://yourfabric.smestorage.com"
|
|
|
|
- Connect to your Enterprise File Fabric
|
|
|
|
|
|
|
|
#### --filefabric-root-folder-id
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
ID of the root folder.
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
Leave blank normally.
|
|
|
|
|
|
|
|
Fill in to make rclone start with directory of a given ID.
|
|
|
|
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: root_folder_id
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_ROOT_FOLDER_ID
|
|
|
|
- Type: string
|
2022-03-18 20:29:54 +08:00
|
|
|
- Required: false
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
#### --filefabric-permanent-token
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
Permanent Authentication Token.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
A Permanent Authentication Token can be created in the Enterprise File
|
|
|
|
Fabric, on the users Dashboard under Security, there is an entry
|
|
|
|
you'll see called "My Authentication Tokens". Click the Manage button
|
|
|
|
to create one.
|
|
|
|
|
|
|
|
These tokens are normally valid for several years.
|
|
|
|
|
|
|
|
For more info see: https://docs.storagemadeeasy.com/organisationcloud/api-tokens
|
|
|
|
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: permanent_token
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_PERMANENT_TOKEN
|
|
|
|
- Type: string
|
2022-03-18 20:29:54 +08:00
|
|
|
- Required: false
|
2020-08-11 22:09:00 +08:00
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
### Advanced options
|
2020-08-11 22:09:00 +08:00
|
|
|
|
2022-07-10 01:08:20 +08:00
|
|
|
Here are the Advanced options specific to filefabric (Enterprise File Fabric).
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
#### --filefabric-token
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
Session Token.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
This is a session token which rclone caches in the config file. It is
|
|
|
|
usually valid for 1 hour.
|
|
|
|
|
|
|
|
Don't set this value - rclone will set it automatically.
|
|
|
|
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: token
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_TOKEN
|
|
|
|
- Type: string
|
2022-03-18 20:29:54 +08:00
|
|
|
- Required: false
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
#### --filefabric-token-expiry
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
Token expiry time.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
Don't set this value - rclone will set it automatically.
|
|
|
|
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: token_expiry
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_TOKEN_EXPIRY
|
|
|
|
- Type: string
|
2022-03-18 20:29:54 +08:00
|
|
|
- Required: false
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
#### --filefabric-version
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
Version read from the file fabric.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
Don't set this value - rclone will set it automatically.
|
|
|
|
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: version
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_VERSION
|
|
|
|
- Type: string
|
2022-03-18 20:29:54 +08:00
|
|
|
- Required: false
|
2020-08-11 22:09:00 +08:00
|
|
|
|
|
|
|
#### --filefabric-encoding
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
The encoding for the backend.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
See the [encoding section in the overview](/overview/#encoding) for more info.
|
2020-08-11 22:09:00 +08:00
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Properties:
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
- Config: encoding
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_ENCODING
|
2023-11-26 23:59:12 +08:00
|
|
|
- Type: Encoding
|
2020-08-11 22:09:00 +08:00
|
|
|
- Default: Slash,Del,Ctl,InvalidUtf8,Dot
|
|
|
|
|
2024-03-10 19:22:43 +08:00
|
|
|
#### --filefabric-description
|
|
|
|
|
2024-06-14 23:04:51 +08:00
|
|
|
Description of the remote.
|
2024-03-10 19:22:43 +08:00
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
- Config: description
|
|
|
|
- Env Var: RCLONE_FILEFABRIC_DESCRIPTION
|
|
|
|
- Type: string
|
|
|
|
- Required: false
|
|
|
|
|
2020-08-11 22:09:00 +08:00
|
|
|
{{< rem autogenerated options stop >}}
|