⟵ Back

Sync between providers

After you setup the providers and Sync rules the sync process is automatically handled in the cloud. All your files will stay in sync in real-time and you can access them directly on providers solutions (local client or in browser) or on our local app or browser app.

We also offer a cloud storage solution based on S3 for now, you can setup our service as a provider and use the local app to sync the files. Then you can take full advantage of syncing those files between providers.

This is useful when you want to keep files in sync between multiple and/or different providers.

Sync modes

There are 4 modes to sync the files:

  1. Copy: it will copy new and changes files from source to destination. No deletes or renames will occur on dst. In case the file is changed on destination also (see how this is determined based on compare-mode below) it will resolve the conflict using keep-mode: path1 (see below)
  2. Move: like Copy but will move files from source to destination, deleting them from source after transferred
  3. One-way: like Copy but will also delete and rename files on destination. Conflicts are handled based on conflict resolution
  4. Two-way: will propagate changes in both directions. In case of changes on both sides conflicts are handled based on conflict resolution

compare-mode

Takes a comma-separated list, with the currently supported values being size, modtime, and hash. For example, you could compare size and modtime but not the hash.

Conflict resolution

If configured first it will try to auto-merge (see below). This is disabled by default as it needs to download the remote file to perform the merge. if it doesn’t succeed it will keep the content based on keep-mode and will copy the other file to a new file with suffix in name like conflict-<other>-date indicating the other identifier and the date when the change was made.

auto-merge

keep-mode

If either of the underlying remotes lacks support for the chosen method, it will be ignored and will fall back to the default of newer. If modtime is not supported either by the remote it will fallback to path1.