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  NetBackup System default shared folder 2022/05/07 16:17:03  synData 4TB Raid5 2022/05/07 16:17:03  synScratch 2022/05/07 16:17:03  home ~ 2022/05/07 16:17:41  NetBackup System default shared folder 2022/05/07 16:17:41  synData 4TB Raid5 2022/05/07 16:17:41  synScratch 2022/05/07 16:17:41  home ~
volume1 seems to be unrecognized if I use it in the path:
: and / don't seem to mix:
"no such file or directory" is also a popular message:
2022/05/07 16:21:57  building file list 2022/05/07 16:21:57  rsync: change_dir "/firstname.lastname@example.org/volume1" failed: No such file or directory (2) 2022/05/07 16:21:57  sent 20 bytes received 12 bytes 64.00 bytes/sec 2022/05/07 16:21:57  total size is 0 speedup is 0.00 2022/05/07 16:21:57  rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
- 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