8000 Corrected and added Zata by Samarth1015 · Pull Request #8602 · rclone/rclone · GitHub
[go: up one dir, main page]

Skip to content

Corrected and added Zata #8602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
Next Next commit
Corrected and added Zata
  • Loading branch information
Samarth1015 committed Jun 13, 2025
commit d2ff7ae6029cb4047b08bfed73d349bf8b4bbb24
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Rclone *("rsync for cloud storage")* is a command-line program to sync files and
* WebDAV [:page_facing_up:](https://rclone.org/webdav/)
* Yandex Disk [:page_facing_up:](https://rclone.org/yandex/)
* Zoho WorkDrive [:page_facing_up:](https://rclone.org/zoho/)
* Zata.ai [:page_facing_up:](https://rclone.org/s3/#Zata)
* The local filesystem [:page_facing_up:](https://rclone.org/local/)

Please see [the full list of all storage providers and their features](https://rclone.org/overview/)
Expand Down
36 changes: 33 additions & 3 deletions backend/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,12 @@
}, {
Value: "Qiniu",
Help: "Qiniu Object Storage (Kodo)",
}, {
},
{

Check failure on line 189 in backend/s3/s3.go

View workflow job for this annotation

GitHub Actions / lint

File is not properly formatted (goimports)
Value: "Zata",
Help: "Zata (S3 compatible Gateway)",
},
{
Value: "Other",
Help: "Any other S3 compatible provider",
}},
Expand Down Expand Up @@ -490,7 +495,17 @@
Value: "ap-northeast-1",
Help: "Northeast Asia Region 1.\nNeeds location constraint ap-northeast-1.",
}},
}, {
},
{
Name: "region",
Help: "Region where you can connect with.\n",
Provider: "Zata",
Examples: []fs.OptionExample{{
Value: "us-east-1",
Help: "Indore, Madhya Pradesh, India",
}},
},
{
Name: "region",
Help: "Region where your bucket will be created and your data stored.\n",
Provider: "IONOS",
Expand Down Expand U 8000 p @@ -576,7 +591,7 @@
}, {
Name: "region",
Help: "Region to connect to.\n\nLeave blank if you are using an S3 clone and you don't have a region.",
Provider: "!AWS,Alibaba,ArvanCloud,ChinaMobile,Cloudflare,FlashBlade,IONOS,Petabox,Liara,Linode,Magalu,Qiniu,RackCorp,Scaleway,Selectel,Storj,Synology,TencentCOS,HuaweiOBS,IDrive,Mega",
Provider: "!AWS,Alibaba,ArvanCloud,ChinaMobile,Cloudflare,FlashBlade,IONOS,Petabox,Liara,Linode,Magalu,Qiniu,RackCorp,Scaleway,Selectel,Storj,Synology,TencentCOS,HuaweiOBS,IDrive,Mega,Zata",
Examples: []fs.OptionExample{{
Value: "",
Help: "Use this if unsure.\nWill use v4 signatures and an empty region.",
Expand Down Expand Up @@ -1381,6 +1396,16 @@
Help: "Northeast Asia Endpoint 1",
}},
}, {
Name: "endpoint",
Help: "Endpoint for Zata Object Storage.",
Provider: "Zata",
Examples: []fs.OptionExample{{
Value: "idr01.zata.ai",
Help: "South Asia Endpoint",
}},
},

{
// Selectel endpoints: https://docs.selectel.ru/en/cloud/object-storage/manage/domains/#s3-api-domains
Name: "endpoint",
Help: "Endpoint for Selectel Object Storage.",
Expand Down Expand Up @@ -3628,6 +3653,11 @@
urlEncodeListings = false
virtualHostStyle = false
useAlreadyExists = false // untested
case "Zata":
useMultipartEtag = false
mightGzip = false
useUnsignedPayload = false
useAlreadyExists = false
case "Exaba":
virtualHostStyle = false
case "GCS":
Expand Down
1 change: 1 addition & 0 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ WebDAV or S3, that work out of the box.)
{{< provider name="WebDAV" home="https://en.wikipedia.org/wiki/WebDAV" config="/webdav/" >}}
{{< provider name="Yandex Disk" home="https://disk.yandex.com/" config="/yandex/" >}}
{{< provider name="Zoho WorkDrive" home="https://www.zoho.com/workdrive/" config="/zoho/" >}}
{{< provider name="Zata" home="https://zata.ai/" config="/s3/#Zata" end="true" >}}
{{< provider name="The local filesystem" home="/local/" config="/local/" end="true">}}
{{< /provider_list >}}

Expand Down
119 changes: 119 additions & 0 deletions docs/content/s3.md
8000
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ The S3 backend can be used with a number of different providers:
{{< provider name="Synology C2 Object Storage" home="https://c2.synology.com/en-global/object-storage/overview" config="/s3/#synology-c2" >}}
{{< provider name="Tencent Cloud Object Storage (COS)" home="https://intl.cloud.tencent.com/product/cos" config="/s3/#tencent-cos" >}}
{{< provider name="Wasabi" home="https://wasabi.com/" config="/s3/#wasabi" end="true" >}}
{{< provider name="Zata" home="https://zata.ai/" config="/s3/#Zata" end="true" >}}
{{< /provider_list >}}

Paths are specified as `remote:bucket` (or `remote:` for the `lsd`
Expand Down Expand Up @@ -5969,3 +5970,121 @@ d) Delete this remote

y/e/d> y
```
### Zata Object Storage {#Zata}

[Zata Object Storage](https://zata.ai/) provides a secure, S3-compatible cloud storage solution designed for scalability and performance, ideal for a variety of data storage needs.

Run:
go build -o rclone.exe

The S3 compatible gateway is configured using `rclone.exe config` with a type of `s3` and a provider name of `Zata`. Below is an example run of the configurator.

First run:

```
rclone.exe 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

Enter name for new remote.
name>My zata storage

Type of storage to configure.
Choose a number from below, or type in your own value.
XX / Amazon S3 Compliant Storage Providers including AWS,(included Zata also) ...
\ (s3)
Storage> 4 (Press with the matching number) Or s3

Choose your S3 provider.
Choose a number from below, or type in your own value.
36 / Zata (S3 compatible Gateway)
\ (Zata)
provider> Zata

Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
Only applies if access_key_id and secret_access_key is blank.
Choose a number from below, or type in your own boolean value (true or false).
Press Enter for the default (false).
1 / Enter AWS credentials in the next step.
\ (false)
2 / Get AWS credentials from the environment (env vars or IAM).
\ (true)
env_auth> 1

AWS Access Key ID.
Leave blank for anonymous access or runtime credentials.
Enter a string value. Press Enter for the default ("").
access_key_id> "Your access Key ID"

AWS Secret Access Key (password).
Leave blank for anonymous access or runtime credentials.
Enter a string value. Press Enter for the default ("").
secret_access_key> "Your secret access Key ID"

Region where you can connect with.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
1 / Indore, Madhya Pradesh, India
\ (us-east-1)
region> 1

Endpoint for Zata Object Storage.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
1 / South Asia Endpoint
\ (idr01.zata.ai)
endpoint> 1

Endpoint for S3 API.
Required when using an S3 clone.
Enter a value of type string. Press Enter for the default (idr01.zata.ai).
endpoint>

Location constraint - must be set to match the Region.
Leave blank if not sure. Used when creating buckets only.
Enter a value. Press Enter to leave empty.
location_constraint>

Canned ACL used when creating buckets and storing or copying objects.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
1 / Owner gets FULL_CONTROL. No one else has access rights (default).
\ (private)
2 / Owner gets FULL_CONTROL. The AllUsers group gets READ access.
\ (public-read)
3 / Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.
\ (public-read-write)
4 / Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.
\ (authenticated-read)
5 / Object owner gets FULL_CONTROL. Bucket owner gets READ access.
\ (bucket-owner-read)
6 / Both the object owner and the bucket owner get FULL_CONTROL over the object.
\ (bucket-owner-full-control)
acl> 1

Edit advanced config?
y) Yes
n) No (default)
y/n> n

Configuration complete.
Options:

type: s3
provider: Zata
region: us-east-1
endpoint: idr01.zata.ai
acl: private Keep this "zata" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y

```
Loading
0