RSync on OMV step by step

  • Hi
    I trying to make rsync to work for couple hours but without success.
    My aim is to copy and synchronize folder eg. "Multimedia" from "Media-server" to "Backup-server"
    Both NAS-es are in one ethernet.
    Media-server runs on OMV 0.4.17.
    Backup-server runs on OMV 0.3
    Can somebody who has successfully established similar setup, share this knowledge how to step by step do it.
    regards

  • I also would like to sync a particular folder between two OMV servers and dont really know where to start. does only one server need a rsync server running? Whats a module? I only seem to be able to select a share to backup, and not a particular folder within the share. Help much appreciated.

  • Zitat von "tekkbebe"

    1 post in 1 year and that is all you can come up with eric. :lol: :lol: :lol:


    yes I do not ask help for any little problems.
    try everything to solf by myself.
    till now i did well.
    just only saw no one answer to this post.
    that is strange then you better close this post.
    :lol: :lol: :lol: :lol:

  • I have built two NAS servers they are of the same hardware built
    and they have worked well in the last year.
    I have built two for safety so that if one fails I'm do not lose all photo,s.
    these are mainly pictures, photos of deceased family.
    but now it has become bigger with another photo, s 1 Tb of maps wih picture,s
    now I want to sync between this two nas within the network.
    Its runs on openmediavault 0.4.26 Fedaykin.
    sorry for my bad english.
    and yes Rsync is not that simple that why
    step by step would be nice.
    with best regards Eric.

    • Offizieller Beitrag

    Here is my setup.


    System #1 - important files stored here - OMV 0.5
    System #2 - backup of important files - OMV 0.5 - ip address 192.168.1.17


    On system #2, go to Services -> Rsync. Check enable and add a module using default settings. We will call this module photos.


    On system #1, go to System -> Cron Jobs. Add a cron job to run at whatever time is good for you and use the following command:


    Code
    rsync -avr /home/aaron/photos rsync://192.168.1.17/photos


    Simple :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • okay, but I have in every server two harddisk.
    and de photos map is not in the home map.
    it is on /dev/sdb1 (in WinSCP the path is /media/bf298cc9-2bf5-4ac4-a9a0-46939a03446e/photos
    so that's not so simple after all.
    I'm one step closer now i no that it has to do with cron job.
    but thanks for your help

    • Offizieller Beitrag

    It should be easy to modify what I posted but show me the exact paths you want to back up.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • master server ip 192.168.178.40 path is /dev/sda1/ fotobestanden (last word is Dutch for photo folder)
    for backup i have one server on ip 192.168.178.37 path is /dev/sdb1/fotobestanden



    it says name:fotos volume: terabytertwo path : fotobestanden comment : allerlei foto bestanden used : yes
    I hope you're not confused by the dutch name,s.
    thanks in advance.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!