Using OMV rsync to backup OMV media files to Win10 machine - alternatives?

  • I had been using rsync client on OMV to backup my OMV media files nightly to a Win7 machine. On the Win7 machine, I had installed DeltaCopy server. My OMV client did a push backup to the DeltaCopy server. I recently upgraded the Win7 machine to Win10, and the nightly backups were still working. However, when I changed the disk on the Win10 machine that I wanted backups to go to, my Rsync no longer works. The error seems to indicate that the version of rsync that runs under DeltaCopy is not compatible

    Code
    dying to avoid a --delete-during issue with a pre-3.0.7 receiver:
    rsync error: requested action not supported (code 4) at flist.c(1805) [sender=3.0.9]


    Seems strange to me that it would work fine after the upgrade to Win10, but not once I make a change to where the backup is going to.


    While I'm open to suggestions on how to fix, I'm also wondering if there might be another way to backup my files to the Win10 machine. Rsync was nice because it only updated the incremental changes to the file directory, and was quite fast backing up over the network. But if there is a different way, I'm open to that too.

  • I'm beginning to suspect the issue may be related to permissions under Win10. Googling around a bit it seems Win10 has changed the way permissions work. Will do some more testing.


    Still happy to hear if there are alternative suggestions for backing up though!

  • Interestingly, I was able to successfully run an rsync from the commandline. Options I used were -av and --delete. I first did a dry run, and the output showed a lot of files to be deleted which had odd symbols in the names. This must have happened when I copied the contents of my old backup disk to the new backup disk (this was done directly on the Win10 machine).


    Anyway, the manual rsync worked fine. So after running it, I went back into the OMV GUI and tried a dry-run to see if perhaps the odd file names were what was causing the issue. But it still shows a error when I run it from the GUI:

    Code
    me files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]


    (It seems like the output in the GUI chops off some stuff at the front of the message)


    Any ideas??

  • Some new info. I left the sync, which was set up through the OMV GUI, to run last night to see if it might run properly (it is scheduled to run nightly) even though my manual run through the GUI didn't work. I have the rsync options set to email me on completion. I got two emails, and here is the one that gives me the best clue on what is happening:


    rsync: link_stat "/media/96e3e269-579b-4e96-9a94-504d63150eea/Storage/TV" failed: No such file or directory(2)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]


    I notice there is another thread here on the forums about spaces in folder names. That seems like it may be my problem since the folder on OMV that I have set up to rscync is named "TV Shows". From the email, it looks like the rsync job was looking for a folder "TV", rather than "TV Shows" with the space. Like the user in that other thread, I'd rather not rename folders, so I'll try and submit a bug report so that hopefully the plugin can get fixed.


    Still a bit of a mystery to me though why everything was working fine up until I changed the drive on the Win10 box where the backup was going.

  • This is kind of fun having a forum conversation with myself!! Hopefully this self-thread will be of assistance to others.


    I've worked around the problem by creating a symlink folder that doesn't have a space in the name to the folder with the space in the name. Changed the folder in the GUI to the new one, and now backup is working properly.

  • I won't leave you on your own :D
    I never heard about DeltaCopy server and as it was something I was looking for I'd like if you can spend some of your time writing a step by step tutorial about how you use it with OMV


    Thanks

  • Quote

    I never heard about DeltaCopy server and as it was something I was looking for I'd like if you can spend some of your time writing a step by step tutorial about how you use it with OMV


    Sure. As I mentioned in my OP, I use a Win10 machine as a backup machine for my OMV servers media files. I have three separate 3TB drives in the Win10 machine that I back up my TV, movies and photos to. DeltaCopy is available from here and is a free rsync software server for Windows. Not sure that it has been updated in a while, and I originally installed it on my Win7 machine about 3 years ago, but it was working fine and seemed to have no issues with my upgrade to Win10 (until I tried to makes some changes to my backups, as noted above).


    DeltaCopy is pretty easy to set up. You download the exe file, and run it. It first asks you if you want to run as a service, which I do so that it is available after reboot. Setting up the directories for the backups is as simple as choosing them through the DeltaCopy GUI - they are called "virtual directories". The website has documentation available that's easy to follow. Then in OMV, through the rsync plugin, I set up the OMV folders I wanted to back up, and choose the Win10 folders as the backup locations (rsync://ip-address/virtual-directory-name-on-Win10). Set up rest of rsync (when backups occur, backup attributes, etc) and enable it. You're done.


    Just be careful with folder names with spaces! :P

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!