1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Synchronize a VPS with kDrive
This guide provides instructions to synchronize kDrive with a VPS (or vice versa) via the WebDAV
protocol found in the rClone application.
COMPATIBILITY my kSuite ββ | my kSuite+ ββ ββ= Compatible offer | ββ= Not available |
Prerequisites
- Have a VPS.
- Know your kDrive identifier (kDrive ID).
Synchronize kDrive and VPS via rClone
The operation allows you to retrieve in real-time the files and folders from kDrive and to read, create or modify these files from your VPS while ensuring that they are synchronized again on the kDrive server. An rClone mount point can be created with a folder on your VPS to manipulate these kDrive files.
Refer to the rClone documentation if you are looking for information about the available options:
- Example of rClone command:
rclone mount kdrive:/My_kDrive_Folder_Path /home/ubuntu/Target_Folder_Path --vfs-cache-mode full --vfs-cache-max-age 24h --vfs-cache-max-size 10G --cache-dir /home/ubuntu/rclone/cache --daemon --allow-other --dir-cache-time 1h --log-file /home/ubuntu/rclone/rclone.log --log-level INFO
- The
--daemon
attribute of this command allows you to start the synchronization in the background because without it, this sync ends with each disconnection of the VPSβ¦
- Example of an rClone configuration file:
[kdrive] type = webdav url = https://***.connect.kdrive.infomaniak.com/*** vendor = other user = *** pass = ***
- Server address:
https://IDkDrive.connect.kdrive.infomaniak.com
(see the prerequisites above) - Username: email address to log in to the Infomaniak user account
- Password: application password if two-factor authentication is enabled or βyour Infomaniak user account password if you have not enabled 2FA