2019-02-22 23:50:04 +08:00
|
|
|
|
---
|
|
|
|
|
title: "Koofr"
|
|
|
|
|
description: "Rclone docs for Koofr"
|
|
|
|
|
---
|
|
|
|
|
|
2021-07-21 02:45:41 +08:00
|
|
|
|
# {{< icon "fa fa-suitcase" >}} Koofr
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
|
|
|
|
Paths are specified as `remote:path`
|
|
|
|
|
|
2020-10-14 05:49:58 +08:00
|
|
|
|
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
2021-10-14 21:40:18 +08:00
|
|
|
|
## Configuration
|
|
|
|
|
|
2019-02-22 23:50:04 +08:00
|
|
|
|
The initial setup for Koofr involves creating an application password for
|
|
|
|
|
rclone. You can do that by opening the Koofr
|
|
|
|
|
[web application](https://app.koofr.net/app/admin/preferences/password),
|
|
|
|
|
giving the password a nice name like `rclone` and clicking on generate.
|
|
|
|
|
|
|
|
|
|
Here is an example of how to make a remote called `koofr`. First run:
|
|
|
|
|
|
|
|
|
|
rclone config
|
|
|
|
|
|
|
|
|
|
This will guide you through an interactive setup process:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
No remotes found - make a new one
|
|
|
|
|
n) New remote
|
|
|
|
|
s) Set configuration password
|
|
|
|
|
q) Quit config
|
|
|
|
|
n/s/q> n
|
|
|
|
|
name> koofr
|
|
|
|
|
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
|
2019-08-26 17:47:17 +08:00
|
|
|
|
[snip]
|
|
|
|
|
XX / Koofr
|
2019-02-22 23:50:04 +08:00
|
|
|
|
\ "koofr"
|
2019-08-26 17:47:17 +08:00
|
|
|
|
[snip]
|
2019-02-22 23:50:04 +08:00
|
|
|
|
Storage> koofr
|
|
|
|
|
** See help for koofr backend at: https://rclone.org/koofr/ **
|
|
|
|
|
|
|
|
|
|
Your Koofr user name
|
|
|
|
|
Enter a string value. Press Enter for the default ("").
|
|
|
|
|
user> USER@NAME
|
|
|
|
|
Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password)
|
|
|
|
|
y) Yes type in my own password
|
|
|
|
|
g) Generate random password
|
|
|
|
|
y/g> y
|
|
|
|
|
Enter the password:
|
|
|
|
|
password:
|
|
|
|
|
Confirm the password:
|
|
|
|
|
password:
|
|
|
|
|
Edit advanced config? (y/n)
|
|
|
|
|
y) Yes
|
|
|
|
|
n) No
|
|
|
|
|
y/n> n
|
|
|
|
|
Remote config
|
|
|
|
|
--------------------
|
|
|
|
|
[koofr]
|
|
|
|
|
type = koofr
|
|
|
|
|
baseurl = https://app.koofr.net
|
|
|
|
|
user = USER@NAME
|
|
|
|
|
password = *** ENCRYPTED ***
|
|
|
|
|
--------------------
|
|
|
|
|
y) Yes this is OK
|
|
|
|
|
e) Edit this remote
|
|
|
|
|
d) Delete this remote
|
|
|
|
|
y/e/d> y
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You can choose to edit advanced config in order to enter your own service URL
|
|
|
|
|
if you use an on-premise or white label Koofr instance, or choose an alternative
|
|
|
|
|
mount instead of your primary storage.
|
|
|
|
|
|
|
|
|
|
Once configured you can then use `rclone` like this,
|
|
|
|
|
|
|
|
|
|
List directories in top level of your Koofr
|
|
|
|
|
|
|
|
|
|
rclone lsd koofr:
|
|
|
|
|
|
|
|
|
|
List all the files in your Koofr
|
|
|
|
|
|
|
|
|
|
rclone ls koofr:
|
|
|
|
|
|
|
|
|
|
To copy a local directory to an Koofr directory called backup
|
|
|
|
|
|
|
|
|
|
rclone copy /home/source remote:backup
|
|
|
|
|
|
2021-10-14 21:40:18 +08:00
|
|
|
|
### Restricted filename characters
|
2019-05-19 23:55:26 +08:00
|
|
|
|
|
|
|
|
|
In addition to the [default restricted characters set](/overview/#restricted-characters)
|
|
|
|
|
the following characters are also replaced:
|
|
|
|
|
|
|
|
|
|
| Character | Value | Replacement |
|
|
|
|
|
| --------- |:-----:|:-----------:|
|
|
|
|
|
| \ | 0x5C | \ |
|
|
|
|
|
|
|
|
|
|
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
|
|
|
|
|
as they can't be used in XML strings.
|
|
|
|
|
|
2020-05-22 19:22:52 +08:00
|
|
|
|
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/koofr/koofr.go then run make backenddocs" >}}
|
2021-11-01 23:42:05 +08:00
|
|
|
|
### Standard options
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
|
|
|
|
Here are the standard options specific to koofr (Koofr).
|
|
|
|
|
|
|
|
|
|
#### --koofr-user
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
Your Koofr user name.
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
|
|
|
|
- Config: user
|
|
|
|
|
- Env Var: RCLONE_KOOFR_USER
|
|
|
|
|
- Type: string
|
|
|
|
|
- Default: ""
|
|
|
|
|
|
|
|
|
|
#### --koofr-password
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password).
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
2020-09-02 23:59:04 +08:00
|
|
|
|
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
|
|
|
|
|
|
2019-02-22 23:50:04 +08:00
|
|
|
|
- Config: password
|
|
|
|
|
- Env Var: RCLONE_KOOFR_PASSWORD
|
|
|
|
|
- Type: string
|
|
|
|
|
- Default: ""
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
### Advanced options
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
|
|
|
|
Here are the advanced options specific to koofr (Koofr).
|
|
|
|
|
|
2019-04-13 18:01:58 +08:00
|
|
|
|
#### --koofr-endpoint
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
The Koofr API endpoint to use.
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
2019-04-13 18:01:58 +08:00
|
|
|
|
- Config: endpoint
|
|
|
|
|
- Env Var: RCLONE_KOOFR_ENDPOINT
|
2019-02-22 23:50:04 +08:00
|
|
|
|
- Type: string
|
|
|
|
|
- Default: "https://app.koofr.net"
|
|
|
|
|
|
|
|
|
|
#### --koofr-mountid
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
Mount ID of the mount to use.
|
|
|
|
|
|
|
|
|
|
If omitted, the primary mount is used.
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
|
|
|
|
- Config: mountid
|
|
|
|
|
- Env Var: RCLONE_KOOFR_MOUNTID
|
|
|
|
|
- Type: string
|
|
|
|
|
- Default: ""
|
|
|
|
|
|
2019-08-26 22:25:20 +08:00
|
|
|
|
#### --koofr-setmtime
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
Does the backend support setting modification time.
|
|
|
|
|
|
|
|
|
|
Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.
|
2019-08-26 22:25:20 +08:00
|
|
|
|
|
|
|
|
|
- Config: setmtime
|
|
|
|
|
- Env Var: RCLONE_KOOFR_SETMTIME
|
|
|
|
|
- Type: bool
|
|
|
|
|
- Default: true
|
|
|
|
|
|
2020-02-01 18:31:42 +08:00
|
|
|
|
#### --koofr-encoding
|
|
|
|
|
|
|
|
|
|
This sets the encoding for the backend.
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
See the [encoding section in the overview](/overview/#encoding) for more info.
|
2020-02-01 18:31:42 +08:00
|
|
|
|
|
|
|
|
|
- Config: encoding
|
|
|
|
|
- Env Var: RCLONE_KOOFR_ENCODING
|
|
|
|
|
- Type: MultiEncoder
|
|
|
|
|
- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
|
|
|
|
|
|
2020-05-22 19:22:52 +08:00
|
|
|
|
{{< rem autogenerated options stop >}}
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
2021-10-14 21:40:18 +08:00
|
|
|
|
## Limitations
|
2019-02-22 23:50:04 +08:00
|
|
|
|
|
|
|
|
|
Note that Koofr is case insensitive so you can't have a file called
|
|
|
|
|
"Hello.doc" and one called "hello.doc".
|