Rclone
- Links:
Homepage: https://rclone.org
Installation:
# from epel-repo
dnf -y install rclone
Konfiguration - entweder interaktiv:
rclone config
# name> infomaniak
# ...
Oder per Config-File - hier am Beispiel eines Swift-based Swiss Backups bei Infomaniak:
[infomaniak_swissbackup]
type = swift
user = SBI-XXXXXXXX
key = password
auth = https://swiss-backup02.infomaniak.com/identity/v3
domain = default
tenant = sb_project_SBI-XXXXXXXX
tenant_domain = default
region = RegionOne
storage_url =
auth_version =
Verwendung:
# list containers / buckets
rclone lsd infomaniak_swissbackup:
# list content of container
rclone ls infomaniak_swissbackup:mycontainer
# list content of container with additional info (slower)
rclone lsl infomaniak_swissbackup:mycontainer
Mounting:
# 1st terminal window: mount (foreground) dnf -y install fuse mkdir /mnt/infomaniak_swissbackup rclone mount infomaniak_swissbackup: /mnt/infomaniak_swissbackup
# 2nd terminal window: ls /mnt/infomaniak_swissbackup
Web GUI (https://rclone.org/gui/):
rclone rcd --rc-web-gui --rc-no-auth
# http://localhost:5572
Dateien hin zu OpenStack Swift synchronisieren:
[myproject]
type = swift
user = PCU-CYNYNW8
key = z6E2btMJ9ygzjnFfsLXNYAwrZidetF
auth = https://api.pub1.infomaniak.cloud/identity/v3
domain = Default
tenant = PCP-CYNYNW8
tenant_domain = default
region = dc3-a
storage_url =
# remote named "myproject"
export RCLONE_CONFIG_MYPROJECT_TYPE=swift
export RCLONE_CONFIG_MYPROJECT_ENV_AUTH=true
source path/to/openstack.rc
rclone ls myproject:mybucket
rclone mkdir myproject:mybucket
rclone sync path/to/folder myproject:/mybucket
Troubleshooting
Failed to create file system for "infomaniak_pubcloud:": Can't find AuthVersion in AuthUrl - set explicitly
auth
in derrclone.conf
bzw.OS_AUTH_URL
in dem Openstack RC File muss mit/v3
enden, z.B.auth = https://api.pub1.infomaniak.cloud/identity/v3
Built on 2024-04-18