Knowledge base
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) using the WebDAV
protocol found in the rClone application.
âš Available with:
kSuite | |
Business | |
Enterprise | |
kDrive | Solo |
Team | |
Pro |
Prerequisites
- Have a VPS.
- Know your kDrive identifier (kDrive ID).
Synchronize kDrive and VPS via rClone
This 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 they are synchronized back to 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 run the synchronization as a background task because without it, this sync stops with each VPS disconnection…
- Example of rClone configuration file:
[kdrive] type = webdav url = https://***.connect.kdrive.infomaniak.com/*** vendor = other user = *** pass = ***
- Server address:
https://IDkDrive.connect.kdrive.infomaniak.com
(refer to the prerequisites above) - Username: email address to log in to your Infomaniak user account
- Password: application password if two-factor authentication is enabled or the one from your Infomaniak user account if you have not enabled 2FA
Link to this FAQ: