How to migrate files from another cloud provider to Sync with Rclone on Linux

Rclone is a command-line tool for transferring and managing files across cloud storage services. It supports dozens of cloud providers and can be used to move files from another cloud service into your Sync account.

This is useful when migrating from Dropbox, Google Drive, OneDrive, S3-compatible storage, or another Rclone-supported service.

Before you begin, you'll need:

Installation

  1. Install and start the Sync WebDAV server. Follow these step-by-step instructions.
  2. Install Rclone: sudo apt install rclone
    (or install the latest version from the Rclone website: curl https://rclone.org/install.sh | sudo bash)

Configure Sync in Rclone

  1. Make sure the Sync WebDAV server is installed and running.
  2. Run: rclone config create sync-webdav webdav url=http://localhost:4918 vendor=other
  3. Test the connection: rclone lsd sync-webdav:/

Configure your other cloud provider

  • Run: rclone config
    Follow Rclone's prompts and give the existing provider a name such as: old-cloud

Test both connections

List files from the old provider:

  • Run: rclone lsd old-cloud:/

List files in Sync:

  • Run: rclone lsd sync-webdav:/

Copy your files to Sync

  • Run: rclone copy old-cloud:/ sync-webdav:/ -P

Rclone will copy your files from the old cloud, into Sync without deleting files already stored there.

You can safely rerun the command if the transfer is interrupted. Files that have already been transferred and haven't changed are skipped.

Migrate a specific folder

  • Run: rclone copy old-cloud:/Documents sync-webdav:/Documents -P

Verify your migration

After the transfer finishes:

  • Run: rclone check old-cloud:/ sync-webdav:/

You can also browse your Sync account to verify that the expected folders and files are present.

 

Was this article helpful?
0 out of 0 found this helpful