Rclone

Siehe auch

Links:

Installation:

dnf -y install rclone

Konfiguration - entweder interaktiv:

rclone config
# name> infomaniak
# ...

Oder per Config-File - hier am Beispiel eines Swift-based Backend mit Provider Infomaniak:

$HOME/.config/rclone/rclone.conf
[infomaniak]
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 content of a bucket
rclone ls infomaniak:

Mounting:

# 1st terminal window: mount (foreground) dnf -y install fuse mkdir /mnt/swift rclone mount infomaniak: /mnt/swift

# 2nd terminal window: ls /mnt/swift

Web GUI (https://rclone.org/gui/):

rclone rcd --rc-web-gui --rc-no-auth
# http://localhost:5572

Dateien hin zu Swift synchronisieren:

You need an Openstack RC file
# remote named "myproject"
export RCLONE_CONFIG_MYPROJECT_TYPE=swift
export RCLONE_CONFIG_MYPROJECT_ENV_AUTH=true

source path/to/openstack.rc

# from epel-repo
dnf -y install rclone

rclone ls myproject:mybucket
rclone mkdir myproject:mybucket
rclone sync path/to/folder myproject:/mybucket

Built on 2022-12-06