Using rsync to copy shared folders in backup directory

  • Hi all,


    I'm trying to configure rsync to backup my data. I configured several shared folders and would like to backup them in one single backup directory. Doing this I'd like to use the WebGUI OMV is offering.


    When using rsync I have to select shared folders to back in another shared folder, which leads to the content of one shared folder is stored in the shared folder for backups.


    The following example shows what I wanna do:


    Folders as is:
    /media/HD1/Photos (shared folder is Photos)
    /media/HD1/Videos (shared folder is Videos)
    /media/HD2/Backup (shared folder is Backup)


    Backup to be:
    /media/HD2/Backup/Photos
    /media/HD2/Backup/Videos


    What rsync does:
    /media/HD2/Backup/<content of shared folders Photos AND videos>


    Hopefully I made clear what my intentions are. Any hint how to reach this using the WebGUI?


    Thanks in advance, best regards
    StarFishes

  • Here the description how I want to backup (I forgot...):


    I want to backup each day in several directories, like:


    /media/HD/Backup/Daily/01/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Daily/02/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Daily/03/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Daily/04/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Daily/05/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Daily/06/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Weekly/01/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Weekly/02/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Weekly/03/Dir01 /Dir02 /DirXX
    /media/HD/Backup/Monthly/00/Dir01 /Dir02 /DirXX


    Thanks for any idea.

  • Hey!


    I think I found a solution. It's called rsnapshot - and it's already a plugin for OMV. I think it explains itself pretty well, but if you have any questions don't hesitate to ask!


    Best regards
    StarFishes

Jetzt mitmachen!

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