Rclone from Synology to jotta cloud storage

What is the problem you are having with rclone?

I have made a config on my NAS (synology)

Remote name: [NAS]

type = jottacloud

configVersion = 1

client_id = jottacli

I need help to understand the rsync options

I will bacup (NOT SYNC) all files on Volume1 (in storage pool 1 (i have only one) to Jotta

What is your rclone version (output from rclone version)

rclone v1.56.2

  • os/version: unknown
  • os/kernel: 4.4.180+ (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.8
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Jotta

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Not made yet, but something like this:
rclone copy NAS-> Jotta

PS Full copy not a sync (incremental copy)

The rclone config contents with secrets removed.

Remote name: [NAS] 
type = jottacloud
configVersion = 1
client_id = jottacli
client_secret =
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":" 
username = modesty
device =
mountpoint =

A log from the command with the -vv flag

no log yet

This is rclone, not rsync.

You can use --dry-run to see what happens. Copy makes a destination like the source without deleting. Sync makes the destination look like the source with deleting.

rclone copy

rclone sync

What is your question?

Hi

my q regarding rclone?
I'm not skilled in unix and NAS OS, so I struggle with understanding the "path" syntax.
For DOS i understand perfectly the idea of copy c:\Private n:\Backup\Private

I hoped to get specification how to make the exact syntax (not like the help text source: destination:)

To elaborate:
I have one volume
image

My rclone settings:

Remote name: [NAS] 
type = jottacloud
configVersion = 1
client_id = jottacli
client_secret =
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":" 
username = modesty
device =
mountpoint =

My NAS has 3 shares
Private
Job
Pictures

I want to incremental copy files from my NAS to Jottacloud

So how do the command look?

Here is the idea I try to set up:

rclone copy NAS:Volume1\Private Jotta:Private
rclone copy NAS:Volume1\Job Jotta:Job
rclone copy NAS:Volume1\Pictures Jotta:Pictures
````Preformatted text`

Thanks up front

M

To test out a command, add --dry-run to the end and test it out.

It'll just show you what it will do.

When you are confident it does what you want, use that command without it.

Documentation (rclone.org)

I don't use rclone as a backup tool myself as I don't think it really is one (just my opinion) but backup-dir might be something you want to take a look at depending on what you want to happen.

hi, i have a synbox, and not sure your command make sense,

  • the NAS is a remote pointing to jottacloud, but you seem to be using it to point to the local storage pool Volume1?

  • there is a remote named Jotta but i do not see that in your config file?

  • note: the correct path is /volume1/Private , not Volume1\Private

  • perhaps this is what you want, from local synbox to jotta?
    rclone copy /volume1/Private NAS:Private --dry-run

Perfect it worked, but I need to refine it since all my NAS files already is backed up to Jotta

My share "Dok" is placed on jotta like this:
image

.
In folder VAIO I have mountpoint Blace

image

Final path on jotta: "VAIO\Blace\Dok"

I in config I have these info, not deafult Jotta. how will the copy syntax be?

rclone Config:

username = morning
device = VAIO
mountpoint = Blace

NAS side
\\NAS\Dok\test

I ask for help with path syntax again:

rclone copy /volume1/Dok/test/ NAS:/VAIO/Blace/Dok/test

When I try this command i get error regarding device "Jotta":

test.txt: Failed to copy: upload not supported for devices other than Jotta

So I'm now officially stuck ;-|
There is some issues regarding mountpoints and paths in not standard path config I dont grasp

Thanks up front!
M

That is a limitation in the current implementation: Any devices other than the default "Jotta" device are effectively read-only (edit: not strictly read-only perhaps, you may be able to create directories etc, but at least uploading files is blocked). Not very explicitely documented, unfortunately (will see if I can add a sentence about that). The limitation could in principle be removed quite easily (famous last words...), but there are some differences and possible pitfalls to consider when using other devices, so it will need a dev to invest some time to make sure these are properly handled. See the following for some related discussion:

Regarding your use case: I assume you have been using the official Jottacloud application and its backup function so far. Do you plan to switch entirely to rclone, or continue with both? If switching to Rclone: You could move the contents from "Backed up" into "Archive" where it is fully accessible from rclone. Don't know if this is possible to do from official client or web gui, but rclone does support Jottacloud's built-in deduplication feature, so if you have room for it in your account, you could just copy again from source into Jotta/Archive and it should go very fast if it is mostly duplicates of what is already in "Backed up". Then later at some point when you are confident you have all in Archive, you can delete the contents from "Backed up".

Thanks @albertony

I will only use rclone, not jotta client.

For mount of jotta to win drives I can mount drives

V:\VAIO\Dok\Test

due to this i assumed that "rclone copy" also could backup to other than device "Jotta"

But your answer then gives me the answers I needed, thanks

M

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.