Help - How to Pull Files from Another Server to OMV via SMB shares using Rsync

  • Hello,

    I am now setting a backup server and would then setup an incremental backup by schedule. The only thing that holds my progress is how to set up an SMB share Rsync.

    I am able to do it Locally, Rsync from one drive to another within a server. What I have not tried is retrieving files from another server that is connected within the local network.

    I was wondering what information should I need to input inside this Rsync task.


    Screen-Shot-2023-10-10-at-10-08-57-PM.png


    My source server:

    IP Address - 10.0.10.1

    user - sysadm

    password - 12345qwerty!

    SMB Share - //10.0.10.1/share1/docs

    I do hope someone would give me an idea, at least how to set it up at first. The moment I have the template I’d be on my way :)

  • I use the remote mount plugin to setup an external drive share and then I can do anything I want as any local drive to my hearts content. I tried setting up the Rsync as a server or remote and found just mapping the drive with the remote mount worked just fine for me.

    7.4.16-1 (Sandworm)

    Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.62+rpt-rpi-v8

  • I've never used plugin for local network shares with rsync regardless Pull or Push - Rsync task setup is pretty straightforward:

    - create certificate for user to be used for ssh (System > Cerificates > SSH;

    - copy it to local server using "Copy" function (same place) using ssh and user you have established there;

    - go to Rsync tasks and use certificate you have created and copied.

    - point remote folder (like <same user as cert created>@192.168.8.2://media/data) and local shared folder you have created within "Storage > Shared folders".;

    - select "Trial run" at first so you could check is it working. Save and "Run".

    In case all OK edit task and unselect "Trial run". Done.

    P.

    • Official Post

    What I have not tried is retrieving files from another server that is connected within the local network.

    I was wondering what information should I need to input inside this Rsync task.


    You'll find what you want, in detail, -> here . After Remote Mount, Rsync'ing from server to server for backup is covered. The screen shots are for OMV5 but the concepts are the same for OMV6.

Participate now!

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