Hi everyone, this is my first OMV server, so be prepared for some major stupidity on my part.
I want to backup everything from a Synology NAS (S) to an OMV (O) server. O will not be online all the time, so I want to configure O to use PULL from S. Because of that, the many tutorials online which deal with S and Hyperbackup (or similar) do not apply. Here's what I have done:
- activate rsync on S
- activate rsync user on S
- activate ssh on S
- verify ssh works (conect from O to S with user and password)
- activate rsync server on O
- create rsync job on O (remote, pull, rsync://synologyUsername@synologyIP/volume1/synData)
I am not sure if the path (/volume1/synData) is correct, but that is what I get when I ssh into S and look for my data. I tried to vary that source parameter a bit (/*, :volume1/synData, ...), however I either don't get a conection or the sync finishes in less than a second with no files transferred. For example:
with no path, no files transferred:
2022/05/07 16:17:03 [15252] NetBackup System default shared folder
2022/05/07 16:17:03 [15252] synData 4TB Raid5
2022/05/07 16:17:03 [15252] synScratch
2022/05/07 16:17:03 [15252] home ~
2022/05/07 16:17:41 [15330] NetBackup System default shared folder
2022/05/07 16:17:41 [15330] synData 4TB Raid5
2022/05/07 16:17:41 [15330] synScratch
2022/05/07 16:17:41 [15330] home ~
volume1 seems to be unrecognized if I use it in the path:
2022/05/07 16:19:42 [17058] @ERROR: Unknown module 'volume1'
2022/05/07 16:19:42 [17058] rsync error: error starting client-server protocol (code 5) at main.c(1675) [Receiver=3.1.3]
: and / don't seem to mix:
2022/05/07 16:20:32 [18675] ERROR: The remote path must start with a module name not a /
2022/05/07 16:20:32 [18675] rsync error: error starting client-server protocol (code 5) at main.c(1675) [Receiver=3.1.3]
"no such file or directory" is also a popular message:
2022/05/07 16:21:57 [21894] building file list
2022/05/07 16:21:57 [21894] rsync: change_dir "/broozar@192.168.178.2/volume1" failed: No such file or directory (2)
2022/05/07 16:21:57 [21894] sent 20 bytes received 12 bytes 64.00 bytes/sec
2022/05/07 16:21:57 [21894] total size is 0 speedup is 0.00
2022/05/07 16:21:57 [21894] rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
Questions:
- Can this work? Can O pull from S, or do I have this whole thing conceptually wrong?
- Do I need to prepare O and/or S in another way?
- What's the proper source parameter?
Best regards, Felix